/the-blueprint:adrfrom the-blueprint
Manages architecture decision records (ADRs) in design-docs/adr/ and their index. Write, rewrite, merge, or delete ADRs to document decisions in force, with rules for when to create one and how to maintain filenames and numbering.
Ships in the-blueprint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
An ADR states the decision in force. It holds the rule as it stands, why it holds, what it costs, what lost, and what would reopen it. Agents write, rewrite, merge, and delete ADRs; git holds every earlier wording, and the tree holds only decisions that hold today. The main readers are agents about to change the code a decision governs, so the current rule leads and nothing replaced sits above it.
per <issue>, never inferred — a plausible reason the project never had steers
every later reader.design-docs/adr/<group>.<n>-<topic>.md. The group is the number of the planning initiative that
records the decision; a project that runs no initiatives uses group 1.design-docs/ when the initiative that recorded them moves to completed/.sync-transport, not sync-uses-websocket. A
rewrite changes the title, never the filename. A topic whose scope changes is renamed, and every reference moves in
the same change./design-docs/adr/<file>, with the number in the link text. For
a path that no longer resolves, git log -1 -- <path> shows the commit that removed or renamed the file.Start every ADR from ${CLAUDE_SKILL_DIR}/assets/adr-template.md. Its parts, in order:
Date (when the ADR was first written), Governs (the paths the rule binds, from the repository root,
then the public items), and when they apply, Pinned by (the tests that fail when the rule breaks) and the pending
line of Decided, not yet built.- YYYY-MM-DD — <the rule it touched>: <why it changed>,
followed by (<issue>) where one exists. A new ADR has no History section; its first rule change adds one. The line
carries what moved the rule — the Decision shows where the rule stands and Rejected shows where it was.Size. Summary through Revisit if aims at 65 lines or fewer. At 100 lines, look for a second decision to split off, or for exhaustive behavior to move into the code's documentation. Past 150 lines, split or cut before committing. History does not count toward these limits, so a rule that keeps changing shows it there instead of being split for it.
Revised <date> block, an ## Amendment section, a "(revised below)" marker, or a sentence that sets the old rule
against the new one.Status line, or a supersedes, superseded by, amends, or extends line. Every ADR in the tree is in force;
the pending line is the only state it carries.One test sorts every change: does the question this ADR answers still need its own answer?
Rules that hold across every branch:
- **Implementation:** pending — <what the code does not do yet> (<issue> | not scheduled). A new ADR names all of
it; a rewrite names the part it changed. Agents read the line as the direction to build toward, and the code it names
as legacy.design-docs/ADR.md lists every ADR and is imported into the project's CLAUDE.md, so every session holds it — including
sessions that never load this skill.
${CLAUDE_SKILL_DIR}/assets/adr-index-template.md, and add an import of
it to the project's CLAUDE.md: @design-docs/ADR.md from the repository root.- [<group>.<n> <title>](/design-docs/adr/<file>). Governs, Revisit if, and the
pending line stay in the ADR — every field in the index is paid for in every session.## <path>, the top-level unit the ADR's first Governs path sits in: a
crate, a package, a module directory. Areas run alphabetically by path, lines by number.Governs path.A change that touches an ADR, or code an ADR governs, leaves the repository in this state:
Governs path exists. Removed or moved code takes its ADRs with it: deleted, narrowed, or re-pointed.What SKILL.md sets; muted values are Claude Code's defaults
Invoke whenever a decision is recorded, changed, or retired; whenever code an ADR governs is changed, moved, or removed; whenever a task conflicts with an ADR; and whenever a file in `design-docs/adr/` or `design-docs/ADR.md` is touched. Also invoke on the symptoms: code contradicts an ADR, an agent proposes again an option an ADR rejected, a link points at a missing ADR, the work for a decision marked pending lands. Covers the record and its index; choosing between options inside a planning initiative belongs to alignment, which hands each decision here.
10 skills in this plugin
/alignmentSolution direction synthesis — design opinions from research findings, presented for human correction, with each settled decision handed to the adr skill. Invoke whenever task involves the A stage of the DRAFT pipeline or aligning on approach before implementation./diagrammingTechnical diagram creation with visual design principles: format selection, layout, readability, and aesthetics. Invoke whenever task involves any interaction with diagrams — creating, reviewing, or improving visual representations of systems, processes, data flows, or relationships using Excalidraw or Mermaid./discoveryRequirements elicitation and validation through structured questioning. Invoke whenever task involves defining what to build, scoping a problem or feature, or starting the DRAFT pipeline.npx claudepluginhub xobotyi/cc-foundry --plugin the-blueprintOther plugins' skills for the same job