adr
Skill9 starsChanged 4 days agoMITView on GitHub
Capture architectural decisions that have already been made, as structured ADRs (Architecture Decision Records). Use when user says 'record this decision', 'ADR this', 'why did we choose X', 'document this trade-off', 'we decided to...', or when a choice between alternatives has been settled and needs writing down. This records a decision; it does not make one. A question of the form 'should we use X or Y' is a design discussion, not an ADR request.
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
- AiOpsCommunity/skillstheir own version, first seen Nov 29, 2026
- AbdallahAHO/buddy-kittheir own version, first seen Nov 29, 2026
- addit-digital/addit-harnesstheir 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
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
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
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 repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- .cursor/rules/adr.mdcCursor rule
- .cursor/rules/appsec.mdcCursor rule
- .cursor/rules/ci.mdcCursor rule
- .cursor/rules/deploy.mdcCursor rule
- .cursor/rules/docker.mdcCursor rule
- .cursor/rules/finops.mdcCursor rule
- .cursor/rules/github-actions.mdcCursor rule
- .cursor/rules/github.mdcCursor rule
- .cursor/rules/gitops.mdcCursor rule
- .cursor/rules/incident.mdcCursor rule
- .cursor/rules/k8s.mdcCursor rule
- .cursor/rules/logging.mdcCursor rule
- .cursor/rules/observability.mdcCursor rule
- .cursor/rules/owasp.mdcCursor rule
- .cursor/rules/tf.mdcCursor rule
- .cursor/rules/tf-plan.mdcCursor rule
- .cursor/rules/wrapper-tf.mdcCursor rule
- appsecSkill
- ciSkill
- deploySkill
- dockerSkill
- finopsSkill
- github-actionsSkill
- githubSkill
- gitopsSkill
- incidentSkill
- k8sSkill
- loggingSkill
- observabilitySkill
- owaspSkill
- tf-planSkill
- tfSkill
- wrapper-tfSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 87 edited versions we read keep these.
5
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 93
Initialize once: If docs/adr/ does not exist, create the directory, a README.md seeded with the index table header (below), and a …
- Distinctive: line 120
Read the old ADR.
- Distinctive: line 121
Create a new ADR that references it: "Supersedes ADR-NNNN" in Context.
- Distinctive: line 123
Update both rows in the index.
- Distinctive: line 125
Never delete or rewrite a past ADR's decision — superseding preserves the history of *why it changed*, which is the whole point.
- Distinctive: line 130
When no human is in the session (a scheduled or delegated agent run), do not stop to ask.
“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
ADR Skill
Capture architectural decisions as they happen, so the why lives next to the code
instead of in a Slack thread or someone's memory. Produces lightweight ADR documents
under docs/adr/.
Keywords
adr, architecture decision record, decision, rationale, trade-off, alternatives, we decided, why did we choose, design decision, supersede, decision log, nygard
When to record a decision
- The user says "record this", "ADR this", "let's document this decision".
- A choice is made between significant alternatives: framework, library, database, language, pattern, API shape, infra/deploy approach, build vs buy.
- The user says "we decided to…" or "the reason we're doing X instead of Y is…".
- The user asks "why did we choose X?" → read and summarize the existing ADR.
For trivial or easily-reversible choices, don't create an ADR — note it inline and move on.
Output Artifacts
| Request | Output |
/adr new "<title>" | A new docs/adr/NNNN-<slug>.md + an updated index |
/adr list | The decision log (ID, title, status, date) |
/adr supersede <NNNN> | A new ADR marked as superseding an old one; old one flipped to superseded |
Format
Lightweight Nygard ADR, adapted for AI-assisted work:
# ADR-NNNN: <Decision Title>
**Date**: YYYY-MM-DD
**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN
**Deciders**: <who was involved>
## Context
What is the issue motivating this decision? The situation, constraints, and forces at
play. 2–5 sentences.
## Decision
What we are doing. 1–3 sentences, stated clearly.
## Alternatives Considered
### <Alternative>
- **Pros**: …
- **Cons**: …
- **Why not**: the specific reason it was rejected.
(Repeat per alternative.)
## Consequences
### Positive
- …
### Negative / trade-offs
- …
### Risks
- <risk and its mitigation>NEW — Record a decision
- Initialize once. If
docs/adr/does not exist, create the directory, aREADME.mdseeded with the index table header (below), and atemplate.mdcopy of the format above. Do not stop to ask; the change lands in a pull request that a human reviews. Note the new directory in your summary. - Number it. Next zero-padded number after the highest existing
docs/adr/NNNN-*.md(start at0001). Slug = kebab-case of the title. - Fill it from the conversation — extract the decision, the context that prompted it, the alternatives actually weighed, and the consequences. Do not invent alternatives that were never discussed; if context is thin, ask one or two targeted questions.
- Default status
acceptedwhen the user states a decision;proposedwhen still weighing. Date = today. - Update the index in
docs/adr/README.md.
Index format
docs/adr/README.md:
# Architecture Decision Records
| ID | Title | Status | Date |
|----|-------|--------|------|
| [ADR-0001](0001-use-eks-over-ecs.md) | Use EKS over ECS | accepted | 2026-06-10 |SUPERSEDE — Replace a decision
- Read the old ADR.
- Create a new ADR that references it: "Supersedes ADR-NNNN" in Context.
- Flip the old ADR's
Statustosuperseded by ADR-MMMM. - Update both rows in the index.
Never delete or rewrite a past ADR's decision — superseding preserves the history of why it changed, which is the whole point.
Agent mode
When no human is in the session (a scheduled or delegated agent run), do not stop to ask. Wherever this skill says "ask for" something or "ask to save", infer it from the repo, or use the default documented here, and state the assumption. Return the report as output instead of waiting for approval. End the output with an Open questions for the PM list covering anything you assumed or could not determine.
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.

