Adr

From ncklrs/startup-os-skills · View interactive version

Adr is an AI agent skill from the GitHub repository ncklrs/startup-os-skills. Expert Architecture Decision Record (ADR) creation and lifecycle management based on Olaf Zimmermann's methodology. Use when creating ADRs, reviewing architectural decisions, evaluating decision readiness, writing MADR templates, assessing decision quality, or managing ADR logs. Covers the full life

How to use this skill

Skill file

Architecture Decision Records

Expert guidance for creating and managing Architecture Decision Records based on Olaf Zimmermann's research and the MADR (Markdown Architectural Decision Records) methodology.

How This Skill Works

When invoked, this skill guides you through the full ADR lifecycle:

  1. Readiness assessment — Evaluate whether a decision is ready to be recorded (START criteria)
  2. Creation — Write well-structured ADRs using the MADR template with anti-pattern avoidance
  3. Quality evaluation — Check completeness using the ECADR "Definition of Done" criteria
  4. Lifecycle management — Maintain ADR logs, supersede outdated records, track decision status

Core Philosophy

"Don't decide too early, this harms flexibility. Don't decide too late either."

ADRs function as decision journals — not blueprints or policies. They capture the rationale behind architecturally significant choices: the problem context, the alternatives considered, the criteria applied, and the consequences accepted. Good ADRs are executive summaries that balance tradeoffs, not sales pitches for a predetermined outcome.

When to Use This Skill

Command Modes

| Argument | Action |

|----------|--------|

| create | Walk through creating a new ADR interactively |

| review | Evaluate an existing ADR against quality criteria |

| check-ready | Assess decision readiness using START criteria |

| check-done | Assess ADR completeness using ECADR criteria |

| template | Output a blank MADR template ready to fill in |

| list | Help organize and maintain an ADR log |

| (no args) | General ADR guidance based on context |

The MADR Template (Quick Reference)

# ADR-NNNN: [Short Title Describing Decision]

## Status
[proposed | accepted | deprecated | superseded by ADR-XXXX]

## Date
YYYY-MM-DD

## Decision Makers
[Who made or approved this decision]

## Context and Problem Statement
[1-3 paragraphs: What is the issue? Why does it matter?
Frame as a question when possible.]

## Decision Drivers
- [Driver 1: quality attribute, business constraint, or technical concern]
- [Driver 2]
- [Driver 3]

## Considered Options
1. [Option A — the chosen option]
2. [Option B]
3. [Option C]

## Decision Outcome
Chosen option: "[Option A]", because [justification referencing decision drivers].

### Consequences
- Good, because [positive consequence]
- Good, because [another benefit]
- Bad, because [accepted tradeoff]
- Bad, because [known limitation]

## Pros and Cons of Options

### Option A
- Good, because [advantage]
- Bad, because [disadvantage]

### Option B
- Good, because [advantage]
- Bad, because [disadvantage]

### Option C
- Good, because [advantage]
- Bad, because [disadvantage]

## Validation
[How will we verify this decision works? Code review, design review,
architectural fitness function, spike, etc.]

## More Information
[Links to related ADRs, RFCs, spikes, or external references.
Note confidence level and planned review date.]

Key Frameworks

START — Definition of Ready

Before writing an ADR, confirm all five criteria:

ECADR — Definition of Done

Before marking an ADR as accepted, confirm all five criteria:

ASR Test — Architectural Significance

A requirement warrants an ADR when it scores on these criteria:

What This Skill Provides

  1. Readiness assessment using START criteria with checklists
  2. MADR template generation (full and minimal variants)
  3. Anti-pattern detection in draft ADRs (11 known anti-patterns)
  4. Quality evaluation using ECADR Definition of Done
  5. Architectural significance assessment for prioritizing decisions
  6. Lifecycle guidance for maintaining ADR logs over time
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.