Refactoring Workflow — Master Workflow
Invoked when the user asks to refactor with a stated depth — "tidy up this file" (cosmetic), "extract this method" (micro), "rationalise this module" (meso), or "rethink this subsystem" (architectural). Freezes the canonical refactoring shape so the agent never silently jumps from cosmetic to architectural, and never silently changes behaviour.
Read the full skill on GitHub. The site shows the first section; the canonical full content with all principles, examples, and rules lives in the repo.
View full SKILL.md on GitHub ›What the full skill covers
- Scope
- Level definitions
- Micro-Skills (orchestration steps)
- Inputs
- Outputs
- Guardrails
- Decision Criteria
- Success Criteria