Audit and validate the quality, completeness, and architectural compliance of any ADR or amendment in docs/adr/. TRIGGER THIS SKILL when user mentions: validate adr, audit adr, check adr quality, verify adr, review adr compliance.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Adr Validate?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/faparicior-adr-validate)
---
name: adr-validate
description: >-
Audit and validate the quality, completeness, and architectural compliance of any ADR or amendment in docs/adr/.
TRIGGER THIS SKILL when user mentions: validate adr, audit adr, check adr quality,
verify adr, review adr compliance.
disable-model-invocation: true
---
# PROTOCOL: ADR-VALIDATE (EXECUTION LEVEL 3)
<state_machine>
CURRENT_STEP -> REQUIRED_TOOL -> REQUIRED_OUTPUT -> MANDATORY_HALT
Step 1: Read Target -> read_file (target ADR + docs/adr/README.md) -> Target ADR content & index state -> Continue to Step 2
Step 2: Audit Rubric -> read_file(templates/TEMPLATE-ADR_VALIDATOR.md) -> 7-criteria 100-pt rubric + 4-veto Quality Gate audit -> Continue to Step 3
Step 3: Score Report -> format using TEMPLATE-ADR_VALIDATOR.md -> Scored report (0–100, Grade A–D, Gate PASS/BLOCKED) -> 🛑 HALT TURN (Present audit)
</state_machine>
<execution_invariants>
1. WORKFLOW IMMUTABILITY: Execute all 3 steps, all 7 rubric criteria, and all 4 Quality Gate vetos in strict order (`workflow structure = immutable | step reasoning = flexible`).
2. TEMPLATE LOCK: You MUST call `read_file` on `templates/TEMPLATE-ADR_VALIDATOR.md` before producing the validation report and preserve its exact rubric sections, `0–100` scoring table, and Quality Gate structure.
3. ESCAPE HATCH: If the situation does not fit the contract, do not silently improvise and do not force-fit: declare the deviation in one line and ask.
</execution_invariants>
<output_contract>
- SOURCE_TEMPLATE: `templates/TEMPLATE-ADR_VALIDATOR.md` (MUST call `read_file` before producing report)
- SCHEMA_INVARIANCE: Preserve all 7 validation criteria sections, the `0–100` Quality Score Summary table (Grades `A–D`), the 4-Veto Quality Gate section, and the Validation Summary verbatim.
- ESCAPE_HATCH: Never silently omit or invent rubric sections. If a section (such as `Batch Validation Summary` when auditing a single ADR) does not apply, preserve the heading and write `"N/A — Single ADR audit"`, or omit only sections explicitly marked `(Multiple ADRs)`.
</output_contract>
---
## 📋 Step-by-Step Workflow
### 1. Identify Target ADR File
Locate the file(s) in `docs/adr/` specified by the user (or prompt for the path if not provided), and read both the target ADR(s) and `docs/adr/README.md` (plus any superseded/amended ADRs to verify bidirectional links).
### 2. Audit Against the 100-Point Rubric & 4-Veto Quality Gate (`templates/TEMPLATE-ADR_VALIDATOR.md`)
Score each criterion by verifiable sub-checks (exact total = **100 pts**):
#### Criteria 1: Metadata & Catalog Integrity (15 pts)
- [ ] **Core Metadata (2 pts):** Valid `Status` (`Proposed`, `Accepted`, `Approved`, `Deprecated`, `Superseded`), `Date` (`YYYY-MM-DD`), `Decision Makers`, and `Supersedes` / `Amended By` fields completed (even if `N/A`).
- [ ] **Template Parity & Numbering (3 pts):** Gapless 3-digit numbering (`0XX`), full heading parity with `TEMPLATE-STRUCTURAL.md` or `TEMPLATE-PROBLEM-DRIVEN.md`, and `## Summary` table agreeing with the body.
- [ ] **Bidirectional Lifecycle Links (5 pts):** `Supersedes` / `Amended By` links exist in **both** directions (on the new ADR and on the superseded/amended ADR) whenever applicable.
- [ ] **Catalog Synchronization (5 pts):** Listed in `docs/adr/README.md` (Quick Reference, Categories, Statistics, and narrative summary) with working relative links.
#### Criteria 2: Context, Drivers & Enforceable Rules / Measurements (20 pts)
- [ ] **Unbiased Context & Problem (4 pts):** Context is clear and value-neutral; problem statement is specific and references real pain points or constraints.
- [ ] **Explicit Decision Drivers (4 pts):** `Decision Drivers` are explicitly stated and actionable.
- [ ] **Verifiable Rules or Measured Evidence (12 pts):**
- *Structural ADR:* Every rule in `### Enforceable Rules` names an accurate, real verifier (matching actual repo tooling scope), or is marked `— manual review` with a concrete reason.
- *Problem-driven ADR:* `### Measurements` cites source, period, and date for every figure, and figures quoted elsewhere (Summary, comparison table) match it.
#### Criteria 3: Options & Trade-offs (15 pts)
- [ ] **Viable Alternatives (5 pts):** At least 2–3 realistic alternatives considered with zero strawman options.
- [ ] **Balanced Pros & Cons (5 pts):** Each option has explicit `Good, because...` and `Bad, because...` bullets matching `## Considered Options` in name and order.
- [ ] **Driver Comparison & Trade-offs (5 pts):** `### Comparison at a Glance` compares options against stated decision drivers and effort, with trade-offs explicitly discussed.
#### Criteria 4: Decision Outcome & Justification (15 pts)
- [ ] **Clear Choice (5 pts):** Chosen option is explicitly identified.
- [ ] **Driver-Backed Rationale (6 pts):** Logical, evidence-based rationale directly citing the stated decision drivers.
- [ ] **Constraint Alignment (4 pts):** Confirms alignment with project constraints (cost, timeline, architecture boundaries).
#### Criteria 5: Consequences & Risks (10 pts)
- [ ] **Positive & Negative Consequences (4 pts):** Both positive and negative outcomes explicitly listed, specific, and considering long-term implications.
- [ ] **Actionable Risk Register (6 pts):** Risks table documents concrete impact and actionable mitigations (or explicit accepted risks).
#### Criteria 6: Traceability & References (5 pts)
- [ ] **Internal Traceability (3 pts):** Working links to inception/product docs, business requirements, and related ADRs.
- [ ] **External References (2 pts):** Direct citations to official documentation, standards, or benchmarks used.
#### Criteria 7: AI & Agentic Ergonomics (AX) [Mandatory] (20 pts)
- [ ] **Corpus Alignment (5 pts):** `LLM Corpus Alignment` states an estimated training-corpus match (`High >80%` / `Medium 30-80%` / `Atypical/Exotic <30%`).
- [ ] **Bias → Guardrail Pairing (10 pts):** `Expected Agent Bias | Automated Guardrail` table pairs each expected deviation with a named automated countermeasure; any `—` row is explicitly justified as an accepted manual-review risk.
- [ ] **Guardrail Tax (5 pts):** `Supervision & Guardrail Tax` (`Low`, `Low-Medium`, `Medium`, `High`) is honestly assessed.
---
### 3. Evaluate the 4-Veto Quality Gate & Assign Final Rating
Separating the **Quality Score (`0–100`)** from the **Quality Gate (`PASS / CONDITIONAL / BLOCKED`)** prevents a high average from masking a critical defect.
**Hard Vetos (any single veto triggers `❌ BLOCKED` regardless of numeric score):**
- **V1 — AX Veto:** Missing `🤖 AI & Agentic Ergonomics (AX)` section, or an unmitigated `Expected Agent Bias` row with no guardrail and no manual-review justification.
- **V2 — Rules / Measurements Veto:** A Structural ADR contains a false/inaccurate verifier or unverified rule in `### Enforceable Rules`, or a Problem-driven ADR lacks sourced `### Measurements`.
- **V3 — Catalog Integrity Veto:** Contradicts or supersedes an active ADR without bidirectional links (`Supersedes` / `Superseded By`) or is missing from `docs/adr/README.md`.
- **V4 — Options Veto:** Fewer than 2 viable alternatives or presence of strawman options.
**Grade Scale (Score out of `100`):**
- **A (`90–100`):** Production-grade ADR
- **B (`75–89`):** Solid ADR with minor polish opportunities
- **C (`60–74`):** Needs targeted revisions
- **D (`<60`):** Incomplete or structurally weak
**Final Gate Verdict:**
- **✅ PASS (`Accept`):** `0 Vetos` AND Score `≥ 85` (or `75–84` with only optional enhancements).
- **⚠️ CONDITIONAL (`Accept with Revisions`):** `0 Vetos` AND Score `60–84` with concrete action items.
- **❌ BLOCKED (`Revise / Reject`):** `≥ 1 Veto` OR Score `< 60`. Block adoption until remediated.
---
<self_validation_gate>
Before ending your turn, verify every item below with concrete evidence (not just a checkmark). If any item cannot be cited with real evidence from this turn, DO NOT produce your final response — fix the violation first:
- [ ] **Target Read Evidence:** Exact target ADR path(s) and `docs/adr/README.md` read via `read_file`: `<paths>`
- [ ] **Template Read Evidence:** Exact path passed to `read_file` (`templates/TEMPLATE-ADR_VALIDATOR.md`): `<path>`
- [ ] **Rubric & Gate Evidence:** All 7 criteria scored (`[X]/100`, Grade `[A/B/C/D]`) AND all 4 Quality Gate vetos evaluated (`PASS` / `CONDITIONAL` / `BLOCKED`): `<scores & gate>`
</self_validation_gate>