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

adr-linter

Skill200 starsChanged 7 months agoBSD-3-ClauseView on GitHub

Review an ExStruct ADR draft for required sections, status values, evidence quality, supersede links, and balanced consequences. Use when an ADR already exists in draft form and you need findings before review or merge.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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. Very specific:

    Check that the ADR has 状態, 背景, 決定, 影響, 根拠, Supersedes, and Superseded by.

    line 20
  2. Very specific:

    Verify that 根拠 contains concrete Tests, Code, or Related specs.

    line 21
  3. Distinctive:

    Check that consequences include tradeoffs, not only benefits.

    line 22
  4. Distinctive:

    If supersede or replacement is claimed, verify the referenced ADR links are present and consistent.

    line 23
  5. Distinctive:

    If no findings exist, say that explicitly and mention any residual review risk.

    line 33

≈ “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 Linter

Review the ADR as a decision record, not as prose polish.

Read

  1. dev-docs/agents/adr-governance.md
  2. dev-docs/agents/adr-workflow.md
  3. dev-docs/adr/template.md
  4. Related ADRs if the draft mentions supersede or overlap

Workflow

  1. Validate the status value.
  2. Check that the ADR has 状態, 背景, 決定, 影響, 根拠, Supersedes, and Superseded by.
  3. Verify that 根拠 contains concrete Tests, Code, or Related specs.
  4. Check that consequences include tradeoffs, not only benefits.
  5. If supersede or replacement is claimed, verify the referenced ADR links are present and consistent.

Output Contract

Return findings first, ordered by severity.

  • high: contract hole, missing decision, invalid status, missing supersede linkage
  • medium: weak context, weak evidence, one-sided consequences
  • low: clarity or consistency issues

If no findings exist, say that explicitly and mention any residual review risk.

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.