Skip to contentBlack Friday sale: Team is $7 a seat a month for 12 months, normally $15.Ends Friday, December 4
KnowWhyy

Free templates

Decision log and ADR templates.

Four plain templates for writing down why a decision was made, so the reason is still findable in a year. Copy them from this page or download the files. Public domain, no signup.

Download all templates

A small zip of Markdown and CSV files.

Which one to use

Start with the smallest that fits.

  1. 1. Most decisionsThe five-line recordPasted into the pull request or the thread where the decision was made.
  2. 2. Decisions people will ask about againA row in the decision logOne table the whole team can scan.
  3. 3. Decisions that are expensive to undoAn ADR in the repositoryReviewed with the change and versioned with the code.

Every template has two fields that most others leave out. Rejected records what you didn't choose and why, which is what stops the same debate from starting again. Revisit if names the condition that would reopen the decision, so a later reader can tell whether the reasoning still applies.

The templates

Copy one, or take the files.

The five-line record

Use it whenA decision was just made in a chat thread, a call or a comment, and you have two minutes.

DECISION: what we chose, in one sentence
WHY: the constraint or evidence that settled it
REJECTED: the options we didn't take, and why not
OWNER: who to ask, and the date
REVISIT IF: the condition that would reopen it

Paste it where the decision happened. In a chat thread, make it the last message and pin it.

Decision log

Use it whenThe decision isn't about architecture: a vendor, a library, how on-call rotates, what “done” means.

| Date | Decision | Why | Rejected | Owner | Status | Revisit if | Link |
|---|---|---|---|---|---|---|---|
| YYYY-MM-DD | What we chose, in one sentence | The constraint or evidence that settled it | Options we didn't take, and why not | One name | Active | The condition that would reopen it | PR, thread, ticket or doc |

One row per decision, newest at the top. Never delete a row: change its status and add the new decision above it.

Architecture decision record (ADR)

Use it whenThe decision is hard to reverse: a datastore, an external service, a public API, a major dependency.

# ADR NNNN: Short title that states the decision

Status: Proposed | Accepted (YYYY-MM-DD) | Superseded by NNNN | Reversed (YYYY-MM-DD)
Deciders: names
Supersedes: none | NNNN

## Context

What is true right now that forces a decision? Give the facts and the constraints: load, cost, deadlines, team size, what broke. Link the discussion.

Discussion: <link to thread>, <link to pull request or ticket>

## Decision

What we will do, in one or two sentences. Write it in the present tense.

## Options considered

- **Option A:** what it is. Why we didn't choose it.
- **Option B:** what it is. Why we didn't choose it.
- **Option C (chosen):** what it is. Why it won.

## Consequences

- What becomes easier.
- What becomes harder, or what we give up.
- What else has to change because of this.

## Revisit if

The condition that would reopen this decision. Make it something you could check, with a number if possible.

One file per decision in docs/adr, numbered in order. The starter folder adds a first record, a list of triggers and an index.

Pull request sections

Use it whenYou want the requirement and the reason written down in the same place as the change.

## What was asked
<!-- One sentence, plus a link to where it was asked: Closes #123 or ENG-123 -->

## Why this approach
<!-- The constraint or evidence that settled it -->

## Considered and rejected
<!-- Other options, each with the reason it lost. "None" is a valid answer. -->

## Not in this pull request
<!-- Anything from the request that is left for later, with a link -->

Add these to .github/pull_request_template.md. The file also has a checkbox section for ADRs and the decision log.

In your tools

Where each template goes.

A Git repository

Copy the adr folder to docs/adr. Paste the pull request sections into .github/pull_request_template.md.

Notion

Import decision-log.csv. Notion turns each row into a database item and each column into a property. Then set Status to a Select property and delete the two example rows.

Confluence

Open decision-log.csv in a spreadsheet, copy the cells and paste them into a page to get a table. For ADRs, create one page per record under a parent page called Decisions.

Jira

Put the five-line record in a comment on the work item when the decision is made there, and link the work item from the decision log.

Keeping them alive

Five habits that matter more than the format.

  • Write the record in the same pull request as the change. Later doesn't happen.
  • Number ADRs and never delete one. Mark it superseded and leave it.
  • Link to the discussion. The record is the summary; the thread is the evidence.
  • Give every decision one owner to ask, by name.
  • Read down the “Revisit if” column once a quarter.

FAQ

About the templates

Released under CC0 1.0. Once the reasons are written down, KnowWhyy can answer questions about them with a citation on every claim.

What is a decision log?

A decision log is a single table with one row per decision: what was chosen, why, what was rejected, who owns it and what would reopen it. It suits decisions that aren't about architecture, such as a vendor, a library or a process.

What is the difference between a decision log and an ADR?

A decision log is one table for many small decisions. An architecture decision record (ADR) is one short document per decision, kept in the repository, for choices that are hard to reverse. A log row that needs three paragraphs should become an ADR.

What should an ADR contain?

A title that states the decision, its status, the context that forced it, the decision itself, the options considered with the reason each lost, the consequences, and a condition for revisiting it. This follows Michael Nygard's original format with two additions: options considered and a revisit condition.

Can I use these templates at work?

Yes. They are released into the public domain under CC0 1.0. Copy, change and share them with no credit needed and no signup.

Do I need KnowWhyy to use them?

No. They are plain Markdown and CSV files that work in any repository, Notion, Confluence or Jira. KnowWhyy is a separate product that answers questions about decisions your team has already written down.

Get started

Ask your first question in minutes.

Create a workspace, connect a tool and choose what gets indexed. The free plan includes GitHub, Slack, Notion, Jira, Confluence and Google Drive.

  • Free for 2 members
  • Only reads your content
  • Never reads DMs or source code

From sign-up to first answer

  1. Create a workspace

    Sign up with Google or email. The free plan has no time limit.

  2. Connect a tool

    Choose exactly which repositories, channels, pages, projects and spaces are indexed.

  3. Ask your first question

    Get an answer with numbered citations you can open and check.