Spec Refactor

Stage 6 of 6 in the spec chain. Improve the structure of code that already works, without changing what it does. Use when someone asks to refactor or clean up, says the code is messy, tangled, duplicated or hard to change, reports that a feature is "harder to add than it should be", wants dead code or unused imports removed, mentions a god object, a long function, or a file everyone is afraid of — or when a milestone has just shipped and the next one touches the same area. Writes a numbered report under docs/refactorings/ and changes no code by itself. A change that requires editing an acceptance criterion is not a refactoring; it is a change proposal for spec-architect.

DahanItamar a0dee8f 5 files · 40.5 KB Updated

File contents

DahanItamar/spec-architect/tree/main/skills/spec-refactor commit a0dee8fdf3

Frequently asked questions

npx skillmds@latest add dahanitamar/spec-refactor