Generate Architectural Decision Records (ADRs) in MADR format. Invoke when the user requests an ADR or when the adr-review skill surfaces uncovered architectural decisions and the user agrees to record them. Do NOT auto-create ADRs without user approval. ADRs are written to docs/adr/ in the current git repository.
Record architectural decisions as concise MADR documents in docs/adr/ within the current repo.
docs/adr/ to determine if this decision supersedes a previous onedocs/adr/ is not gitignoreddocs/adr/ at the repo root (create if missing via mkdir -p)YYYYMMDD_<subject>.md — use today's date, lowercase snake_case subject
20260224_use_postgresql_for_persistence.mddocs/adr/OVERVIEW.md — always regenerate after writing/superseding an ADRADRs MUST be as short as possible. Target guidelines:
supersedes: YYYYMMDD_<subject>.md in the new ADR's frontmattersuperseded by YYYYMMDD_<subject>.mdstatus field when supersededRegenerate the full file each time. List only active (non-superseded) ADRs:
# Architectural Decision Records
| Date | Decision | Supersedes |
|------|----------|------------|
| YYYY-MM-DD | [Short title](YYYYMMDD_<subject>.md) | [Previous title](YYYYMMDD_<prev>.md) or — |
After writing, verify docs/adr/ is not excluded:
git check-ignore docs/adr/OVERVIEW.md