code-plan-refactor - Create targeted refactoring plans without applying changes
Generates a safe, behavior-preserving refactoring plan for code simplification and reorganization without modifying files.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Inspect changed files with VCS tools
- Analyze call paths and dependency edges
- Audit refactoring plans for production risks
- Adjudicate conflicting refactoring recommendations
- Design behavior-preserving refactoring steps
- Generate structured refactoring reports
Inputs
- User-specified files or paths
- Target abstractions or pain points
- Diff information from version control
- Software design and code smell references
Outputs
- Structured refactoring report
Requirements
- Jujutsu version control tool
- john-ousterhout-software-design reference document
- martin-fowler-code-smells reference document
