/skraft:adr-eligibility-gatefrom skraft
Evaluates whether a candidate architectural choice warrants an Architecture Decision Record (ADR) by running a baseline-vs-decision gate. Useful during design phase or when reviewers flag ADR inflation.
Ships in skraft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill operationalizes the "When NOT to write an ADR" section of the
architecture-decisions skill as a pre-draft gate. Load it when considering
whether a candidate architectural choice warrants an ADR, before writing any
ADR body.
Core question: Does this choice ratify a genuine open question with real trade-offs, or does it re-declare project baseline / existing skill-enforced convention?
When to activate:
ADR-INFLATION (multiple ADRs for a story where 0-1 expected)For each candidate choice, answer these questions in order. The FIRST YES
determines the verdict.
Examples of baseline (NOT ADR-worthy):
clean-architecture-* skill and architecture testsclean-architecture-* skillIf YES → NOT ELIGIBLE — <cite skill or ADR that already enforces this>
Examples:
Good practices and antipattern avoidance are baseline expectations, not architectural decisions.
If YES → NOT ELIGIBLE — baseline good practice / antipattern avoidance
Exception: If the choice is framed as a context-mapping relationship (e.g., "config as Published Language, guard as Conformist") rather than just "no hardcoding", proceed to Q3.
Load architecture-patterns skill. Check whether the choice is one of:
If NO → NOT ELIGIBLE — no complexity addition beyond baseline
If YES → proceed to Q4.
Silence = baseline default. ADRs (whether Accepted or Rejected) ratify
questions that were actually asked. A Rejected ADR is legitimate ONLY when
a story or measurable force in the batch raised the question.
Check:
If NO → NOT ELIGIBLE — unraised question; non-decision artefact (G14)
If YES → proceed to Q5.
Every ADR must demonstrate trade-off analysis. If the choice has only benefits and no downsides, it is not a decision — it is a no-brainer that should be baseline.
Check the 5 Universal Forces (from architecture-decisions skill):
If the choice scores high on ALL five → NOT ELIGIBLE — no genuine trade-offs; should be baseline
If the choice creates tension between at least two forces → ELIGIBLE — genuine trade-off
For each candidate:
Candidate: <short description>
Verdict: ELIGIBLE | NOT ELIGIBLE
Reason: <1-line citation to Q1-Q5 + skill/ADR section>
Example (US3 candidates):
Candidate: Pure domain service with no IO
Verdict: NOT ELIGIBLE
Reason: Q1 YES — Clean Architecture layering enforces purity
Candidate: Fail-closed posture for dispatch gate
Verdict: ELIGIBLE
Reason: Q1 NO, Q2 NO, Q3 YES (cross-cutting error strategy), Q4 YES (AC-04), Q5 YES (over-blocking vs silent drift)
Candidate: VO + validation at boundary
Verdict: NOT ELIGIBLE
Reason: Q1 YES — Clean Architecture layering + tactical DDD enforce this
Candidate: No hardcoded phase names
Verdict: NOT ELIGIBLE (as framed)
Reason: Q2 YES — "no hardcoding" is a good practice, not a decision
Candidate (reframed): Config as Published Language, guard as Conformist
Verdict: ELIGIBLE
Reason: Q2 NO (context-mapping), Q3 YES (Published Language adoption), Q4 YES (event model), Q5 YES (coupling vs drift)
architecture-decisions SkillThis gate does NOT replace architecture-decisions — it precedes it:
Load order:
adr-eligibility-gate → verdict per candidateELIGIBLE → load architecture-decisions for template + lifecycle| Anti-pattern | Description | Gate catches it via |
|---|---|---|
| ADR-INFLATION | Multiple ADRs for baseline re-declarations | Q1 |
| NON-DECISION | ADR for a choice with no alternatives | Q5 |
| BASELINE DRIFT | Project baseline not reflected in ADR filters | Q1 + Q3 |
| UNRAISED QUESTION | ADR for a question nobody asked (G14) | Q4 |
| GOOD-PRACTICE ADR | ADR for "avoid X" or "always Y" framing | Q2 |
Run this gate on existing ADRs to verify calibration:
| ADR | Expected Verdict | Actual Q-path |
|---|---|---|
| ADR-001 (Result type) | ELIGIBLE | Q1 NO, Q3 YES, Q4 YES (#47), Q5 YES |
| ADR-002 (Layering) | ELIGIBLE | Q1 NO (first in project), Q3 YES, Q4 YES (#47), Q5 YES |
| ADR-003 (Config cascade) | ELIGIBLE | Q1 NO, Q3 YES, Q4 YES (#47), Q5 YES |
| ADR-004 (pure service, US3) | NOT ELIGIBLE | Q1 YES — ADR-002 baseline |
| ADR-005 (fail-closed, US3) | ELIGIBLE | Q1 NO, Q3 YES (cross-cutting), Q4 YES, Q5 YES |
| ADR-006 (VO + validation, US3) | NOT ELIGIBLE | Q1 YES — layering + DDD baseline |
| ADR-007 (no hardcoding, US3) | NOT ELIGIBLE (as framed) / ELIGIBLE (reframed) | Q2 YES (good practice) / Q3 YES (Published Language) |
If the gate yields unexpected verdicts on ADR-001..003, recalibrate Q1/Q3.
architecture-decisions skill (cites "When NOT to write an ADR")architecture-patterns skill (cites baseline patterns for Q3)Candidate: "pure domain service with no IO"
Expected: NOT ELIGIBLE — Clean Architecture layering baseline
Candidate: "fail-closed posture for a security gate"
Expected: ELIGIBLE — Q3 YES (cross-cutting concern), Q5 YES
Candidate: "no hardcoded phase names"
Expected: NOT ELIGIBLE — Q2 YES (good practice)
Should-trigger (8):
Should-not-trigger (8):
architecture-decisionsarchitecture-decisionsarchitecture-patternsarchitecture-patternsarchitecture-decisionsarchitecture-decisions lifecyclev1.0 — 2026-06-28 — Initial release (genesis output, US3 case study)
What SKILL.md sets; muted values are Claude Code's defaults
44 skills in this plugin
/acceptance-review-criteriaUse when reviewing DISTILL artefacts (Gherkin scenarios, test plans, implementation plans) for quality, completeness, and alignment. Contains the gate definitions and scoring rubric for the acceptance-designer-reviewer lenses./adversarial-review-lensesUse when reviewing a phase artifact — a discovery brief, a plan, a design, an acceptance specification, or a slice reported as delivered — and the review has to end in a defensible pass-or-block verdict rather than a list of remarks. Covers judging whether the artifact covers everything that fed into it, whether it matches the business intent, whether it holds together internally, and what it puts at risk downstream, then weighing those into a single call. Not for routine code review of an ordinary change./architecture-decisionsnpx claudepluginhub sebastiendegodez/skraft-plugin --plugin skraftOther plugins' skills for the same job