adr
Skill9 starsChanged 19 days agoMITView on GitHub
Write an Architecture Decision Record — one numbered file in docs/adr/ with context, options considered and the choice. Use when the user says 'write an ADR', 'record why we picked X', 'document this decision', or has just made a technical choice future contributors will question. Not for whole-system design (use /wf:architecture).
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 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.
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 · 1
- 0xrafasec/ai-workflow★ 9100% same
Edited · 0
None found.
Wrote their own version · 104
- 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
94 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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dotfiles/CLAUDE.mdCLAUDE.md
- architectureSkill
- autopilotSkill
- commitSkill
- designSkill
- featureSkill
- fixSkill
- issuesSkill
- new-projectSkill
- prdSkill
- prSkill
- roadmapSkill
- specSkill
- threat-modelSkill
- verify-designSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 86 edited versions we read keep these.
3
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 6
Create an Architecture Decision Record.
- Distinctive: line 13
Read recent ADRs (last 2-3) to match the project's style and voice.
- Very specific: line 14
If the decision relates to architecture, read docs/ARCHITECTURE.md for context.
- Very specific: line 15
If this decision replaces an earlier ADR, set the old one's status to Superseded by ADR-NNNN and link it in Related.
- Distinctive: line 27
If the decision is straightforward (user already knows what they want and why), keep the interview to 1-2 questions to fill in gaps.
“Common” is measured: kept by at least 6 in 10 of the 86 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
Create an Architecture Decision Record. Argument: $ARGUMENTS
In hosts that do not substitute $ARGUMENTS (e.g. Codex), it is the text the user wrote after the skill name.
Context Gathering
- Find the ADR directory (default
docs/adr/; use the existing one if the repo hasdocs/decisions/or similar) and take the next number, zero-padded to the existing width, starting at0001. - Read recent ADRs (last 2-3) to match the project's style and voice.
- If the decision relates to architecture, read
docs/ARCHITECTURE.mdfor context. - If this decision replaces an earlier ADR, set the old one's status to
Superseded by ADR-NNNNand link it in Related.
Interview
Use AskUserQuestion to extract the decision. Where AskUserQuestion is unavailable but the user can answer in chat (e.g. Codex), ask the same question in chat as a short numbered list and wait for the answer; a headless run or a dispatched agent has no such user, and the headless rule applies instead. Keep it focused — an ADR is one decision, not a design doc. If the decision was just made in this session, draft from the conversation and ask only for what is missing.
- What's the decision? — What are you deciding? What triggered this decision?
- Context — What constraints, requirements, or pressures led to this? What's the current state?
- Options considered — What alternatives did you evaluate? What are the tradeoffs of each?
- Decision — What did you choose and why? What was the deciding factor?
- Consequences — What changes as a result? What are the known downsides you're accepting?
If the decision is straightforward (user already knows what they want and why), keep the interview to 1-2 questions to fill in gaps. If the user is asking you to decide, present the options and a recommendation before writing.
Write
Write to docs/adr/NNNN-<slug>.md:
# ADR-NNNN: [Title]
**Status:** Proposed | Accepted | Deprecated | Superseded by [ADR-XXXX]
**Date:** [date]
**Deciders:** [the user plus anyone they name; if unnamed, `git config user.name`]
## Context
[What is the issue? What forces are at play? What constraints exist?]
## Decision
[What was decided. State it clearly in one sentence, then elaborate if needed.]
## Options Considered
### Option A: [Name]
- **Pros:** [benefits]
- **Cons:** [drawbacks]
(Repeat per option, at least two.)
## Consequences
### Positive
- [What improves]
### Negative
- [What gets harder or what risks are accepted]
## Related
- [Links to related ADRs, specs, issues, or documents]After Writing
Present the ADR for review. Status is Proposed unless the user said the decision is made.
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.

