Loading...
Loading...
Apply systematic code refactoring with small steps, clear boundaries, and proven techniques. Use when improving existing code, reducing technical debt, cleaning up legacy code, or when user mentions refactoring, code cleanup, or code improvement.
npx skill4agent add iamkhan21/skills refactoring| Level | File | Techniques |
|---|---|---|
| Setup | 04-low-hanging-fruit.md | Formatting, linting, language/API features |
| Code | 05-names.md | Naming problems & solutions |
| Code | 06-duplication.md | DRY, extraction techniques |
| Code | 07-conditions.md | Guard clauses, complexity reduction |
| Code | 08-functional-pipeline.md | Composition, data flow |
| Design | 09-abstraction.md | Abstraction levels, leak prevention |
| Design | 10-side-effects.md | Isolation, CQS |
| Design | 11-error-handling.md | Error types, strategies |
| Design | 12-generics.md | Generics, composition |
| Architecture | 13-module-integration.md | Coupling, cohesion |
| Architecture | 14-architecture.md | Layers, dependencies |
| Architecture | 15-declarative-style.md | Declarative patterns |
| Architecture | 16-static-typing.md | Type design |
| Support | 17-test-code.md | Refactoring tests |
| Support | 18-comments-docs.md | Documentation |