← LeaderboardThe Skill Leaderboard
refactoring-plan
Plan a safe, incremental refactor of messy code without changing behavior. Use when code needs restructuring, is hard to change, has grown tangled, or you want to clean it up before adding a feature. Produces a sequenced plan of small behavior-preserving steps, the safety net (tests/characterization) to add first, and the target structure — refactoring as a series of green commits, not a risky big-bang rewrite.
Published by mohitagw15856 ↗mohitagw15856/pm-claude-skillsTry your first task
refactoring-plan
Start a fresh conversation. Replace the highlighted placeholders.
Use refactoring-plan to produce a safe, incremental, behavior-preserving refactoring plan for [code and current pain], using [existing tests and framework] and [target structure and constraints]; establish characterization tests first where coverage is thin and keep every step green and independently committable.
Required inputs
- [code and current pain]
- [existing tests and framework]
- [target structure and constraints]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗