Skip to content
Back to skills

Architectural Decision Records

ASecurity

Use when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision history.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 23, 2026
ai-agentssqlgitdatabase

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned October 23, 2026

npx -y skills add cedaniel200/atlas-template --skill architectural-decision-records --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architectural Decision Records?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Architectural Decision Records
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cedaniel200-architectural-decision-records/badge)](https://www.skillsdirectory.com/skills/cedaniel200-architectural-decision-records)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: architectural-decision-records
description: Use when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision history.
license: MIT
---

# Architectural Decision Records

## Overview

An Architectural Decision Record captures one architecturally significant decision, its rationale, tradeoffs, and consequences. Optimize for future readers reconstructing decision history.

## When to Use

Use when creating, updating, reviewing, or explaining an ADR, architecture decision, decision log, tradeoff analysis, rationale, consequences, alternatives, or status.

Do not use ADRs for transient implementation details, meeting notes, or insignificant decisions. If significance is unclear, ask what future maintainers will need to know.

## Workflow

1. Identify the single decision. Split multiple decisions into multiple ADRs.
2. Check `preferences.md` for `preferred-style`.
3. If `preferred-style: unset`, ask the user which style to use, then record it in `preferences.md` before drafting.
4. Use the matching file under `templates/`.
5. Capture known facts only: context, requirements, constraints, options, rationale, decision makers, consequences.
6. If facts are missing, mark them as `Unknown` or ask a focused question; do not invent context, options, or quality attributes.
7. Write honest consequences: benefits, downsides, follow-up.
8. Preserve history: supersede old accepted ADRs; do not rewrite them away.

## Template Choice

| Situation | Template |
| --- | --- |
| Detailed tradeoff record | `templates/madr-full.md` |
| Concise tradeoff record | `templates/madr-minimal.md` |
| Classic lightweight ADR | `templates/nygard.md` |
| One-sentence summary | `templates/y-statement.md` |
| Project-specific style | `templates/custom.md` |
| Too little evidence | ADR review notes/questions, not accepted ADR |

## Status Values

| Status | Use when |
| --- | --- |
| Proposed | Under review |
| Accepted | Team committed |
| Deprecated | Historically relevant but no longer recommended |
| Superseded | Replaced by another ADR; link it |

## Preference Prompt

If no preference is recorded, ask:

> Which ADR style should I use and remember for this project: MADR full, MADR minimal, Nygard, Y-Statement, or custom?

After the user answers, update `preferences.md` with the selected `preferred-style`. Do not ask again unless the user asks to change style.

## Review Checklist

- One decision, not a bundle
- Significant: affects structure, quality attributes, constraints, or evolution
- Context explains why it existed
- Rejected options/tradeoffs are explicit
- Rationale is tied to requirements, not preference
- Downsides and follow-up work are recorded
- Status is clear
- Unknowns are marked, not invented

## Example

> Illustrative only: relational, NoSQL or a combination are all valid; what matters is the reasoning.

```markdown
# ADR-012: Choose the storage for orders

## Status

Accepted

## Context

Orders need transactional consistency, reporting joins and predictable access patterns. The team
already operates a relational database well, and the catalog may need flexible schemas.

## Considered Options

- Relational database: integrity, SQL reporting, familiar operations; migrations required.
- Document database (NoSQL): flexible schema, horizontal scaling; weaker fit for multi-entity consistency.
- Combination (polyglot): relational for orders, document for the catalog; two operational models.

## Decision

Use a relational database for orders because consistency and reporting matter more than schema
flexibility. Keep the document store option open for the catalog if its schema keeps changing.

## Consequences

- Positive: integrity and reporting align with needs.
- Negative: schema changes need migrations.
- Follow-up: define migration practice and revisit the catalog decision.
```

## Common Mistakes

| Mistake | Fix |
| --- | --- |
| Several decisions in one ADR | Split them. |
| Sales pitch | Include rejected options and negative consequences. |
| Invented context | Mark unknowns or ask. |
| Treating status as decoration | Use status to show lifecycle and link superseding ADRs. |
| Rewriting history | Keep old ADR; create/link superseding ADR. |
| Omitting alternatives under pressure | Include at least the rejected option and why it lost. |

## Sources

adr.github.io: home, ADR templates, AD practices. See `templates/` for captured template variants.

Files in this skill

  • SKILL.md4.4 KB
  • preferences.md515 B
  • templates/custom.md343 B
  • templates/madr-full.md1.2 KB
  • templates/madr-minimal.md507 B
  • templates/nygard.md482 B
  • templates/y-statement.md502 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.