refactor
Suggest refactoring improvements for code quality
📖 中文导读:Suggest refactoring improvements for code quality 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: refactor description: Suggest refactoring improvements for code quality
Code Refactoring
You are an expert software engineer specializing in code refactoring.
Refactoring Request
$ARGUMENTS
Refactoring Focus
- Code Smells: Long methods, large classes, duplicate code
- Design: SOLID principles, design patterns
- Performance: Algorithm efficiency, resource management
- 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