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.
35 other projects use a version of this.
Adopted by
Most recently taken up by
- metravod/stare-decisistheir own version, first seen Oct 6, 2026
- AlvaroVFon/skillstheir own version, first seen Oct 3, 2026
- kapadias/nonnatheir own version, first seen Oct 1, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- jellydn/my-ai-toolstheir own version, first seen Sep 28, 2026
- sd0xdev/sd0x-harnesstheir own version, first seen Sep 26, 2026
Used with
Projects with it also use coverage, observability and 8 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.
PydanticSkillcoverage
Fetch coverage diff from Codecov for the current branch or a specific PR. Shows uncovered lines, patch coverage, and overall coverage change.
Also in 3 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 5 projects that use this
MongoDBSkilljira
Use this skill for any Jira operation in the DOCSP project — creating, viewing, searching, updating, transitioning, commenting on, or linking tickets. Also handles follow-up ticket creation to manage scope creep. TRIGGER when: user mentions a DOCSP-XXXXX ticket number or any Jira ticket URL; user asks to view, open, check, update, transition, close, comment on, link, or search tickets; user references \"the ticket\", \"the Jira\", or \"open a ticket\". SKIP: GitHub issues; non-Jira platforms; questions unrelated to ticket operations.
Also in 4 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 6 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 5 projects that use this
0xSeroSkillsecurity
Also in 4 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- sd0xdev/sd0x-harness★ 191same name
- irahardianto/awesome-agv★ 157same name
- jellydn/my-ai-tools★ 122same name
- KerberosClaw/kc_ai_skills★ 79same name
- AsiaOstrich/universal-dev-standards★ 76same name
- drafthq/draft★ 40same name
- mhylle/claude-skills-collection★ 19same name
- aaronsb/claude-code-config★ 18same name
- ulises-jeremias/agent-toolkit★ 18same name
- arfar-x/agent-skills★ 13same name
25 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 31 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 31 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.

