<aside> 📍

This template becomes a file in your GitHub repository. Do not keep the only copy in Notion.

</aside>

What is an ADR?

Where does it go?

  1. Make a folder in your repository called docs/adr.
  2. Save each decision as its own numbered file, like docs/adr/0001-use-nextjs-with-material-ui.md. The numbers show the order you made the decisions.
  3. Commit and push it along with the code it affects.
  4. Add this line to your project's CLAUDE.md file: "Read every ADR in docs/adr before making changes, and write a new ADR for every big decision."

When a decision changes

The template

Copy everything in the box below into a new file in docs/adr. Fill in each part.

# ADR-0000: [The decision, in a few words]

## Date and status
[Date]. [Proposed, Accepted, or Replaced by ADR-0000]

## Context
What is happening? What problem pushed you to make a choice?

## Options
What choices did you look at? Write the good and bad parts of each one.

- Option 1:
  - Good:
  - Bad:
- Option 2:
  - Good:
  - Bad:

## Decision
What did you choose, and why?

## Consequences
What happens because of this choice? What gets easier? What gets harder?
What do you need to do next?

Example

# ADR-0001: Use Next.js with Material UI

## Date and status
October 31, 2026. Accepted.

## Context
We need screens and server code for a three-tier app that runs on Vercel.

## Options
- Plain React:
  - Good: It is simple to start.
  - Bad: It needs a separate place for server code.
- Next.js:
  - Good: It holds the screens and the server code in one project.
  - Bad: We have to learn which code runs in the browser and which runs on the server.

## Decision
Use Next.js with Material UI, because it covers two of our three tiers in one project.

## Consequences
We learn where code runs, in the browser or on the server.
Material UI's theme file needs a "use client" line at the top.