adr
Skill0 starsChanged 2 months agoMITView on GitHub
Propose an Architecture Decision Record in docs/adr/ for a choice that is expensive to reverse or easy to misread later — a dependency, a stack slot, a data-model constraint, a security boundary, a rejected approach — with options, drivers and how the decision will be checked, then stop for a human decision before coding it. Use when the user asks for an ADR or decision record, or when a task hits such a choice that no PRD, architecture page or existing ADR already settles.
105 other projects use a version of this.
Adopted by
Most recently taken up by
- nikovirtala/artifacttheir own version, first seen Nov 29, 2026
- swimmesberger/Elariontheir own version, first seen Nov 29, 2026
- BipBop-Labs/bipbop-skillstheir own version, first seen Nov 29, 2026
- anmolnagpal/devops-skillstheir own version, first seen Nov 29, 2026
- AiOpsCommunity/skillstheir own version, first seen Nov 29, 2026
- AbdallahAHO/buddy-kittheir own version, first seen Nov 29, 2026
Used with
Projects with it also use fdr, adr-review and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
thiagofgfSkillfdr
Use when creating, changing, reviewing, retiring, auditing, or backfilling implemented user-visible feature behavior, permissions, feature-specific rationale, tradeoffs, or relationships to architectural decisions.
Also in 3 projects that use this
zgagnonSkilladr-review
Use when reviewing code for Architecture Decision Record (ADR) compliance during refactoring or code review - checks code against all project ADRs and reports violations with specific fixes
Also in 3 projects that use this
AnthropicSkillrunbook
Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
Also in 5 projects that use this
montymiSkilltech-spec
Parse and review Technical Specification documents for completeness, consistency, and implementation readiness
Also in 4 projects that use this
JkudjoSkillincident
Production incident response — structured triage, hypothesis tree, safe remediation, incident record
Also in 5 projects that use this
dedeneSkilluntangle-codebase
Audit or refactor a codebase or subsystem to reduce hidden coupling, scattered business rules, and unnecessary abstractions while preserving behavior and framework conventions. Use when asked to untangle, de-spaghetti, or reduce coupling in a codebase; when code is tangled or hard to change, tech debt has piled up, or one change needs edits in many places; or for an architecture cleanup or broad structural refactor. Not for incidental cleanup during an unrelated feature or a defect-only diff review.
Also in 3 projects that use this
Other versions105 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 105
- CrowdDotDev/crowd.dev★ 3.4ksame name
- chattocorp/chatto★ 3ksame name
- Cosmian/kms★ 380same name
- linuxfoundation/insights★ 296same name
- rvdbreemen/OTGW-firmware★ 221same name
- sd0xdev/sd0x-dev-flow★ 196same name
- sd0xdev/sd0x-harness★ 196same name
- irahardianto/awesome-agv★ 157same name
- jellydn/my-ai-tools★ 130same name
- EmeaAppGbb/spec2cloud★ 103same name
95 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- backend/AGENTS.mdAGENTS.md
- frontend/AGENTS.mdAGENTS.md
- backend/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- frontend/CLAUDE.mdCLAUDE.md
- agents-mdSkill
- init-stackSkill
- optimization-auditSkill
- security-auditSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 87 edited versions we read keep these.
1
Distinctive
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
- Distinctive: line 21
No for routine work that follows existing rules — most tasks need none.
- Very specific: line 32
Status: always Proposed. Only a human moves it on.
- Very specific: line 33
Index: add the row to docs/adr/README.md and bump the "next free number" line.
“Common” is measured: kept by at least 6 in 10 of the 87 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write an ADR
An ADR records one non-obvious decision and why, so that a choice which looks arbitrary later — an unused field, a chosen library, a rejected approach — can be understood without re-running the discussion. The format follows the useful parts of MADR 4: drivers, options side by side, and how the decision is confirmed.
Is an ADR needed?
Yes when the choice is not already settled — check the index in docs/adr/README.md,
docs/architecture/ and docs/product/ first — and it is expensive to reverse or easy to
misread. Typical triggers: adding or rejecting a dependency, choosing or changing a stack slot, a
schema decision that constrains the future, a security or trust boundary, generalising a mechanism,
reserving something for a capability not built yet.
No for routine work that follows existing rules — most tasks need none. Do not write one to look thorough.
Steps
- Read first: the PRD requirements the decision serves (
docs/product/), the ADRs it touches, and the code it affects. An ADR that contradicts an accepted one must supersede it explicitly. - Number: the next free number is stated at the bottom of the index in
docs/adr/README.md— use it, not the file listing (numbers can be retired or reserved). Zero-pad to four digits. - File:
docs/adr/NNNN-short-kebab-title.md, from the template below. About a page; if it needs more, it is probably two decisions. - Status: always
Proposed. Only a human moves it on. - Index: add the row to
docs/adr/README.mdand bump the "next free number" line. - Stop. Show the human the decision, the strongest rejected option, and the main cost — then wait for a decision before writing code that depends on it.
- After the human decides, set the status.
Accepted, orRejected— a rejected proposal stays in the index, because "we considered X and said no" is exactly what the next person asks.
Statuses
Proposed → Accepted | Rejected. Later: Superseded by ADR-NNNN (a newer ADR replaces it) or
Deprecated (no longer relevant, nothing replaces it). The status line and index row are the only
edits an accepted ADR ever receives; the old ADR and its successor both link each other.
Rules
- One decision per record. Two decisions are two ADRs.
- Accepted ADRs are immutable; revise by writing a new one that supersedes it.
- An ADR never cites a plan (
docs/plans/). A plan closes; the ADR outlives it. Cite PRD requirement IDs, other ADRs, architecture pages or code. - Name things as the code names them, so
grepfinds them. - At least two real options, including "do nothing / keep what we have" when that is viable. A decision with no downside has not been thought through.
- Confirmation is concrete — a test, a lint rule, a CI job, a review rule in
AGENTS.md— or it says honestly that the decision is checked only by review.
Template
# ADR-NNNN — <short title: the decision, not the topic>
- **Status:** Proposed
- **Date:** YYYY-MM-DD
- **Relates to:** <PRD requirement IDs, ADRs, architecture pages; "supersedes ADR-MMMM" if it does>
## Context
What forces the decision now: the problem, the constraints, and what is already fixed elsewhere.
## Decision drivers
- <the requirement, quality or constraint that decides between the options>
## Considered options
1. **<option>** — one line on what it is.
2. **<option>**
3. **Keep what we have** — if viable.
## Decision
What we are doing, stated plainly. Numbered if it has parts.
## Consequences
- **Good:** what this makes easy.
- **Bad:** what this makes hard, and what it commits us to.
## Confirmation
How we will know it is followed: the test, lint rule, CI job or review rule that enforces it.
## Options compared
| Driver | <option 1> | <option 2> | <option 3> |
|---|---|---|---|
| <driver> | … | … | … |
For each rejected option, one line on why it lost.
## Revisit when
The observable change that should reopen this (a scale threshold, a new requirement, a dependency's
end of life).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
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.

