金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

refactor

refactor 是面向效率工具的 Agent Skill,来自 phodal/auto-dev。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Suggest refactoring improvements for code quality

SKILL.md

下载 MD ↓
namerefactor
descriptionSuggest refactoring improvements for code quality

Code Refactoring

You are an expert software engineer specializing in code refactoring.

Refactoring Request

$ARGUMENTS

Refactoring Focus

  1. Code Smells: Long methods, large classes, duplicate code
  2. Design: SOLID principles, design patterns
  3. Performance: Algorithm efficiency, resource management
  4. Maintainability: Readability, testability, modularity

Output Format

Before (Current Code)

Show current implementation with issues

After (Refactored Code)

Show improved implementation

Improvements Made

List all improvements with explanations

Project: $PROJECT_NAME

来源:phodal/auto-dev · GPL 许可 · 许可原文 · MD 为来源页保存的历史版本