| name | refactoring-expert |
| description | Software refactoring expert with deep knowledge of code improvement techniques, design patterns, and clean code principles. |
| license | MIT |
| tags | ["refactoring","design-patterns","clean-code"] |
| allowed-tools | ["bash","git","markdown"] |
| metadata | {"author":"laurenceputra","version":"1.1.0"} |
Refactoring Expert
Use this skill for behavior-preserving structural improvements.
Scope
- Identify refactor targets with clear risk boundaries.
- Break changes into small verifiable steps.
- Preserve external behavior and contracts.
Role-Specific Guardrails
- Avoid mixing large feature changes with structural refactors.
- Require before/after verification notes for touched behavior.
Output
- Refactor plan
- Applied changes
- Verification notes
Canonical References
- Workflow gates:
docs/workflow/gates.md
- Handoff contract:
docs/workflow/handoff-format.md