Skip to content
Skillpedia
Documentation17k Β· #10744

architecture-decision-record-skill

What it does

This skill helps an AI agent create and organize architecture decision records for a software project. It is for developers and teams who want to keep a clear history of why important technical choices were made.

When to use it

  • βœ“When your team is choosing between technologies, such as two databases, and wants the choice written down.
  • βœ“When you need to set up a folder for decision records in a project and follow a clear naming style.
  • βœ“When an old decision is replaced by a new one and the old record needs to be marked as superseded.

Skill link

https://github.com/architecture-decision-record/architecture-decision-record/blob/main/skills/architecture-decision-record-skill/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/architecture-decision-record/architecture-decision-record/blob/main/skills/architecture-decision-record-skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you write an decision record explaining why we chose PostgreSQL over MongoDB for our orders service?”

5 new skills a week. 1 minute to read.

How it works

The agent first checks whether the decision is worth recording, then looks for an existing record folder. It picks a template and fills in the context, the decision and its consequences.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Architecture decision record (ADR) skill

Helps a developer or team create and maintain architecture decision records: short documents that capture an important architecture decision, the context that led to it, and its consequences.

This skill is general-purpose: it applies to any repository the user is working in, not just this one. reference/templates.md and reference/writing-guide.md are self-contained β€” no need to read the rest of this repo to use them.

1. Decide if this decision deserves an ADR

Not every decision needs one. Recommend an ADR when the decision:

  • Is architecturally significant (affects structure, external interfaces, quality attributes, or is expensive/risky to reverse).
  • Needs to be understood by future developers who weren't in the room.
  • Involved real trade-offs worth recording (not a one-line style choice already covered by a linter or style guide).

Skip an ADR when the decision is tiny, self-contained, single-developer, already covered by policy/standards, or purely a temporary workaround/POC.

If the user is unsure, ask what the decision is and who needs to understand "why" later β€” that usually settles it.

2. Find or create the ADR directory

Look for an existing convention first:

git ls-files | grep -iE '(^|/)(adr|adrs|decisions?)(/|$)'
  • If one exists, follow its naming/format/numbering so far.
  • If none exists, ask the user (or default to) a top-level decisions/ or adr/ directory. Some teams prefer decisions/ because the word "architecture" and the abbreviation "ADR" put some contributors off, while "decisions" invites broader use (vendor, planning, scheduling decisions too).
  • Some projects number files (0001-choose-database.md, adr-tools style); others don't. Match what's already there; otherwise unnumbered present-tense file names (see below) are simplest to start with.

3. Name the file

Convention used across this ecosystem:

  • A present-tense imperative verb phrase, e.g. choose-database.md, format-timestamps.md, manage-passwords.md, handle-exceptions.md.
  • Lowercase with dashes.
  • .md extension.
  • If the project numbers ADRs, prefix with a zero-padded sequence number, e.g. 0007-choose-database.md.

4. Pick a template

Ask the user's preference, or pick based on the shape of the decision β€” see reference/templates.md for the full skeletons. Quick guide:

Situation Template
Default / most teams / unsure Nygard β€” Title, Status, Context, Decision, Consequences
Want lightweight options-with-pros/cons MADR
Enterprise, need traceability to requirements/principles Tyree & Akerman
Fast executive sign-off on a narrow technical choice (a library, a model, a CI strategy) ITD (Important Technical Decision)
Vendor/tool selection with cost, SWOT, stakeholder opinions Business case
Want a one-paragraph "Y-statement" style summary plus narrative Alexandrian pattern
Need formal, testable non-functional requirements language Planguage
Contributing to / matching EdgeX Foundry conventions EdgeX
Full architecture documentation, ADR is one section of it arc42 (Β§9)
Want a lightweight traffic-light options-comparison table Gareth Morgan
Want an "Options β†’ Options Analysis β†’ Recommendation" narrative flow GIG Cymru NHS Wales

When in doubt, default to Nygard β€” it's the simplest, most widely recognized, and easiest for a team to adopt without tooling.

5. Write it well

Load reference/writing-guide.md for the fuller checklist. The essentials:

  • One decision per ADR. Don't bundle multiple architecturally distinct decisions into one file.
  • Context should explain the organization's situation, constraints, and the forces in tension β€” not just "we needed a database."
  • Decision should state the chosen direction plainly, not hedge.
  • Consequences should cover both what gets easier and what gets harder, plus any follow-on ADRs this decision now requires.
  • Timestamp it. Costs, vendor pricing, and scaling numbers change β€” date anything that might go stale.
  • Give the record a status: proposed | accepted | rejected | deprecated | superseded by <link>.

6. Handle supersession, not silent edits

ADRs are usually treated as immutable once accepted (some teams instead prefer a "living document" with dated addenda β€” ask if unsure which this team wants). When a new decision replac

FAQ

Does every technical choice need a decision record?

No. The skill recommends records for significant decisions that are costly to reverse, and skips small or temporary choices.

Will the agent follow our existing record format?

Yes. If your project already has a records folder, the agent follows its naming and numbering.

Can it replace an old decision record?

Yes. The skill covers writing a new record that supersedes an older one.

Details

Original description by the author

Use when a user wants to create, write, name, place, or organize an Architecture Decision Record (ADR) in a software project β€” e.g. "write an ADR for choosing a database", "document this architecture decision", "set up an adr/ or decisions/ directory", "which ADR template should I use", "supersede an old ADR". Covers picking a template, naming the file, filling in context/decision/consequences, and deciding whether a decision even needs an ADR.

repo: architecture-decision-record/architecture-decision-record

Popularity

GitHub stars
17k
Ranking position
#10744
License
β€”
Updated
10/29/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

Similar skills