In this post
What goes in an ADR?
Michael Nygard’s widely used format has a title, a status such as proposed, accepted or superseded, the context that forced the decision, the decision itself, and its consequences, good and bad. Many teams add the options they considered and why they were rejected. One or two pages is enough.
Which decisions deserve one?
Those that are expensive to undo or that someone will later question: choosing a database, splitting a service, adopting a framework, changing how authentication works. A useful test is whether a new team member would ask “why did we do it this way?”.
Where should ADRs live?
In the repository the decision affects, in a folder such as docs/adr, numbered in order. They are reviewed in pull requests like code, versioned with it, and found by the people who change it.
What happens when a decision changes?
Do not edit the old record. Write a new ADR that supersedes it, and mark the old one as superseded with a link. The history of changed decisions is itself useful, because it shows what the team learned.
How do you keep the habit going?
Make writing an ADR part of the work, not a separate task: draft it when the decision is being discussed, use it as the agenda for the review, and link it from the pull request that implements it. Short, plain records get written; long templates get skipped.
Sources and further reading
- Nygard, M. Documenting Architecture Decisions. Cognitect blog, 2011.
- Keeling, M. Design It! From Programmer to Software Architect. Pragmatic Bookshelf, 2017.
Go deeper: CTP™ credential · the TPBOK™ standard · Check your experience
IICTP is an independent technical credentialing body.