adr-critique
БесплатноБез исполняемых скриптовНе проверенThis skill should be used to audit an existing or legacy ADR, especially one imported, LLM-generated, stale, or never self-critiqued. PROACTIVELY activate on…
от JosiahSiegel★ 67 звёзд на GitHubОб этом скилле
adr-critique
Line-by-line auditor for legacy / external / pre-existing ADRs. Surfaces violations of the shared "ADR is not" rules, missing-why reasoning, inconsistency with neighbors, and drift against LikeC4 models. Touches only architect-approved lines.
When to use this skill
- ADRs that predate
adr-drafting(legacy corpus) - ADRs imported from other teams
- ADRs generated by generic LLM tooling without push-back
- Periodic corpus-wide quality sweeps
When NOT to use this skill
- ADRs already self-critiqued by
adr-drafting(Phase 6) — they've been through the filter. - ADRs you want to rewrite from scratch — use
adr-draftinginstead and supersede the original.
Style rules
- Quote offending lines verbatim. Never paraphrase what the ADR says. The architect must see the exact text being criticized.
- Name the specific rule broken. Reference the section of
../_shared/adr-is-not.md(e.g., "Rule 5 — generic best-practice citation"). - Rewrites must be shorter than originals. If a rewrite is longer, it's a redraft, not a critique — route to
adr-drafting. - One flag per message. Never bulk-list violations. Require per-line architect approval.
- No affirmations. No "Great ADR overall, just a few nits." No "This is a solid decision." The audit either finds problems or it doesn't.
Vocabulary
- Component — a C4 Container (deployable unit), not a code class.
- Architectural characteristic — the non-functional quality being optimized (latency, cost, maintainability, etc.).
- Tension — two ADRs conflict without one superseding the other; must be acknowledged.
- Missing-why — the Decision section's justification leans on "best practice" or "industry standard" instead of mapping a business concern to an architectural characteristic.
- Drift — the ADR and the LikeC4 model disagree on which components exist or how they relate.
The six phases
Phase 1 — Read
Load the target ADR. Then glob its neighbors via supersedes, amends, and relates-to links and read each. The audit needs the graph context.
If the ADR cites a LikeC4 file, glob **/*.c4 and read the referenced model.
Phase 2 — Line-by-line flagging
Walk the ADR top to bottom. For every line that violates a rule, emit one flag using this template:
Original: <verbatim line from ADR>
Violates: <rule number and name from adr-is-not.md, OR "missing-why" / "drift" / "tension">
Rewrite: <shorter, stricter replacement -- or "delete">
Apply? (yes / no / adjust)
Wait for the architect's reply. Only after they answer do you move to the next flag.
If the architect chooses adjust, accept their rewrite (still subject to the shorter-than-original constraint).
Phase 3 — Missing-why check
Focus on the Decision section. Valid reasoning ties a business concern to an architectural characteristic. Invalid reasoning includes:
- "This is the industry standard."
- "This is a best practice for microservices."
- "Most teams do it this way."
- "It's the recommended approach."
For each invalid line, flag it with Violates: missing-why. The rewrite either supplies the missing tie ("Because compliance requires data residency in EU, this DB offers per-region replicas") or deletes the line.
See references/audit-checklist.md for the full missing-why interrogation.
Phase 4 — Consistency check
Across the ADR and its graph neighbors, look for:
- Tensions — two ADRs claim incompatible decisions without one superseding the other. Flag both and ask which supersedes.
- Missing relationships (frontmatter) — a later decision claims to replace 0004 but lacks
supersedes: ["0004"]in its frontmatter; related/amended links are not valid YAML lists; or the only evidence of a relationship lives in a body line such asRelated ADRs: [ADR-0004](0004-foo.md)or in the decision-logREADME.mdindex. Gray-matter-style parsers read frontmatter only — body-only links and index links do not produce graph edges for that parser family. Flag every prose-only relationship for promotion into frontmatter (supersedes/amends/relates-to) with zero-padded four-digit string IDs. - Frontmatter / body mirror mismatch — doc-master requires the two sources to agree. Flag each of the following:
- Frontmatter populates
supersedes,amends, orrelates-to, but the body has no## More Informationsection with a### Relationshipssub-section mirroring those relationships using the doc-master link-prefix vocabulary (Supersedes,Superseded by,Amends,Amended by,Related to). These ADRs are invisible to body-scanning parsers (ADR Manager and similar). - The body has a
### Relationshipssection listing ADR-to-ADR links, but the corresponding frontmatter relationship keys are empty or absent. These ADRs are invisible to gray-matter-style parsers (ADR Explorer and similar). - The two sources disagree on the set of relationships (e.g., frontmatter `sup
- Frontmatter populates
Установить adr-critique в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл adr-critique?
This skill should be used to audit an existing or legacy ADR, especially one imported, LLM-generated, stale, or never self-critiqued. PROACTIVELY activate on "review this ADR", "critique this ADR", "audit our decision log", "is this ADR any good?", "fix this old ADR", "rewrite this legacy ADR", "ADR cleanup", "ADR quality sweep", "tighten this ADR", "score these ADRs", or "this ADR is too long." Provides: line-by-line ADR critique, filler/hedging/drift detection, and per-line approval workflow.
Как установить скилл adr-critique?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл adr-critique запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic