Skip to content
Back to skills

Write Adr

ASecurity

Record an architecture decision for Heinzelmännchen as an ADR in docs/adr. Use before a structural change (new module kind, let kind, head, dependency, process change), when a change contradicts an existing ADR, or when asked to document a decision.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
developmentgogitdocumentation

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add helmut-hoffer-von-ankershoffen/heinzel --skill write-adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Adr?

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

Security grade badge for Write Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/helmut-hoffer-von-ankershoffen-write-adr/badge)](https://www.skillsdirectory.com/skills/helmut-hoffer-von-ankershoffen-write-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: write-adr
description: Record an architecture decision for Heinzelmännchen as an ADR in docs/adr. Use before a structural change (new module kind, let kind, head, dependency, process change), when a change contradicts an existing ADR, or when asked to document a decision.
---

# Write an ADR

The format is a trimmed [MADR 4](https://adr.github.io/madr/); `docs/adr/0000-template.md` is the source of truth.

1. Read `docs/adr/README.md` and the ADRs related to the decision; ask the `architect` agent if unsure.
2. Copy `docs/adr/0000-template.md` to `docs/adr/NNNN-title-in-kebab-case.md` with the next number; the title is
   `# NNNN: Title that states the decision`. Delete the template's comment.
3. Front matter, flat `key: value` only: `status: proposed`, `date: YYYY-MM-DD`, optional `decision-makers` (roles,
   never names), `supersedes` / `amends` when the decision replaces or changes another ADR, and `related` for ADRs
   it builds on without changing them. For each ADR it amends or supersedes, add `amends-NNNN: what it changes` (a few
   words, no `: ` or ` #` inside); the index and both pages show it. Set `implementation: planned`; it becomes
   `partial` or `built` as code lands. Once a pull request builds the decision, add `implemented-by: 123, 145` (PR
   numbers of the code, never the PR that only wrote the record); leave it out until then.
4. Fill in, keeping it to a page or two:
   - Context and Problem Statement: forces and verified facts, sources linked.
   - Decision Drivers (optional).
   - Considered Options: the chosen one marked `(chosen)`, each other one with why not. Never invent options.
   - Decision Outcome: one line `Chosen option: **...**, because ...`, then checkable statements.
   - Consequences (good and bad) and Confirmation: the enforcing mechanism in two sentences, no file lists (the test,
     lint rule, import-linter contract or CI job that fails when the decision is broken — grep that it exists), or
     "review only".
   - More Information (optional): related ADRs, research, open questions.
5. Superseding or amending: set `superseded-by: NNNN` and `status: superseded` (or `amended-by: NNNN`) on the old ADR.
   Front matter is the only part of an accepted ADR that may change, plus a dated amendment note ("Amended
   YYYY-MM-DD: ...") at the end of More Information.
6. Do not edit the index table of `docs/adr/README.md`: it is generated. Run `make docs` (in Heinzelmännchen)
   and commit the result; `uv run pytest tests/unit/documentation_test.py` checks template, index and links.
7. Status stays `proposed` until a maintainer accepts it. Commit with `docs(adr): ...`.

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.