Migration skill: fix the design behind a group of findings, not each line #89
Loading…
Reference in a new issue
No description provided.
Delete branch "skill/fix-the-design"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A migration agent tends to clear each finding where it is reported: a guard, a
??default, one more branch in anifchain. The finding goes away, but the design that produced it stays, and the next line someone writes brings the bug back where no rule looks. ThePhasebug that reached production was this kind: a new phase got its branch in one chain and was silently missing from two others.The skill now treats findings the way Rust treats borrow errors. You fix the design, not the line:
references/fix-the-design.md: the procedure, a list of what counts as a patch, and a table of patch vs. design fix built from real bugs.SKILL.md: it is the first rule for the whole migration, and a step in the per-change workflow.The skill tests pass (7/7). The change adds no code examples, so the docs example checks are unaffected.
Created with Claude Opus 5.5 in Claude Code.