# adr-architecture

adr-architecture turns an architecture choice into a written decision record with context, rejected options and consequences, then scores the draft against a rubric.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 118 installs · ★ 203 repo stars
- Author: lyndonkl
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lyndonkl/claude/tree/HEAD/skills/adr-architecture/SKILL.md
- Updated: 2026-09-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/adr-architecture

## What it does

The skill runs a five-step workflow. It starts by pulling the decision context: who decides, what constraints and requirements apply. Then it picks a template, writes `adr-{number}-{short-title}.md`, checks the draft against a rubric and suggests a home in `docs/adr/` or `architecture/decisions/`.

Resources ship with it: `resources/template.md` for technology choices, `resources/methodology.md` for decisions where several choices depend on each other, and three worked examples covering a database pick, a move to microservices and API versioning. Each record holds context, the decision itself, the alternatives weighed, consequences and a status.

Quality is scored with `resources/evaluators/rubric_adr_architecture.json`. The floor is 3.5, and the skill tells you to aim for 4.5 when a decision is contested. Old records stay untouched: status may change, the text does not, and a replacement gets its own file that links back.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill adr-architecture -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/adr-architecture/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/adr-architecture/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill adr-architecture -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/adr-architecture/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill adr-architecture -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/adr-architecture/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install lyndonkl/claude skills/adr-architecture
```

2. **Manually: put the files in place**
- File: `.github/skills/adr-architecture/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill adr-architecture -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/lyndonkl/claude --path skills/adr-architecture
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/adr-architecture/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill adr-architecture -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/lyndonkl/claude/tree/HEAD/skills/adr-architecture/SKILL.md

## When to use it
- Record why PostgreSQL won over MySQL
- Write up a microservices migration with its rollback plan
- Document an API versioning standard and its exceptions
- Supersede an outdated decision without losing the trail
- Score a draft against the rubric before review

## Example prompts
- Draft an ADR for picking Postgres as our primary database, with the alternatives we rejected
- Write the ADR for our microservices move using `resources/methodology.md` and file it under `docs/adr/`
- Review `adr-012-api-versioning.md` against the rubric and list what's missing

## Similar
- [architecture-decision-records](https://affpapa.org/en/nevibecode/skills/architecture-decision-records.md) — skill · 22036 installs
- [adr-writer](https://affpapa.org/en/nevibecode/plugins/adr-writer.md) — plugin · ★ 2858 repo stars
- [030-architecture-adr-general](https://affpapa.org/en/nevibecode/skills/030-architecture-adr-general.md) — skill · 373 installs
- [adr-drafting](https://affpapa.org/en/nevibecode/skills/adr-drafting.md) — skill · 3700 installs
- [develop-adr](https://affpapa.org/en/nevibecode/skills/develop-adr.md) — skill · 886 installs
- [adr-create](https://affpapa.org/en/nevibecode/skills/adr-create.md) — skill · 743 installs

From the same set: [lyndonkl/claude](https://affpapa.org/en/nevibecode/by/lyndonkl/claude.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
