refactoring
✓Use when restructuring code to improve quality without changing external behavior. Emphasizes safety through tests and incremental changes.
Installation
SKILL.md
Each step must be reversible. If tests fail, revert and try smaller change.
Benefits: Each function has single responsibility, easier to test, easier to understand
When to inline: Abstraction doesn't add value, makes code harder to follow
Use when restructuring code to improve quality without changing external behavior. Emphasizes safety through tests and incremental changes. Source: thebushidocollective/han.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/thebushidocollective/han --skill refactoring- Source
- thebushidocollective/han
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is refactoring?
Use when restructuring code to improve quality without changing external behavior. Emphasizes safety through tests and incremental changes. Source: thebushidocollective/han.
How do I install refactoring?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/thebushidocollective/han --skill refactoring Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/thebushidocollective/han
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01