ADR (Architecture Decision Record): A document that captures an important architectural decision, including the context, options considered, and the rationale for the chosen approach. An Architecture Decision Record, or ADR, is a short document that captures one important technical decision. It describes the context, the options you considered, what you chose and why. The value shows up months later. Someone asks why the project uses a message queue, or why invoices are stored as PDFs instead of generated on demand. Without a record, the answer depends on who remembers. With an ADR, the reasoning is in the repository, next to the code it shaped.
Frequently asked questions about ADR (Architecture Decision Record)
What should you keep in mind with ADR (Architecture Decision Record)?
Keep ADRs brief, often one page, and store them in a docs/adr folder with a number and a title. Never edit an old decision to say something new. Write a new ADR that replaces it. That history is useful when you hand a project to another developer, because it explains the code as well as what it does.
Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.
Creates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams). Keeps both formats in sync on updates. Use when user says "create an ADR", "document this decision", "write an ADR", "ADR for X", or when creating or updating a file in docs/adr/.
Step-by-step workflow for writing Product Requirements Documents. Use when creating PRDs, documenting features, writing specifications, or planning new products. Triggers on "write PRD", "create PRD", "document requirements", "feature spec", or "product requirements".