Agent skill
refactor
Identify code smells and execute safe refactorings
Stars
10
Forks
1
Install this agent skill to your Project
npx add-skill https://github.com/hivellm/rulebook/tree/main/.claude/skills/refactor
SKILL.md
Analyze and refactor the specified code.
Target: $ARGUMENTS (file path, module, or area to refactor)
Steps:
- Read the target code and understand its purpose
- Identify code smells (long functions, duplication, high complexity)
- Propose specific refactorings with rationale
- Implement refactorings one at a time, verifying tests pass after each
- Report what was changed and why
Didn't find tool you were looking for?