/the-blueprint:diagrammingfrom the-blueprint
Creates technical diagrams using Excalidraw or Mermaid with visual design principles for layout, readability, and aesthetics. Useful for architecture docs, flowcharts, and process diagrams.
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.
Understandable first, beautiful second. Every diagram exists to communicate — if it fails to communicate, aesthetics are irrelevant. When both are achievable, pursue both.
${CLAUDE_SKILL_DIR}/references/design-principles.md] Gestalt principles, grid
system, spacing rules, color palette, typography, complexity budgets, anti-patterns, Tufte's data-ink principle${CLAUDE_SKILL_DIR}/references/excalidraw.md] JSON schema, element types, styling
properties, arrow binding, layout templates (linear, grid, radial, tiered, decision tree), diagram type conventions${CLAUDE_SKILL_DIR}/references/mermaid.md] Flowchart, sequence, class, state, ER diagram
syntax, theming, per-node styling, subgraphsChoose the format that matches the delivery context:
Use Mermaid when:
Use Excalidraw when:
These rules apply to every diagram regardless of format. They are non-negotiable.
LLMs cannot reliably reason about spatial coordinates from scratch. Compensate with these strategies:
For Excalidraw:
For Mermaid:
LR for processes, TD for hierarchies. Match direction to the conceptual flow.end as a node ID — it terminates blocks. See Mermaid reference for the full pitfall list.([text]) in Mermaid)When generating Excalidraw JSON, use these defaults unless the context demands otherwise:
roughness: 0 — clean lines for professional outputfillStyle: "solid" — solid fills, not hachurestrokeWidth: 2 — normal weightfontFamily: 5 — Excalifont (current Excalidraw default)fontSize: 20 — box labels; 28 for titles; 16 for descriptionsroundness: { "type": 3 } — rounded rectangle corners#ffffffAfter generating a diagram:
user-auth-flow.excalidraw or include Mermaid inline in the documentRequest: "Create a diagram showing the user authentication flow"
Format decision: This is a process flow for a design doc → Mermaid (markdown-embedded, auto-layout sufficient).
Output:
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A([Start]) --> B[Enter Credentials]
B --> C{Valid?}
C -->|Yes| D[Generate JWT]
C -->|No| E[Show Error]
E --> B
D --> F[Redirect to Dashboard]
F --> G([End])
Created: authentication flow diagram (7 nodes, 7 edges). Embedded inline in the design document.
Request: "Create an architecture diagram of our API gateway setup"
Format decision: Architecture diagram needing spatial grouping and color-coded tiers → Excalidraw.
Agent approach:
.excalidraw JSON with bound arrows and labelsapi-gateway-architecture.excalidrawDiagrams are a design-phase artifact. They compose naturally with the blueprint pipeline:
alignment — create diagrams to illustrate the problem space, compare solution options visuallyframe — create architecture diagrams showing component relationships, data flow, deployment topologyBefore delivering any diagram, verify:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 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./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.npx claudepluginhub xobotyi/cc-foundry --plugin the-blueprintOther plugins' skills for the same job