architecture-decision-records · git:20261120.76a1b83 · 2026-11-20 · sha256 77864aa9ad29192e
architecture-decision-records git:20261120.76a1b83A
Immutable. This exact content never changes and is served at /api/v1/blob/77864aa9ad29192e.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_x262ibkwjgvpo2bn/77864aa9ad29192e36cbce8b7fec95d7167f7d600356f2fd74e6149fdf9209e4.json
Then /plugin install architecture-decision-records@markdownregistry-x262ibkwjgvpo2bn in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
---
name: architecture-decision-records
description: Writes architecture decision records that capture the context, the options weighed, the decision and its consequences in a short, numbered file.
---
# Architecture decision records
One decision per record. Write it so a stranger can follow the reasoning in two minutes.
## Steps
1. Look for an existing folder (`docs/adr`, `docs/decisions`, `adr/`) and follow its numbering and template. If none exists, create `docs/adr/` and start at `0001`.
2. Name the file `NNNN-short-title-in-kebab-case.md`. Never renumber or delete earlier records.
3. Write these sections:
- **Title**: a decision as a phrase, such as "Use PostgreSQL for order storage".
- **Status**: Proposed, Accepted, Deprecated, or Superseded by ADR-NNNN.
- **Context**: the forces at play: requirements, constraints, team skills, deadlines, scale numbers. Facts only.
- **Options considered**: two to four, each with its strongest argument and its main drawback. Include "do nothing" when it is real.
- **Decision**: one clear sentence in active voice ("We will..."), then the reason it won.
- **Consequences**: what gets easier, what gets harder, what risks remain, and what would make us revisit.
4. Check each claim against the code or docs. Link tickets, benchmarks and the relevant files.
5. Keep it to one page. Cut history that does not change the decision.
6. If the new record replaces an older one, update only the old record's status line to point to it.
## Rules
- Never record a decision the user has not made. Ask when the choice is still open and mark it Proposed.
- Do not hide the downsides of the chosen option.
## Report
The new file path, its status, and any older records it supersedes.