architecture-decision-records
Skill0 starsChanged 4 months agoMITView on GitHub
Create or update an ADR file following the standard template (Context, Decision, Consequences). Triggered by "create an ADR", "document this decision", "write an ADR", "record this architectural decision", "I need to document why we chose", "adr", "log this design decision", "why did we pick this approach", "architecture-decision-records".
42 other projects use a version of this.
Adopted by
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
- enes9103/my-claude-agents-skillstheir own version, first seen Sep 28, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- beelabstudio/aitheir own version, first seen Sep 20, 2026
- mcabreradev/hermes-sdd-agencytheir own version, first seen Sep 17, 2026
Used with
Projects with it also use pytorch-patterns, adding-docker 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.
mryeastcodeSkillpytorch-patterns
PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.
Also in 6 projects that use this
witi-projectsSkilladding-docker
Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore. Use when the user says "/adding-docker", "adding docker", or asks about adding docker.
Also in 3 projects that use this
witi-projectsSkilladding-error-tracking
Add Sentry error tracking, performance monitoring, and source maps to a web application. Use when the user says "/adding-error-tracking", "adding error tracking", or asks about adding error tracking.
Also in 3 projects that use this
tpavanipradeepSkillai-regression-testing
Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code.
Also in 7 projects that use this
InfopibeSkillcontinuous-agent-loop
Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls.
Also in 7 projects that use this
- +7 more from witi-projects
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 42
- loulanyue/awesome-claude-notes★ 272same name
- templetongroup/radiant★ 113same name
- Jamkris/everything-gemini-code★ 87same name
- tranhieutt/software_development_department★ 72same name
- kumaran-is/claude-code-onboarding★ 36same name
- ricoberger/dotfiles★ 19same name
- woxiangyangzhimao/skills★ 14same name
- noah-sheldon/ai-dev-kit★ 13same name
- xfstudio/skills★ 9same name
- zero-click/zero-ratchet★ 8same name
32 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 repository21 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- ci-cd-pipelineSkill
- requirements-synthesisSkill
- security-hardeningSkill
- spec-driven-developmentSkill
- workflow-from-chatsSkill
- commit-history-auditSkill
- commit-messageSkill
- deslopSkill
- document-thisSkill
- env-drift-checkSkill
- handoffSkill
- minimal-diff-reviewSkill
- onboardingSkill
- pre-commit-checkSkill
- pr-review-canvasSkill
- pr-summarySkill
- release-readinessSkill
- requirements-qaSkill
- sync-docs-after-editSkill
- write-changelogSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 40 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Check if docs/adr/, adr/, or decisions/ exists in the repo.
- Very specific: line 24
If none exists, default to docs/adr/ and create it.
- Very specific: line 25
Check .cursor/ or AGENTS.md for a project-specific ADR path override.
- Very specific: line 88
If docs/adr/README.md or docs/adr/index.md exists, append the new ADR to its table:
- Distinctive: line 96
If no index exists and this is the second or later ADR, create one.
- Distinctive: line 107
Do not create an ADR for trivial choices (variable naming, minor config).
- Distinctive: line 108
If the decision has already been partially implemented, note that in the Context section.
- Distinctive: line 109
If superseding an older ADR, update the older ADR's status to "Superseded by ADR-NNNN".
“Common” is measured: kept by at least 6 in 10 of the 40 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
🏛️ Skill: architecture-decision-records
Purpose
Capture significant architectural or design decisions in a lightweight, durable format. Prevents "why did we do it this way?" from being answered by archaeology. Useful for code repos, requirements repos, and consulting deliverables alike.
Trigger phrases
- "create an ADR"
- "document this decision"
- "architecture-decision-records"
- "write an ADR for this"
- "record this design decision"
- "ADR"
Steps
1. Determine the ADR directory
- Check if
docs/adr/,adr/, ordecisions/exists in the repo. - If none exists, default to
docs/adr/and create it. - Check
.cursor/orAGENTS.mdfor a project-specific ADR path override.
2. Assign a number
ls docs/adr/ | sort | tail -1 # PowerShell: Get-ChildItem docs/adr/ | Sort-Object | Select-Object -Last 1Next ADR number = last number + 1. Zero-pad to 4 digits: 0001, 0002, etc.
3. Determine the status
Choose one:
- Proposed — under discussion, not yet accepted.
- Accepted — the decision has been made and is in effect.
- Deprecated — was accepted but is no longer relevant.
- Superseded by ADR-XXXX — replaced by a newer decision.
4. Draft the ADR
Filename: docs/adr/<NNNN>-<kebab-case-title>.md
# ADR-<NNNN>: <Title>
**Date:** <YYYY-MM-DD>
**Status:** <Proposed | Accepted | Deprecated | Superseded by ADR-XXXX>
**Deciders:** <names or roles>
---
## Context
<What is the situation or problem that motivated this decision? Include constraints, forces, and relevant background. Be factual — no advocacy here.>
## Decision
<What was decided? State it clearly and directly. "We will use X" not "We should consider X".>
## Rationale
<Why was this option chosen over the alternatives? List the alternatives considered and why they were rejected.>
| Option | Pro | Con | Chosen? |
|--------|-----|-----|---------|
| <A> | ... | ... | Yes |
| <B> | ... | ... | No — reason |
## Consequences
### Positive
- <benefit 1>
- <benefit 2>
### Negative / Trade-offs
- <cost 1>
- <risk 1>
### Neutral
- <change in process or tooling that is neither good nor bad>
## References
- <link to relevant issue, PR, document, or external resource>5. Link from index (if exists)
If docs/adr/README.md or docs/adr/index.md exists, append the new ADR to its table:
| ADR | Title | Status | Date |
|-----|-------|--------|------|
| [ADR-NNNN](NNNN-title.md) | <title> | Accepted | YYYY-MM-DD |If no index exists and this is the second or later ADR, create one.
6. Report
ADR created: docs/adr/<NNNN>-<title>.md
Status: <status>
Index updated: yes / noGuardrails
- An ADR records the decision as made — do not sanitize or omit the real trade-offs.
- Do not create an ADR for trivial choices (variable naming, minor config). Reserve for decisions that affect system structure, team workflow, or are hard to reverse.
- If the decision has already been partially implemented, note that in the Context section.
- If superseding an older ADR, update the older ADR's status to "Superseded by ADR-NNNN".
Gotchas
ls docs/adr/ | sort | tail -1sorts lexicographically, not numerically —0010sorts before0002alphabetically only if zero-padded consistently. Verify the actual highest number rather than trusting raw sort output, especially once past 9999 or if any file is unpadded.- Two ADRs can be drafted concurrently on different branches and collide on the same number at merge time — check the target branch's
docs/adr/state right before writing, not just at the start of the session. - Marking a decision "Accepted" when it's still actively contested just moves the disagreement underground — if consensus isn't actually settled, use "Proposed" and say so.
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.

