adr
Skill4 starsChanged 2 months agoMITView on GitHub
Use when the user makes or records a significant architectural or technical decision — choosing a framework, database, protocol, pattern, or trade-off ("we decided to use X instead of Y because..."), or explicitly asks to write an ADR. Captures the decision as a structured MADR-format Architecture Decision Record in docs/adr/.
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 repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- design-conventionsSkill
- dev-flowSkill
- go-conventionsSkill
- save-planSkill
- setupSkill
- telemetry-exportSkill
- tipsSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 87 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
When the decision involves architecture or flow, embed a mermaid diagram (component graph/flowchart and/or sequenceDiagram) in *Context and …
“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
Architecture Decision Record (ADR) — MADR format
Capture a significant architectural/technical decision as a durable, structured record in MADR 4.0 format (Markdown Any Decision Records), stored in version control next to the code so future readers understand why, not just what.
Sources / further reading:
- MADR: https://adr.github.io/madr/ · https://github.com/adr/madr
- Format gallery (Nygard, MADR, etc.): https://github.com/joelparkerhenderson/architecture-decision-record
- Nygard's original: https://www.cognitect.com/blog/2011/11/15/documenting-architecture-decisions
When to write one
ADR-worthy = significant and hard to reverse: technology/framework/database choice, API or integration style, data model, architectural pattern (monolith vs services, sync vs event-driven), security approach, or a notable trade-off. Skip trivial, easily-reversed choices. In a work item, write the ADR only after plan approval, one per "ADR: candidate" line in the solution's ## Decision (references/doc-protocol.md); status "accepted".
Choosing minimal vs full
- Minimal (default): smaller/medium decisions — Context & Problem, Considered Options, Decision Outcome (+ Consequences).
- Full: weighty decisions with several real alternatives — adds Decision Drivers, per-option Pros and Cons, Confirmation, and More Information.
- Honor
--full/--minimalif given; otherwise pick by decision weight.
Procedure
- Locate/initialize the store. Use docs/adr/ — plugin conventions win (rules/engineering-loop.md). Create it and docs/adr/README.md if missing; optionally seed 0001-record-architecture-decisions.md. If the repo has an ADR store elsewhere, leave it, link it from docs/adr/README.md, and number from (highest in either store)+1 so 0001 is never duplicated.
- Assign the next number. Scan
docs/adr/for the highestNNNN, increment; 4-digit zero-padded starting at0001; if that NNNN is taken, take the next free number; never overwrite. - Gather context. From the conversation/code extract: the problem and why now, decision drivers/forces, the alternatives considered, the chosen option, and consequences (good and bad). Ask the user only for what you can't infer — especially alternatives rejected and why, the most valuable part.
- Write
docs/adr/NNNN-kebab-case-title.mdusing the matching template below. When the decision involves architecture or flow, embed a mermaid diagram (componentgraph/flowchartand/orsequenceDiagram) in Context and Problem Statement and/or per option — ADRs live as files / on GitHub, so mermaid renders. Skip it for non-structural decisions. - Update the index
docs/adr/README.mdwith a row: number, title (link), status, date. - Link back. Replace the solution's "ADR: candidate …" line with "ADR: ADR-NNNN" (text path if repos differ); change nothing else.
- Report the path and a one-line summary. Don't commit unless asked.
Ceiling: minimal ≤60 lines, full ≤80.
MADR — minimal template
---
status: "proposed"
date: {YYYY-MM-DD}
decision-makers: {who decided}
---
# {short title of the decision}
## Context and Problem Statement
{2–3 sentences, or a short story; optionally phrased as a question. Link issues/
boards if relevant.}
<!-- Optional, when the decision is structural — delete if not applicable -->
## Architecture / Flow
```mermaid
graph TD
A[Component A] --> B[Component B]Considered Options
- {option 1 — one line + why not}
- {option 2 — one line + why not}
- {option 3 — one line + why not}
Design detail: solution — if the solution lives in another repo (secondaryRepo), write the repo-relative path as text, no link.
Decision Outcome
Chosen option: "{option 1}", because {justification — resolves the key driver / best trade-off / only viable option}.
Consequences
- Good, because {positive consequence}
- Bad, because {negative consequence / new cost or risk}
## MADR — full template
```markdown
---
status: "proposed | rejected | accepted | deprecated | superseded by ADR-NNNN"
date: {YYYY-MM-DD}
decision-makers: {who decided}
consulted: {subject-matter experts consulted (two-way)}
informed: {kept up to date (one-way)}
---
# {short title of the decision}
## Context and Problem Statement
{2–3 sentences or a short story; optionally a question. Link issues/boards.}
<!-- Optional, when the decision is structural — delete if not applicable -->
## Architecture / Flow
```mermaid
graph TD
A[Component A] --> B[Component B]Decision Drivers
- {driver 1 — a force or concern}
- {driver 2 — a force or concern}
Considered Options
- {option 1 — one line + why not}
- {option 2 — one line + why not}
- {option 3 — one line + why not}
Design detail: solution — if the solution lives in another repo (secondaryRepo), write the repo-relative path as text, no link.
Decision Outcome
Chosen option: "{option 1}", because {justification}.
Consequences
- Good, because {positive consequence}
- Bad, because {negative consequence}
Confirmation
{How compliance with this decision will be confirmed — e.g. design/code review, or an ArchUnit/fitness-function test.}
Pros and Cons of the Options
{option 1}
- Good, because {argument}
- Neutral, because {argument}
- Bad, because {argument}
{option 2}
- Good, because {argument}
- Bad, because {argument}
More Information
{Additional evidence, team agreement, when to revisit, links to related ADRs.}
## Lifecycle & superseding
- Status flow: `proposed → accepted → deprecated | superseded` (use `rejected`
for an option/decision not taken).
- ADRs are immutable once **accepted**. To change a decision, write a **new** ADR,
set the old one's status to `superseded by ADR-NNNN`, and cross-link both ways
(new → what it supersedes; old → its replacement). Never silently edit an
accepted decision's substance.
## Optional external tooling (not required)
The skill writes the markdown directly, so a CLI is usually redundant. If you
outgrow it: `npryce/adr-tools` codified the numbering/superseding conventions
(but is stale, last release 2018 — cite, don't depend); `thomvaill/log4brains`
can publish ADRs as a browsable website.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.

