This is a structured three-phase refactoring workflow that forces you to scan for issues, design a plan, and apply changes one step at a time with human checkpoints between each. It exists because AI tends to either miss equivalence constraints or blow past context limits when refactoring. The scan phase runs seven preflight checks to route you elsewhere if you're actually fixing a bug or adding features, then produces a checklist of concrete problems mapped to a built-in methods library covering parallel change, strangler fig, and the usual extract-method stuff. Each apply step blocks until you confirm it worked, either through tests or by clicking through the UI. There's a fastforward mode for single-function tweaks, but the main path assumes you don't trust the AI to rewrite three files at once without supervision.
npx skills add https://github.com/liuzhengdongfortest/codestable --skill cs-refactor