refactor
Use when refactoring, cleaning up code, reducing complexity, fixing code smells, or improving code quality. Audits code for dead code, nesting, and patterns.
- License
- MIT
- Compatibility
- Any language; general + design rules always apply, the TS/JS idiom rules apply only to TS/JS files
Pinned to revision a7812b928cd3, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Read
- Glob
- Grep
- Edit
Files
- skills/refactor/SKILL.md
- skills/refactor/rules/design-principles.md
- skills/refactor/rules/general-patterns.md
- skills/refactor/rules/ts-idioms.md
Every link opens the file at its source, pinned to the revision this page describes.