agentleFS
harumiWebharumiWeb/exstruct/.agents/skills/adr-reviewer/SKILL.md

adr-reviewer

Skill200 starsChanged 7 months agoBSD-3-ClauseView on GitHub

Review an ExStruct ADR draft for decision quality, overlap with existing ADRs and specs, evidence strength, rollout risk, and human-ownership escalations. Use only after adr-linter reports no unresolved high/medium findings on the current draft, and when you need design-review findings before merge or handoff.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the ADR draft and identify the single policy question it is trying to resolve.

    line 23
  2. Distinctive:

    Check whether the draft overlaps with, contradicts, or should supersede an existing ADR or spec.

    line 24
  3. Very specific:

    Verify that the cited Tests, Code, and Related specs actually support the claims being made, and include relevant public docs/ pages in …

    line 25
  4. Very specific:

    Do not silently rewrite the ADR text.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ADR Reviewer

Review the policy decision, not just the document shape.

Read

  1. dev-docs/agents/adr-governance.md
  2. dev-docs/agents/adr-criteria.md
  3. dev-docs/agents/adr-workflow.md
  4. dev-docs/specs/adr-review.md
  5. The target ADR draft
  6. Related ADRs, relevant public docs under docs/ when public API / CLI / MCP contracts are in scope, internal specs, tests, src paths, and issue / PR context
  7. Existing adr-linter findings for the current draft

Workflow

  1. Confirm the current draft has no unresolved adr-linter high / medium findings. Only proceed with design review after that precondition is met.
  2. Read the ADR draft and identify the single policy question it is trying to resolve.
  3. Check whether the draft overlaps with, contradicts, or should supersede an existing ADR or spec.
  4. Verify that the cited Tests, Code, and Related specs actually support the claims being made, and include relevant public docs/ pages in scope when the ADR touches public API / CLI / MCP contracts.
  5. Review whether compatibility, rollout, fallback, migration, or safety consequences are covered when relevant.
  6. Detect human-owned decisions that AI should not settle, including public API break judgment, security or license calls, major directory reorganization, or unresolved product/spec direction.
  7. Return one verdict:
    • ready
    • revise
    • escalate

Output Contract

Return findings first, ordered by severity, and include:

  • verdict
  • scope
    • draft
    • related ADRs
    • public docs
    • specs
    • src
    • tests
    • issue / PR context
  • findings

Each finding should include:

  • type
    • decision-gap
    • scope-conflict
    • evidence-risk
    • rollout-gap
    • ownership-escalation
  • severity
  • summary
  • why it matters
  • suggested revision
  • evidence
    • draft
    • related sources

Also include top-level:

  • open questions
  • residual risks

Do not silently rewrite the ADR text. If the review hits a human-owned decision, return escalate instead of inventing a final policy.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.