adr
Skill8 starsChanged 19 days agoMITView on GitHub
Record a technical decision as an Architecture Decision Record. Use when weighing a framework, library, database, or schema-migration trade-off, or when asked for an ADR.
90 other projects use a version of this.
Adopted by
Most recently taken up by
- GustavoAlecio/claude-setuptheir own version, first seen Nov 8, 2026
- computerlovetech/skillstheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- axodouble/skillstheir own version, first seen Nov 8, 2026
- RodrigoAnciaes/golem-sddtheir own version, first seen Nov 8, 2026
- n1kben/agentstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use fdr, runbook 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
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
drewdrewthisSkillsweep
Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.
Also in 4 projects that use this
vndeeSkillproduct-spec
Use when starting a new feature, product, or project — before any architecture or code, to define what to build and why
Also in 3 projects that use this
OpenAISkillthreat-model
Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
Also in 6 projects that use this
montymiSkilltech-spec
Parse and review Technical Specification documents for completeness, consistency, and implementation readiness
Also in 3 projects that use this
Other versions90 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 90
- CrowdDotDev/crowd.dev★ 3.4ksame name
- chattocorp/chatto★ 2.9ksame name
- Cosmian/kms★ 372same name
- linuxfoundation/insights★ 288same name
- rvdbreemen/OTGW-firmware★ 213same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- irahardianto/awesome-agv★ 157same name
- jellydn/my-ai-tools★ 127same name
- EmeaAppGbb/spec2cloud★ 100same name
80 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 repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- home/CLAUDE.mdCLAUDE.md
- run-claude-code-configSkill
- api-designSkill
- commitSkill
- django-patternsSkill
- docker-patternsSkill
- eow-reviewSkill
- git-workflowSkill
- hotfixSkill
- infrastructureSkill
- laterSkill
- mkdocs-styleSkill
- project-setupSkill
- prSkill
- refinementSkill
- security-patternsSkill
- standupSkill
- statusSkill
- testing-patternsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 75 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Create an Architecture Decision Record (ADR) documenting a technical decision.
- Distinctive: line 21
Check for existing ADRs:
- Distinctive: line 27
If the directory doesn't exist, create it:
- Very specific: line 37
Read docs/adr/README.md if the target repo has one — it is the destination's own spec and outranks anything in this skill.
- Very specific: line 43
If there is no docs/adr/README.md, apply this bar.
- Distinctive: line 49
If any is missing, say so and stop.
- Distinctive: line 54
Ask the user (if not clear from arguments):
- Very specific: line 63
Create docs/adr/NNNN-<title-slug>.md.
- Distinctive: line 86
Check if this supersedes any existing ADR
- Distinctive: line 87
If so, update the old ADR's status to "Superseded by NNNN"
- Distinctive: line 94
Ask if the user wants to modify anything before committing
“Common” is measured: kept by at least 6 in 10 of the 75 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 (ADR) documenting a technical decision.
Arguments
$ARGUMENTS
- Describe the decision to document
- Example:
/adr switch from REST to GraphQL for mobile API - Example:
/adr use PostgreSQL for event sourcing
Steps
1. Determine ADR Number
Check for existing ADRs:
ls docs/adr/ 2>/dev/null || echo "No ADR directory yet"If the directory doesn't exist, create it:
mkdir -p docs/adrDetermine the next number by counting existing ADRs, starting from 0001.
2. Check the decision is ADR-worthy
Read docs/adr/README.md if the target repo has one — it is the destination's own
spec and outranks anything in this skill. More than one primitive can write to
docs/adr/ (this skill, @documentation-writer, the vendored
mattpocock-skills:domain-modeling), so the format lives beside the ADRs rather
than in any one producer.
If there is no docs/adr/README.md, apply this bar. All three must be true:
- Hard to reverse — changing your mind later carries a meaningful cost.
- Surprising without context — a future reader will wonder "why this way?"
- The result of a real trade-off — genuine alternatives existed.
If any is missing, say so and stop. A convention or a workflow step is documentation, not an ADR.
3. Gather context
Ask the user (if not clear from arguments):
- What is the decision being made?
- What alternatives were considered, and why were they rejected?
- What constraints or requirements forced it?
- What does it cost — an ADR that lists only benefits is an advertisement.
4. Write the ADR
Create docs/adr/NNNN-<title-slug>.md. Follow docs/adr/README.md where it exists.
Otherwise use this shape — the title is a claim, not a topic:
# ADR-NNNN: <Decision stated as a claim>
**Status:** Accepted — YYYY-MM-DD
## Context
<What forced the decision: constraints in play, and what was already true.>
## Decision
<What was decided, in active voice. Name rejected alternatives and why.>
## Consequences
<What follows — including the costs and anything now harder.>5. Cross-reference
- Check if this supersedes any existing ADR
- If so, update the old ADR's status to "Superseded by NNNN"
- Link related ADRs in the Context section
Output
- Show the created ADR file path
- Present the content for review
- Ask if the user wants to modify anything before committing
- Suggest updating the ADR index if one exists (
docs/adr/README.md)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

