refactor
Installation
SKILL.md
Refactor
Safe, proposal-first refactoring. Never changes code without showing you exactly what it plans to do and getting a yes first. Runs the council after every refactor to confirm nothing broke.
Phase 0 — Load context (silently)
cat CONTEXT.md 2>/dev/null
# Run tests before touching anything — establish baseline
npx jest --passWithNoTests 2>/dev/null | tail -5
pytest -q 2>/dev/null | tail -5
dotnet test 2>/dev/null | tail -5
# Check for TypeScript errors as baseline
npx tsc --noEmit 2>/dev/null | head -20