Help us improve
Share bugs, ideas, or general feedback.
From SCALE Engine
Guides safe code refactoring with test-first steps, common refactor patterns, and anti-patterns to avoid.
npx claudepluginhub hongmaple0820/scale-engineHow this skill is triggered — by the user, by Claude, or both
Slash command
/SCALE Engine:refactoringThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Improve structure without changing behavior.
Safely refactors code with test coverage: writes tests first if absent, plans changes, applies small testable steps, verifies tests/lint/typecheck pass without behavior changes.
Safely refactors code using tests as safety net. Identifies code smells like long functions, duplication, poor names; applies small verifiable changes without altering observable behavior.
Enforces rigid pre-refactor checklist: read existing code, verify covering tests pass, state goal clearly, validate non-ego motivation, plan smallest first step. Use before restructures, renames, or cleanups.
Share bugs, ideas, or general feedback.
Improve structure without changing behavior.