Architecture Decision Records (ADR)

VerifiedSafe

This skill helps document and manage architecture decisions using structured ADR templates. It guides users through context, decision drivers, options, and consequences for technical choices. Use it when evaluating new frameworks, database technologies, API designs, or security architecture.

Sby Skills Guide Bot
DocumentationBeginner
6/2/2026
Claude CodeCopilotCursor
#architecture#decision-records#technical-documentation#adr#best-practices

Recommended for

Automated summary

This skill helps document significant technical decisions using structured ADR templates and best practices.

Strengths

  • Provides ready-to-use templates for different decision complexities
  • Enforces a review and approval process with senior engineers
  • Captures context, alternatives, and consequences before implementation
  • Enables long-term traceability and knowledge sharing

Limitations

  • Requires discipline to write ADRs before implementing
  • Can be time-consuming for small or reversible decisions
  • Does not cover non-technical or operational decisions
When to use it

When making important architectural or technical choices that need documented rationale, team alignment, and future reference.

When not to use it

For routine maintenance, minor version upgrades, or implementation details that don't affect the system's architecture or design.

Security analysis

Safe
Quality score95/100

The skill is a documentation guideline with no executable code or system-altering instructions. It uses only the Read tool to access reference files, posing no execution risk.

No concerns found

How this analysis is made

Examples

Database Selection ADR
Create an Architecture Decision Record for choosing PostgreSQL as our primary database. Include context about our need for ACID compliance and JSON support, list 2 alternatives (MySQL and MongoDB), and document the consequences.
ADR Review
Review our existing ADRs in the docs/adr/ directory and provide a summary of the key architectural decisions made, highlighting any that are now deprecated or superseded.
ADR Template Draft
Draft an ADR template for our team that includes sections for context, decision drivers, options considered, decision, consequences, and mitigations. Use the MADR format.

name: architecture-decision-records description: This skill should be used when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes. It provides ADR templates and best practices. allowed-tools: Read

Architecture Decision Records

Capture the context and rationale behind significant technical decisions using structured ADR formats.

When to Use This Skill

| Write ADR | Skip ADR | | -------------------------- | ---------------------- | | New framework adoption | Minor version upgrades | | Database technology choice | Bug fixes | | API design patterns | Implementation details | | Security architecture | Routine maintenance | | Integration patterns | Configuration changes |

Quick Start

  1. Copy the template: cp docs/adr/template.md docs/adr/NNNN-your-title.md
  2. Fill in: Context, Decision Drivers, Options, Decision, Consequences
  3. PR for review (2+ senior engineers)
  4. Update docs/adr/README.md index after merge

Core Concepts

An Architecture Decision Record captures:

  • Context: Why we needed to make a decision
  • Decision: What we decided
  • Consequences: What happens as a result

ADR Lifecycle

Proposed --> Accepted --> Deprecated --> Superseded
                |
             Rejected

Read reference/adr-lifecycle.md for status transitions, deprecation patterns, and review checklists.

Process

1. Choose a Template

Pick the format that fits the decision's complexity:

| Decision Complexity | Template | |---------------------|----------| | Simple tech selection | Y-Statement (one paragraph) | | Medium decision | Lightweight ADR (0.5-1 page) | | Significant architecture change | Standard MADR (1-2 pages) | | Retiring a decision | Deprecation ADR | | Major cross-team proposal | RFC Style (2-4 pages) |

Read reference/adr-templates.md for all template formats ready to copy-paste.

2. Write the ADR

  • Start with context -- explain the problem before the solution
  • List 2-3 real alternatives with honest pros/cons
  • State the decision clearly
  • Document both positive and negative consequences with specifics

3. Review and Approve

  • Submit as PR with 2+ senior engineer reviewers
  • Consult affected teams
  • Assess security, cost, and reversibility implications

4. Maintain

  • Update ADR index after acceptance
  • Create implementation tickets
  • Never edit accepted ADRs -- write new ones to supersede

Read reference/adr-examples.md for complete worked examples (PostgreSQL selection, TypeScript adoption, MongoDB deprecation, event sourcing RFC).

Minimal Template (Copy-Paste Starter)

# ADR-NNNN: [Title]

## Status
Proposed | Accepted | Deprecated | Superseded by ADR-XXXX

## Context
[Why do we need to decide this? What's the problem?]

## Decision
We will [decision].

## Consequences
- **Good**: [benefits]
- **Bad**: [drawbacks]
- **Mitigations**: [how we'll address the bad]

Common Mistakes

| Mistake | Fix | |---------|-----| | Writing ADR after implementation | Write during design phase | | Listing only one option | Always include 2-3 real alternatives | | Vague consequences | Be specific: "Adds ~200ms latency to checkout" | | Editing accepted ADRs | Write new ADR that supersedes | | No decision drivers | List explicit criteria with priorities | | Missing rejected ADRs | Document rejected options too |

Directory Structure

docs/adr/
  README.md           # Index of all ADRs
  template.md         # Team's ADR template
  0001-use-postgresql.md
  0002-caching-strategy.md

Reference Files

| File | Contents | |------|----------| | reference/adr-templates.md | All formats: MADR, lightweight, Y-statement, deprecation, RFC | | reference/adr-examples.md | Complete worked examples for each format | | reference/adr-lifecycle.md | Status transitions, review checklists, automation with adr-tools |

Resources

Error Handling

Conflicting ADRs: When a new decision contradicts an existing ADR, create a superseding ADR that explicitly references and deprecates the old one.

Missing context: If the decision rationale is unclear or incomplete, flag it and request clarification before recording.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/architecture-decision-records-adr-mmbiziz9' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/architecture-decision-records-adr-mmbiziz9/download' --output '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md.part' && mv '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md.part' '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md' && test -s '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/architecture-decision-records' && cp -R '.skill-downloads/architecture-decision-records-adr-mmbiziz9' '.claude/skills/architecture-decision-records'

Cursor
test -f '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md' && test -s '.skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/architecture-decision-records' && cp -R '.skill-downloads/architecture-decision-records-adr-mmbiziz9' '.cursor/skills/architecture-decision-records'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/architecture-decision-records-adr-mmbiziz9'

openskills read 'architecture-decision-records-adr-mmbiziz9'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/architecture-decision-records-adr-mmbiziz9/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills