Install
~/.claude/skills/refactor/SKILL.mdRun a refactoring session: 1. If $ARGUMENTS specifies files — refactor those files 2. If no arguments — find recently changed files: `git diff --name-only HEAD~5` 3. Launch `refactoring-specialist` agent on the identified files 4. Review suggestions and apply approved changes 5. Run tests after refactoring to verify no behavior change
Definition
Run a refactoring session:
- If $ARGUMENTS specifies files — refactor those files
- If no arguments — find recently changed files:
git diff --name-only HEAD~5 - Launch
refactoring-specialistagent on the identified files - Review suggestions and apply approved changes
- Run tests after refactoring to verify no behavior change