From refactor
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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/refactor:refactor [target to refactor. File, function, or pattern][target to refactor. File, function, or pattern]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Refactor `$ARGUMENTS` safely.
Refactor $ARGUMENTS safely.
npx claudepluginhub findexu/finpack-claude --plugin refactorSafely 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 test-first: verifies/writes tests, one structural change at a time, preserves behavior. Use for 'refactor this', 'clean this up', reorganization.
Safe, test-gated refactoring methodology: behavior-preserving transformations (extract, inline, rename, move, simplify, delete) enforced with full test runs before, during, and after each change.