refactor-code
Installation
SKILL.md
Refactor Code
Purpose
Improve code structure and readability
Routing
- Use when: Use when user asks to improve maintainability, readability, modularity, or error handling in code.
- Do not use when: Don't use for behavior-only fixes where refactor risk is unnecessary.
- Outputs: Refactor changes, rationale, and minimal review checklist for behavior-sensitive sections.
- Success criteria: Preserves behavior while improving structure and readability.