Loading...
Loading...
Safely refactor code to improve structure, clarity, or testability without changing intended behavior. Use when the user says "refactor it", asks to clean up a module, extract helpers, reduce duplication, or prepare code for a feature — not for product behavior changes (use fix-it) or pure test adds (use test-it). Prefer small steps with tests green between steps.
npx skill4agent add decisionnerd/dev-skills refactor-itfix-ithandbook/concepts/12-bugs-and-debt.mdhandbook/concepts/14-operating-contract.mdNext:AskUserQuestionrequest_user_inputWorkflowCLAUDE_CODE_SUBAGENT_MODELagents.default_subagent_modelagents.<name>.config_filemodel:haikusonnetopusfableAgentmodelmodel:modelmodel:inherit.cursor/agents/*.mdTASKS.mdBlocked on meChangedFoundNext: <exact invoke>diagnose-bugfix-ittidy-updocument-itkisstest-ittest-itdocument-itpulls createmerge-itfix-itpulls narrow**Target**
- ...
**Behavior locked by**
- tests / manual checks: ...
**Steps taken**
1. ...
**Verification**
- Ran: ...
## Blocked on me
none
## Changed
- ...
## Found
- ...
- Next: test-it / document-it / pulls createsources.mdhandbook/practices/refactor-it.md