adr-writer
Skill276 starsChanged 38 days agoMITView on GitHub
Write decision records that explain context, evaluated alternatives, chosen direction, and consequences without creating product obligations
12 other projects use a version of this.
Adopted by
Most recently taken up by
- llopresto87/Cypresstheir own version, first seen Nov 11, 2026
- Mathews-Tom/armorytheir own version, first seen Nov 1, 2026
- pathiec92/claude-skillstheir own version, first seen Oct 25, 2026
- mikulgohil/claude-skillstheir own version, first seen Oct 13, 2026
- GabrielHenriqueCA/cortex-aitheir own version, first seen Oct 11, 2026
- applypack/applypacktheir own version, first seen Aug 27, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- Mathews-Tom/armory★ 340same name
- llopresto87/Cypress★ 121same name
- applypack/applypack★ 30same name
- 45ck/software-architecture-skills★ 16same name
- Ecoa-PUC-Rio/GAIDE★ 8same name
- jcarlos78/GAIDE★ 8same name
- brpaz/agent-skills★ 1same name
- GabrielHenriqueCA/cortex-ai★ 1same name
- kuju63/skills★ 0same name
- mikulgohil/claude-skills★ 0same name
2 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- commitSkill
- decision-analysisSkill
- detachSkill
- discussSkill
- govSkill
- guard-writerSkill
- initSkill
- migrateSkill
- quickSkill
- rfc-writerSkill
- specSkill
- wi-writerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read related decisions and requirements first with govctl adr show <ADR-ID> and govctl search <topic>.
- Very specific: line 22
Do not accept, reject, or supersede an ADR here.
- Distinctive: line 27
Stop if the governing requirement or the decision itself is unclear.
- Very specific: line 79
Do not write Context, Decision, Consequences, or Alternatives Considered headings into content fields, and do not restate alternatives' …
- Distinctive: line 85
every alternative was really considered, and an uncontested decision says so.
“Common” is measured: kept by at least 6 in 10 of the 7 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
Record why one design direction was chosen over alternatives, under what constraints, and with what consequences. An ADR is not a mini-RFC or an execution log.
Discovery
Read related decisions and requirements first with govctl adr show <ADR-ID>
and govctl search <topic>; add --history only when superseded history
matters. Use govctl <resource> --help for current syntax.
Hard Stops
- Do not accept, reject, or supersede an ADR here; hand that to
specorgov. - RFCs own obligations, ADRs own design rationale, and Work Items own execution scope. Do not create behavior, validation, lifecycle, storage, or compatibility obligations in ADR prose, and do not record task scope, progress, commands, or validation output.
- Stop if the governing requirement or the decision itself is unclear.
Writing Order
- Context: the problem, constraints, and decision drivers.
- Alternatives actually considered, with only the pros and cons that influenced the outcome. Never pad to a quota: one real rejected option beats three fabricated ones, and when only one viable direction exists, say so in a sentence.
- Mark chosen and rejected alternatives and why each rejected one lost.
- Decision: commit clearly to what is decided, as the conclusion of that comparison.
- Consequences: benefits, costs, and mitigations, not only benefits.
For a historical backfill, separate recovered evidence from inference and say so when alternatives cannot be recovered.
Decide Only What Must Be Decided Now
An ADR written before implementation has little evidence about low-level design, yet implementing agents treat everything it states as settled. Record the direction, boundaries, and constraints that are costly to reverse or that other work depends on. For each sub-choice, ask whether deciding it during coding would lose anything; if not, leave it out, or name it as deferred to implementation with any constraint it must respect.
Data layouts, helper decomposition, algorithms, error-handling mechanics, and step-by-step procedures rarely belong in an ADR written before code exists. Record such a choice after implementation has produced the evidence. Language-specific structure belongs only when it is central to the decision.
Keep It Short
A typical ADR is a few dozen lines. Cut background the reader already has, alternatives nobody seriously considered, and pros and cons that did not matter. Bloat is a defect: it hides the decision.
Normative keywords quoted from an RFC do not make the ADR authoritative. Rewrite accidental obligation lists as rationale, or move the missing contract to its RFC.
Projection Ownership
Per [[RFC-0000:C-ADR-PROJECTION-OWNERSHIP]]:
| Content | Owner |
| Metadata and fixed section headings | Renderer |
| Reference inventory | refs |
| Options, statuses, pros/cons, rejection reasons | content.alternatives |
| Explanatory prose | context, decision, consequences |
Do not write Context, Decision, Consequences, or Alternatives
Considered headings into content fields, and do not restate alternatives'
statuses, pros, cons, or rejection reasons in prose.
Before Handoff
- every alternative was really considered, and an uncontested decision says so;
- the decision leaves choices that coding can settle better to implementation;
- consequences include real costs;
- references connect the decision to its governing RFCs, and configured project tags are applied;
govctl checkpasses; andadr-reviewerhas no unresolved critical finding.
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.

