refactoring

Installation
SKILL.md

Refactoring Skill

Improve code structure and quality while preserving behavior.

Core Principle

Tests are your safety net. Never refactor without tests.

The Refactoring Cycle

  1. Ensure tests exist and pass
  2. Make ONE small change
  3. Run tests (must still pass)
  4. Commit (keep changes isolated)
  5. Repeat

Each step must be reversible. If tests fail, revert and try smaller change.

Pre-Refactoring Checklist

Installs
17
GitHub Stars
166
First Seen
Jan 22, 2026
refactoring — thebushidocollective/han