/the-blueprint:alignmentfrom the-blueprint
Synthesizes design opinions from research findings for human correction before implementation. Use when aligning on approach or during the A stage of the DRAFT pipeline.
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.
None: SKILL.md is the whole skill.
Declare every pattern you intend to follow and every design opinion you've formed — explicitly, with evidence and reasoning — so the human can correct them before implementation begins. Research produces facts; alignment is where you form and surface opinions for correction.
Locate the inputs:
design-docs/NN-name.brief.md; if absent, ask whether to
run discovery.design-docs/NN-name.research.md; if absent, ask
whether to run research.docs/glossary.md if present. If absent (first iteration), schedule creation at Phase 3 end (see
Glossary maintenance below).Present patterns you intend to follow as a structured block:
internal/auth/"]After presenting, ask: "Any patterns to reject or modify before I propose the end state?"
Iterate until the user confirms the pattern set. Do not proceed to Phase 3 until patterns are reviewed.
**Patterns I intend to follow:***Handlerinternal/api/ — dominant conventioninternal/data/ — minority patternfmt.Errorf("%w", err)Any patterns to reject or modify before I propose the end state?
**User:** "The `*Handler` naming is legacy — new code uses `*Controller`. Check `internal/api/v2/`."Agent: Updated. Verified *Controller convention in internal/api/v2/. Revised pattern set: [updated list].
With corrected patterns, present:
Iterate until end state is clear and all questions are resolved. Not-yet-specified items that remain too dim to phrase stay in the alignment document's Not yet specified section — resolving them is not a gate for completing alignment.
Glossary maintenance. Apply term resolutions the moment they crystallize during Phases 2–3 — a batched cleanup at the end loses the rationale that was live when the term was resolved. Before completing Phase 3, sweep for stragglers:
glossary skill for the
update.glossary skill to create one from canonical terms used in
brief, research, and alignment dialog. The glossary is a sibling artifact, not a section of alignment.md.When the dialog settles a choice between real alternatives, invoke the adr skill. It decides whether the choice earns
an ADR, and it owns the ADR, its format, its number, and the ADR index. Alignment adds no ADR rule of its own; the
initiative's number is the group the adr skill numbers the record in.
Explore alternatives before committing (optional). The first workable design anchors — when a genuine trade-off surfaces and no option is clearly right, generate alternatives before asking the user to commit:
adr skill.Fire this only when a real trade-off exists — routine alignments never need it.
When to prompt. When the dialog surfaces two or more viable approaches and the user expresses uncertainty, ask:
"Multiple paths exist — commit to one and record it?" Uncertainty alone earns no ADR; the adr skill's test decides.
Cross-reference from alignment.md. Add a line under ## Recorded ADRs pointing at the ADR file. Do not copy ADR
content into alignment.md — the ADR file is the source of truth.
alignment.md using the document format below.NN-name.brief.md / NN-name.research.md), or next available number in
design-docs/.design-docs/NN-name.alignment.md.On user approval:
Alignment is complete. Proceed to
frame?
Target ~150 lines. Exceeding 250 indicates content belongs in the frame stage or in ADR files.
# Alignment: {title from brief}
- **Date:** {date}
- **Brief:** {path or "in conversation context"}
- **Research:** {path or "in conversation context"}
- **Glossary:** {path, or "(created during this alignment)"}
## Patterns Adopted
- **[Pattern name]** — [description]. Found in [location, prevalence]. [Reason.]
## Current State
[How the affected area works today.]
## Desired End State
[Target state, derived from brief + corrected patterns.]
## Resolved Questions
- [Question] → [Resolution]
## Not Yet Specified
(Only when unphrased unknowns remain. In-scope territory future iterations revisit — carried from the brief or surfaced
during alignment, written as loosely as the current view allows.)
- [Unknown — what's dim about it, what would sharpen it]
## Recorded ADRs
(Only when ADRs were written during this alignment. List paths — ADR content lives in the files, not here.)
- [4.1 Event-source the write model](/design-docs/adr/4.1-write-model.md)
alignment.md may be updated throughout development. Immutable only when moved to completed/.adr skill. Alignment writes every record and every index line through it, and alignment.md
only links the records.glossary skill before Phase 4.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xobotyi/cc-foundry --plugin the-blueprint10 skills in this plugin
/adrWrite, rewrite, and delete architecture decision records in `design-docs/adr/` and their always-loaded index `design-docs/ADR.md`, as living records that state the decision in force./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./frameVertical-slice implementation planning — phases that cross all layers end-to-end with per-phase testing. Invoke whenever task involves the F stage of the DRAFT pipeline, planning implementation phases, or structuring work before coding begins./glossaryProject glossary for consistent domain terminology. Invoke whenever task involves creating, updating, or referencing a glossary, defining domain terms, establishing ubiquitous language, or when inconsistent naming causes confusion in code or planning artifacts./researchObjective codebase investigation — factual findings about existing code, patterns, and architecture. Invoke whenever task involves the R stage of the DRAFT pipeline, technical codebase research, or understanding existing code before design.Other plugins' skills for the same job