adr-writing
Skill0 starsChanged 8 months agoMITView on GitHub
Use when documenting architecture decisions, capturing the context and trade-offs behind technical choices
3 other projects use a version of this.
Adopted by
Most recently taken up by
- ivanrvpereira/.agentstheir own version, first seen Aug 27, 2026
- Diviner-Dojo/agent_framework_templatetheir own version, first seen Aug 18, 2026
- KhaledSaeed18/dotclaudetheir own version, first seen Jul 4, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- ivanrvpereira/.agents★ 18same name
- KhaledSaeed18/dotclaude★ 5same name
- Diviner-Dojo/agent_framework_template★ 4same name
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 repository190 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibility-auditSkill
- accessibility-complianceSkill
- ado-api-cliSkill
- ado-artifactsSkill
- ado-container-deploymentsSkill
- ado-organizationSkill
- ado-pipeline-designSkill
- ado-pipeline-optimizationSkill
- ado-pipeline-securitySkill
- ado-pipelines-opsSkill
- ado-release-managementSkill
- ado-security-policiesSkill
- ado-work-trackingSkill
- agentic-ai-patternsSkill
- agentic-evalSkill
- agentic-memorySkill
- agentic-reliabilitySkill
- agentic-securitySkill
- ai-data-moatSkill
- ai-harnessSkill
- ai-product-designSkill
- ai-product-monetizationSkill
- ai-product-positioningSkill
- ai-product-retentionSkill
- ai-product-validationSkill
- ai-safety-guardrailsSkill
- add-analytics-instrumentationSkill
- analyze-account-healthSkill
- analyze-ai-topicsSkill
- analyze-chartSkill
- analyze-dashboardSkill
- analyze-experimentSkill
- analyze-feedbackSkill
- compare-user-journeysSkill
- create-chartSkill
- create-dashboardSkill
- daily-briefSkill
- debug-replaySkill
- diagnose-errorsSkill
- diff-intakeSkill
- discover-analytics-patternsSkill
- discover-event-surfacesSkill
- discover-opportunitiesSkill
- instrument-eventsSkill
- investigate-ai-sessionSkill
- monitor-ai-qualitySkill
- monitor-reliabilitySkill
- replay-ux-auditSkill
- review-agent-insightsSkill
- taxonomySkill
- weekly-briefSkill
- what-would-lenny-doSkill
- analytics-reportingSkill
- api-contract-testingSkill
- api-designSkill
- authentication-patternsSkill
- blockchain-auditSkill
- brainstormingSkill
- brand-voiceSkill
- The first 60 shown.
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 3 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
- Distinctive: line 9
When making a significant technical decision that will be hard to reverse, affects multiple teams, or needs to be understood by future …
- Distinctive: line 20
Don't write one for: library patch versions, CSS changes, minor refactoring.
- Distinctive: line 62
Never edit an accepted ADR's decision section
- Distinctive: line 63
If decision changes: create a new ADR that supersedes it
- Distinctive: line 64
Update status of old ADR to "Superseded by ADR-NNN"
- Very specific: line 67
Keep in docs/adr/ in the repo (versioned with code)
“Common” is measured: kept by at least 6 in 10 of the 3 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 Writing (Architecture Decision Records)
When to Use
When making a significant technical decision that will be hard to reverse, affects multiple teams, or needs to be understood by future engineers.
Core Jobs
1. Know When to Write an ADR
Write one when:
- Choosing between 2+ significant technical options
- The decision affects system architecture, not just implementation detail
- Future engineers will wonder "why did they do it this way?"
- The decision is hard to reverse (database choice, API protocol, auth system)
Don't write one for: library patch versions, CSS changes, minor refactoring.
2. ADR Template
# ADR-[NNN]: [Short Title]
**Date:** YYYY-MM-DD
**Status:** Proposed | Accepted | Deprecated | Superseded by ADR-NNN
**Deciders:** [names or teams]
## Context
[What situation are we in? What forces are at play? What is the problem?]
## Decision
[The decision we made. Use active voice: "We will use X because..."]
## Options Considered
### Option A: [Name]
**Pros:** ...
**Cons:** ...
### Option B: [Name]
**Pros:** ...
**Cons:** ...
## Consequences
**Positive:**
- [What becomes easier or better?]
**Negative:**
- [What becomes harder or worse? What do we give up?]
**Risks:**
- [What could go wrong?]
## References
- [Links to relevant docs, RFCs, benchmarks]3. Keep ADRs Immutable
- Never edit an accepted ADR's decision section
- If decision changes: create a new ADR that supersedes it
- Update status of old ADR to "Superseded by ADR-NNN"
4. Store and Link
- Keep in
docs/adr/in the repo (versioned with code) - Link from CLAUDE.md or README
- Reference in code comments when a non-obvious choice was made
Key Outputs
- ADR document (in
docs/adr/) - Status updated in future ADRs if decision changes
Anti-Patterns
- ADR written after the decision, without options considered
- Decision section is vague ("we chose Postgres because it's good")
- Editing accepted ADRs instead of superseding
- ADRs stored in Confluence/Notion, not in the repo
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.

