write-adr
Skill1 starsChanged 2 months agoMITView on GitHub
Draft an Architecture Decision Record using Tejas's template — numbered, immutable once accepted, table header, `---` dividers, emoji H2s. Capture the context and the honest trade-offs, not just the decision. Use when asked to "write an ADR", "record this decision", "document why we chose X", or after a significant technical call is made.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- LeonardoEnnes/ai-engineering-toolkittheir own version, first seen Nov 8, 2026
- adhamhaithameid/write-skillstheir own version, first seen Nov 8, 2026
- helmut-hoffer-von-ankershoffen/heinzeltheir own version, first seen Nov 8, 2026
- 0xdeafcafe/skillstheir own version, first seen Nov 6, 2026
- pahlevikun/levistacktheir own version, first seen Nov 1, 2026
- daniel-kindl/dkstacktheir own version, first seen Nov 1, 2026
Used with
Projects with it also use code-review.
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.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- HexamindOrganisation/hexgate★ 23same name
- helmut-hoffer-von-ankershoffen/heinzel★ 2same name
- adhamhaithameid/write-skills★ 1same name
- daniel-kindl/dkstack★ 1same name
- fabianmagrini/skills★ 1same name
- MaheshAwasare/claude-skills-pro★ 1same name
- 0xdeafcafe/skills★ 0same name
- dr-zog/plumbline★ 0same name
- Industrial-AI-Research-Lab/nir-agent-overlay★ 0same name
- LeonardoEnnes/ai-engineering-toolkit★ 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 repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bigquery-analyticsSkill
- cache-invalidationSkill
- mongo-aggregationSkill
- mongo-modelingSkill
- postgres-aggregationSkill
- postgres-indexingSkill
- redis-coordinationSkill
- redis-patternsSkill
- review-querySkill
- code-migrationSkill
- cut-releaseSkill
- data-migrationSkill
- deploy-serviceSkill
- hotfixSkill
- rollbackSkill
- design-endpointSkill
- design-eventSkill
- design-schemaSkill
- evolve-contractSkill
- scaffold-nestjs-moduleSkill
- scaffold-projectSkill
- incident-responseSkill
- investigate-bugSkill
- on-callSkill
- postmortemSkill
- audit-skillsSkill
- distill-review-styleSkill
- write-skillSkill
- debug-with-tracesSkill
- define-alertsSkill
- instrument-serviceSkill
- evaluate-dependencySkill
- grillSkill
- handoffSkill
- orientSkill
- phased-deliverySkill
- spikeSkill
- to-questionnaireSkill
- write-prdSkill
- devops-pr-reviewSkill
- go-backend-pr-reviewSkill
- nestjs-backend-pr-reviewSkill
- python-backend-pr-reviewSkill
- react-frontend-pr-reviewSkill
- bisectSkill
- break-couplingSkill
- dead-code-sweepSkill
- deslopifySkill
- extract-moduleSkill
- rebase-cleanSkill
- resolve-merge-conflictsSkill
- split-commitSkill
- tddSkill
- wait-whatSkill
- wide-renameSkill
- bullmqSkill
- kafkaSkill
- sqs-consumerSkill
- audit-dependenciesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Not for small, reversible choices — those live in the PR description.
“Common” is measured: kept by at least 6 in 10 of the 12 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
Write an ADR
Fills in docs/templates/ADR.md.
When to use
- A decision was made that is expensive to reverse (framework, datastore, protocol, boundary, auth model, build system).
- A reviewer or a new hire keeps asking "why is it done this way?".
- A decision is being proposed and needs written options before the call.
Not for small, reversible choices — those live in the PR description.
Process
- Find the next number. ADRs are sequential and zero-padded:
docs/adr/0007-use-sqs-not-kafka.md. Never renumber. - Write
Contextfirst, without the decision in mind. State the forces: the problem, the constraints, the requirements, the assumptions. Facts only. If the context doesn't make the decision feel necessary, the context is incomplete. - State the
Decisionin active voice — "We will …". Specific enough to act on. - List
Alternativeshonestly — the ones actually considered, each with a one-line "rejected because". "Do nothing" is always an alternative. - Write
Consequences— including the bad ones. This is the section that makes an ADR worth keeping. New risk accepted, new constraints, follow-up work. - Set Status.
Proposedif the call isn't final;Acceptedonce it is. - Immutability: an Accepted ADR is not edited. To revisit, write a new ADR,
set its
Supersedes, and flip the old one's Status toSuperseded by ADR-NNNN.
House conventions
- Filename
NNNN-kebab-slug.md, titleADR-NNNN: Title. - Header is a table. One
---between every section. Emoji H2s as in the template. - Conventional-commit:
docs: add ADR-NNNN <slug>(ordocs: supersede ADR-NNNN). - Link the ADR from the PRD or ticket that prompted it, and vice versa.
Anti-patterns
- ❌ A
Contextthat argues for the decision instead of describing the situation. - ❌ Editing an Accepted ADR to change the decision — supersede instead.
- ❌
Consequenceswith only upsides. - ❌ Alternatives section listing options nobody actually weighed.
- ❌ Writing an ADR for a trivially reversible choice.
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.

