Skip to content
AI & Agents
Skill

/adr-writer

Use when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.

From plugin
llm-agents-ecosystem-handbook
56010 skills

Claude Code

$ npx -y skills add oxbshw/LLM-Agents-Ecosystem-Handbook --skill adr-writer --agent claude-code

SKILL.md

adr-writer.SKILL.md
name: adr-writer
description: Use when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.
version: 0.1.0
status: experimental
risk: low
tags: [design, writes-files]

ADR Writer

When to use

  • A non-trivial architecture decision was just made
  • Reverse-documenting a decision that wasn't recorded but should have been
  • Preparing for a design review

When NOT to use

  • Trivial choices (naming, formatting)
  • Operational runbooks (those go to `runbooks/`)
  • Product decisions without architectural impact

Inputs

| Name | Type | Required | Notes | |---|---|---|---| | `context` | string | yes | The problem being solved, in 2–4 sentences | | `options` | list | yes | Alternatives considered | | `decision` | string | yes | Chosen path | | `number` | int | no | If omitted, finds next ADR number from `memory/decisions/` |

Outputs

A file at `memory/decisions/ADR-NNNN-<slug>.md` matching the [ADR template](../../../templates/ADR.md.template).

Workflow

1. Find the next ADR number (or use `number` input) 2. Slugify the decision's main subject 3. Fill the template:

  • Context, Decision, Alternatives, Consequences (positive + negative)
  • Status: `accepted` (default), `proposed`, `superseded by ADR-XXXX`

4. Write to `memory/decisions/ADR-NNNN-<slug>.md` 5. Add a one-line entry to `MEMORY.md#decisions`

References

  • [`../../../templates/ADR.md.template`](../../../templates/ADR.md.template)
  • [`../../../design_docs/adr_guide.md`](../../../design_docs/adr_guide.md)

Success criteria

  • Each alternative has a one-line "why not"
  • Consequences include at least one negative
  • File name matches `ADR-\d{4}-[a-z0-9-]+\.md`

Failure modes

  • Decision is actually a bundle of decisions → split into multiple ADRs
  • Context is unclear → ask user for clarification, don't fabricate
Read more
@oxbshw
Ships withllm-agents-ecosystem-handbook

A practical operating manual for building, evaluating, securing, and shipping modern LLM agent systems. Modern agents are not "a prompt + a tool."

Stars on GitHub

Momentum

stars in total
560
Star history of oxbshw/LLM-Agents-Ecosystem-Handbook on GitHub, a chart by star-history.com

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about adr-writer.

Which coding agents can use adr-writer?
adr-writer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.