A small ADR that saves rework
Make the big choice once. A short ADR gives your team and your AI one clear answer to follow.

- What it does
- A one-page decision record (ADR) you can copy, a filled example, a small product outline, and the exact sentence to give your AI coding helper.
- Who it is for
- Small teams and solo builders whose AI agent keeps changing its mind about the database, sign-in or hosting.
What an ADR is
ADR means architecture decision record. Use one record for one choice that could cause expensive rework, like how people sign in or where the data lives.
This guide gives you a template to copy, a filled example, a small PRD to keep the product goal clear, and the exact sentence to hand your AI coding helper.
Get the files
Everything on this page, ready to keep.
1. Copy this template
# ADR 0001: [short title]
Status: proposed | accepted | replaced
Date: YYYY-MM-DD
Context: [problem and important limits]
Decision: [chosen option in one sentence]
Options considered:
- [Option A]
- [Option B]
Consequences: [benefit, trade-off or risk]
Review trigger: [what new evidence could change the choice]
2. Filled example: sign-in
A fictional room booking app.
| Part | Example |
|---|---|
| Context | The first release needs member accounts. The small team wants to avoid storing passwords. For this example, every first-release member already has a Google account. |
| Decision | Use Google sign-in only in v1. |
| Considered | Google sign-in, email and password. |
| Trade-off | No Google account means no v1 access. Adding another sign-in method can come later. |
| Review trigger | If research shows intended members cannot or will not use Google accounts, revisit before building sign-in. |
This is an example of recording a choice, not a universal security recommendation.
3. Keep the product goal clear
A small PRD says what to build and why. Put technical choices in ADRs.
# Product: [name]
Problem and user: Who is stuck, and why?
Evidence: What have we observed?
Success: What result can we measure?
Must have: What has to work at launch?
Nice to have: What can wait?
Out of scope: What will we not build?
Risks / open questions: What is still unknown?
Example success measure: a member can find and reserve an open room in under two minutes.
4. Put it to work
- Name the choice and the problem it solves.
- Write down two real options, including the one you choose.
- State the trade-off and what new evidence would change your mind.
- Set status to accepted only after the right person agrees.
- Save it as
docs/adr/0001-sign-in-method.md. Keep the PRD beside it asdocs/PRD.md.
Tell your AI coding helper:
Read docs/adr/0001-sign-in-method.md before changing sign-in. If the decision no longer fits, explain why and propose an updated ADR before coding.
Update the record when a decision changes. Do not quietly replace it.