adr-writer
Skill550 starsChanged 7 months agoMITView on GitHub
Use when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- shimo4228/claude-harnesstheir own version, first seen Sep 27, 2026
- shimo4228/akc-cycletheir own version, first seen Sep 26, 2026
- llopresto87/Cypresstheir own version, first seen Sep 22, 2026
- imtiazrayhan/agentscamp-librarytheir own version, first seen Aug 25, 2026
- codebygarv/Ai-skillstheir own version, first seen Aug 16, 2026
- kuju63/skillstheir own version, first seen Aug 1, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- llopresto87/Cypress★ 95same name
- 45ck/software-architecture-skills★ 26same name
- codebygarv/Ai-skills★ 26same name
- shimo4228/claude-harness★ 3same name
- brpaz/agent-skills★ 1same name
- imtiazrayhan/agentscamp-library★ 1same name
- michelve/hugin-cowork★ 1same name
- shimo4228/akc-cycle★ 1same name
- kuju63/skills★ 0same name
- michelve/hugin-v0★ 0same 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 repository11 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- api-design-reviewerSkill
- dataset-profilerSkill
- incident-postmortemSkill
- pr-summarizerSkill
- sprint-plannerSkill
- agent-memory-curatorSkill
- mcp-security-reviewerSkill
- repo-auditorSkill
- research-summarizerSkill
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 9 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 40
Add a one-line entry to MEMORY.md#decisions
“Common” is measured: kept by at least 6 in 10 of the 9 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 Writer
When to use
- A non-trivial architecture decision was just made
- Reverse-documenting a decision that wasn't recorded but should have been
- Preparing for a design review
When NOT to use
- Trivial choices (naming, formatting)
- Operational runbooks (those go to
runbooks/) - Product decisions without architectural impact
Inputs
| Name | Type | Required | Notes |
context | string | yes | The problem being solved, in 2–4 sentences |
options | list | yes | Alternatives considered |
decision | string | yes | Chosen path |
number | int | no | If omitted, finds next ADR number from memory/decisions/ |
Outputs
A file at memory/decisions/ADR-NNNN-<slug>.md matching the ADR template.
Workflow
- Find the next ADR number (or use
numberinput) - Slugify the decision's main subject
- Fill the template:
- Context, Decision, Alternatives, Consequences (positive + negative)
- Status:
accepted(default),proposed,superseded by ADR-XXXX
- Write to
memory/decisions/ADR-NNNN-<slug>.md - Add a one-line entry to
MEMORY.md#decisions
References
../../../templates/ADR.md.template../../../design_docs/adr_guide.md
Success criteria
- Each alternative has a one-line "why not"
- Consequences include at least one negative
- File name matches
ADR-\d{4}-[a-z0-9-]+\.md
Failure modes
- Decision is actually a bundle of decisions → split into multiple ADRs
- Context is unclear → ask user for clarification, don't fabricate
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.

