Skip to content
Back to skills

Adr

ASecurity

Create or review an Architecture Decision Record with options, trade-offs, consequences, a migration path, required observability, and measurable revisit conditions. Use when a significant technical decision is being made or needs recording.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 16, 2026
developmentgogit

Security analysis

A100/100

Scanned October 16, 2026

npx -y skills add mhayk/oab --skill adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adr?

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

Security grade badge for Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mhayk-adr/badge)](https://www.skillsdirectory.com/skills/mhayk-adr)

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: adr
description: >-
  Create or review an Architecture Decision Record with options, trade-offs, consequences,
  a migration path, required observability, and measurable revisit conditions. Use when a
  significant technical decision is being made or needs recording.
argument-hint: "[decision title]"
allowed-tools: Read, Glob
---

# Architecture Decision Record

Decision: **$ARGUMENTS**

Use `${CLAUDE_PLUGIN_ROOT}/templates/adr.md` and follow
`${CLAUDE_PLUGIN_ROOT}/frameworks/evolution-triggers/procedure.md` for the revisit conditions.

## 1. Number it

Find the highest existing `docs/adr/NNNN-*.md` and use the next number, zero-padded to four
digits. Create `docs/adr/` if it does not exist.

## 2. Establish context with numbers

An ADR whose context contains no numbers is an opinion with a template around it. State the
measured or assumed scale that forces this decision.

## 3. Generate at least two options

**One must be the simplest viable option**, stated fairly rather than as a straw man. Most
architecture failure is failing to consider "just use what you already have".

Each option needs: components, complexity cost, monthly cost range, reversibility
(easy/moderate/hard/one-way), and trade-offs.

`trade_offs` on the selected option must **never be empty**. An option with no downsides has
not been understood.

For rejected options, give **the measurement that would change the answer**, not merely why
it lost.

## 4. Refuse to complete without

- Two or more options → otherwise no alternative was considered
- Non-empty trade-offs on the decision
- At least one **measurable** trigger

A trigger needs all of: metric, source (where it is actually read), comparator, threshold with
a unit, a sustained window, an action that is a *next step* rather than a predetermined
solution, and an owner.

> Good: "Re-run capacity analysis; evaluate broker options against measured demand"
> Bad: "Add a message broker" — this pre-decides what the analysis should conclude

## 5. Validate

Frontmatter must conform to `${CLAUDE_PLUGIN_ROOT}/schemas/adr.schema.json`. Note that
`status: accepted` requires at least one trigger, and `status: superseded` requires
`superseded_by`.

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 development →

Comments

Loading comments…

Newsletter

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