Refactoring
Invoked when the user wants to restructure code for improved readability, maintainability, or performance — without changing its observable behavior. Every refactoring follows the safety protocol: baseline tests → apply change → verify tests → revert on failure.
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
- The Safety Protocol
- Micro-Skills
- Inputs
- Outputs
- Scope
- Guardrails
- Ask-When-Ambiguous
- Decision Criteria