Refactor

Improve the internal structure of the code without changing what the product does. Use in the release phase (run first by release-product, before the audits) or standalone whenever a part of the codebase has become hard to work with. It measures the rot a per-commit gate cannot see across the whole tree (duplication, oversized files, dead code, suppression debt) and turns the top of that list into behaviour-preserving transformations, one at a time with the full gate after each. Tests are the safety net: it refuses to work on a red suite, and a step that turns a test red is reverted rather than the test adjusted. It adds no features and fixes no bugs. Writes .dev-skills/release/refactor.md.

a-v-ershov 5d39493 12.5 KB Updated

File contents

a-v-ershov/buildloop/tree/main/skills/refactor commit 5d3949364f

Frequently asked questions

npx skillmds@latest add a-v-ershov/refactor