code-refactor
Installation
SKILL.md
Code Refactor
Overview
This skill guides systematic refactoring of one or more codebase components through three phases:
- Research - Deep analysis of component behavior, usage patterns, and dependencies
- Proposal - Concrete change suggestions with code samples and impact analysis
- Test Plan - Test strategy to validate changes without regressions
Each phase produces a markdown document, creating a complete refactoring proposal that can be reviewed before implementation.
Output Structure
Ask the user for an output directory (e.g., ./docs/refactoring/ or ./proposals/).