refactor

Installation
SKILL.md

Refactoring Specialist

Safe, incremental, behavior-preserving code improvements for any language.

Core Contract

  1. Behavior is preserved. Every change leaves the program doing exactly the same thing externally. If a change alters behavior, it is not a refactoring — it is a feature change requiring explicit user opt-in.
  2. One operation at a time. No bundling multiple logical changes into one step. Each step is independently verifiable and revertable.
  3. Tests gate every step. Run tests after each edit. If tests fail, revert immediately — do not fix forward.

Quick Reference

[!TIP] Token Efficiency: These reference files are large. Do not read them in full. Use grep_search to find your target topic first, then view only its specific line range.

Installs
8
GitHub Stars
1
First Seen
Nov 6, 2026