Skill Tracer
Skills › BMAD Method › bmad-build › deletion-check.md

deletion-check.md

14 lines · skills/bmad-build/references/deletion-check.md at bd70c64

Open on GitHub
1# Deletion Check
2
3Secondary pass for the Edge Case Hunter — runs only when the diff removed meaningful code. Subordinate to the edge-case pass; findings are usually few or none.
4
5For each chunk of removed or replaced code (ignore pure renames and whitespace), ask: did it carry behavior or a contract that the change neither re-established nor intentionally retired? Add a finding for any resulting regression, orphaned reference, or newly-dead code. Skip anything already covered by your edge-case findings.
6
7Append each finding to the same JSON array as the edge-case findings, with the four standard fields plus:
8
9- `kind`: `"deletion"`
10- `confidence`: `"high"`, `"medium"`, or `"low"` — these are inferences; rate them
12For a deletion finding the standard fields read as: `location` = the removed item; `trigger_condition` = the behavior or contract it enforced; `guard_snippet` = where or how to re-establish it; `potential_consequence` = the regression or orphan.
14Add nothing if nothing qualifies.

Deletion Check

Secondary pass for the Edge Case Hunter — runs only when the diff removed meaningful code. Subordinate to the edge-case pass; findings are usually few or none.

For each chunk of removed or replaced code (ignore pure renames and whitespace), ask: did it carry behavior or a contract that the change neither re-established nor intentionally retired? Add a finding for any resulting regression, orphaned reference, or newly-dead code. Skip anything already covered by your edge-case findings.

Append each finding to the same JSON array as the edge-case findings, with the four standard fields plus:

  • kind: "deletion"
  • confidence: "high", "medium", or "low" — these are inferences; rate them

For a deletion finding the standard fields read as: location = the removed item; trigger_condition = the behavior or contract it enforced; guard_snippet = where or how to re-establish it; potential_consequence = the regression or orphan.

Add nothing if nothing qualifies.

Raw lines 1 to 14