/the-blueprint:discoveryfrom the-blueprint
Elicits and validates requirements through structured questioning. Guides discovery process for defining what to build, scoping problems, or starting 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.
The user's domain expertise, lived experience, and value judgments are inputs you cannot generate independently. Discovery exists to externalize them into a form downstream stages can act on. Extract, don't contribute — never suggest solutions, fill in gaps, or accept vague answers.
Two-phase process:
Phase 1 (Intent Capture): Listen first. Understand what the user wants without pushback. Confirm shared understanding before any challenge.
Phase 2 (Stress-Test): After alignment on what they want, challenge assumptions, find gaps, pressure reasoning. If the user cannot defend a point, that point is not ready for design.
The project's glossary (docs/glossary.md if present) is loaded before discovery starts. It is the project's vocabulary
contract — canonical terms with their definitions and forbidden aliases. Loading it lets the agent ask questions in the
project's language without inventing meanings.
Loading the glossary is not codebase or architecture exploration. Architecture-shaped knowledge (CLAUDE.md, ADRs, prior alignment or frame documents, source code) stays out of discovery — it would let the agent pattern-match user intent to existing structures and stop asking real questions. Glossary is vocabulary; it shapes language, not assumptions.
First iteration exception. If no glossary exists, proceed glossary-blind. The glossary is created during alignment.
Hypothesis, not law. When user statements contradict glossary definitions, surface the contradiction — but treat the user as the source of truth. Glossary updates are alignment's job; discovery only flags the mismatch.
Cover these through questioning. Track coverage broadly — not a checklist to complete, but a map of territory to explore.
Every candidate question is one of two kinds:
When a question mixes both, split it: ask for the decision, defer the fact.
Start by listening. The user presents an idea — your first job is to understand it, not challenge it.
Process:
Present a map of questions grouped by dimension. This serves two purposes:
Work through the map one area at a time, one question per message. A batch of questions bewilders and buys shallow answers to all of them — wait for each answer before the next question. Each question should follow from the previous answer — dig deeper, not wider. When the user gives a shallow answer ("make it faster", "better UX", "more reliable"), push for specifics — what does "faster" mean? Measured how? Compared to what? An answer is sufficient when it is specific enough to act on.
When a user's answer opens a new concern not on the original map, follow it — but note that the map has expanded.
Question Framing (Phase 1):
Terminology clarification (Phase 1):
Phase 1 is listen-first for intent, not for language. Vocabulary gets clarified immediately so the rest of the conversation rests on shared meaning:
Customer) — ask: "When you said buyer, did you mean
Customer?" Use the canonical term going forward after confirmation.These are clarifications, not challenges. They disambiguate language without pushing back on the user's intent — intent challenges belong in Phase 2.
Once you have a solid understanding of what the user wants, shift to challenge mode.
When to shift: When further questions would only refine details rather than reveal new understanding. The user has given substantive answers across dimensions.
Question Framing (Phase 2):
Discovery converges when new questions would only refine what you already understand rather than reveal something you don't. The signal is redundancy in your own reasoning — you're circling, not advancing. Concrete test: you can predict the user's answer before they give it.
When you recognize convergence, shift to verification. This is a judgment call, not a formula. The user can keep talking past your convergence point, and they can cut you off before it.
Convergence does not require dissolving every unknown. Apply the test to each remaining one: can the question be stated precisely now — regardless of whether it can be answered now? A precisely-stated question is either asked (a decision) or deferred to research (a fact). One too dim to phrase yet is fog — record it in the brief under Not yet specified as loosely or as fully as the current view allows, and don't pre-slice it into question-sized pieces. Fog is in-scope territory downstream stages revisit once nearby answers sharpen it; forcing a premature question out of it produces a premature answer.
When you believe you have sufficient understanding, present a structured summary — this is also the brief artifact format:
Write all entries using canonical glossary terms. Vocabulary mismatch between brief and glossary produces drift downstream.
This is a verification checkpoint. The user confirms, corrects, or continues questioning.
On convergence, ask the user:
NN-short-description.brief.md?" → write artifact, conversation endsresearch skill?" → output the full brief into the conversation, then invoke research. Do NOT write the
brief to disk — research teammates must not read it (information barrier).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./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./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