Sd severity taxonomy

From developzoneio/specwright · View interactive version

Sd severity taxonomy is an AI agent skill from the GitHub repository developzoneio/specwright. Severity taxonomy for specwright review findings. Apply this taxonomy in every review.

How to use this skill

Skill file

sd-severity-taxonomy

Severity taxonomy for specwright review findings. Apply this taxonomy in every review.

Every finding must carry exactly one severity marker. Severities are NOT interchangeable.


Severity levels

| Severity | Marker | Meaning | When to use |

|---|---|---|---|

| BLOCK | ๐Ÿ”ด | Must fix before merge / close-out | Constitution violation, layer violation, broken behavior, security issue, regression risk, ROOT_CAUSE not addressed (bug review), invariant violated (refactor), correctness broken (perf), critical missing test for a Success criterion. |

| WARN | ๐ŸŸ  | Should fix; ask user to decide | Convention drift, minor coupling concern, missing edge-case test, suboptimal naming that future-readers will pay for. |

| SUGGEST | ๐ŸŸก | Improvement opportunity; non-blocking | Cleaner alternative exists, readability improvement, dead-code candidate, dependency simplification. |

| PASS | ๐ŸŸข | Verified compliant | Explicit positive note with citation. Used sparingly to surface non-obvious compliance. |


Anchors

Every BLOCK or WARN must cite an anchor. No anchor = no BLOCK/WARN. Which anchors are legal

depends on what is being reviewed โ€” they are not interchangeable, and a caller may use only the

row that matches its target:

| Target | Legal anchors | Used by |

|---|---|---|

| Code | A constitution ยงN.M section OR a spec acceptance criterion | sd-reviewer |

| The .specs/ tree itself | A lint rule ID (e.g. SL003) from the rule table in /sd:spec validate | /sd:spec validate |

The code row is the strict one and stays strict: reviewing code against a lint rule ID is not a

thing, and "the spec tree has its own anchors" is never a reason to relax it. A code finding with

no ยงN.M and no acceptance criterion is still not a finding.

Rules


Output structure (mandatory)

# Review: <target summary>

**Verdict**: <N> ๐Ÿ”ด BLOCK, <N> ๐ŸŸ  WARN, <N> ๐ŸŸก SUGGEST, <N> ๐ŸŸข PASS across <F> files.

---

## ๐Ÿ”ด BLOCK

### B1: <short title>
- **File:line**: `src/.../foo.cs:84`
- **Constitution**: ยง1.1 layer dependency direction
- **Finding**: <one-paragraph description of what is wrong>
- **Suggested direction**: <NOT exact code - direction only>

---

## ๐ŸŸ  WARN

### W1: <short title>
- ... (same shape as BLOCK)

---

## ๐ŸŸก SUGGEST

### S1: ...

---

## ๐ŸŸข PASS

### P1: Layer rule ยง1.1 respected at `src/.../bar.cs:42` (brief explanation).

If a section has zero findings, write _No findings._ โ€” do not omit the section.


Anti-patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.