Skip to content
Skill

Blueprint

Generates grounded architecture docs and mermaid diagrams for a codebase or feature

Blueprint is an open-source agent skill for documentation review. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
9
Last commit
License
MIT
Listing updated

Similar skills

About Blueprint

Blueprint produces human-readable architecture documentation for a whole repository, a single module, or one feature. It first has read-only sub-agents map components and the imports, calls and wiring between them, then keeps only edges that can be checked against a specific file and line. The diagram is rendered from that verified table following a fixed checklist rather than written freehand, and it is capped at a handful of top-level components with drill-down pages for detail.

Drafts appear in chat for review, and files are written to docs/blueprint/ only after the user approves. Each doc section cites its sources by file and line, and the manifest records the date and commit so that a later refresh regenerates only the pages affected by changes since then. The skill also flags when the stamped commit is behind HEAD.

It works with a repository checkout and the git history, and it relies on the agent's file search and read tools. The skill has no scripts of its own. For interactive HTML viewers, the author points users to a separate tool instead.

When your agent uses it

Human-facing documentation, architecture docs, and mermaid diagrams for a codebase, a module, or a feature — "draw me the architecture, with receipts." Fans out read-only sub-agents to build a grounded component graph first: every node is a real path, every edge backed by a grep-verified import or call — unverifiable edges are dropped, not drawn. Diagrams render from that verified table per a fixed checklist (never freehand mermaid), capped at 5–8 top-level components with drill-down pages; every doc section cites its sources as file:line. Drafts in chat, writes docs/blueprint/ only on your yes, and stamps a manifest with date + commit so /blueprint refresh regenerates only what the diff touched. Use for "generate an architecture diagram", "document this codebase or module for people", "create a mermaid diagram of this feature" — e.g. "/blueprint", "/blueprint the payment flow", "/blueprint refresh". For agent-facing orientation (AGENTS.md) use map; blueprint is the human-facing sibling.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (15 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the coding-loop plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add duthaho/skillhub
/plugin install coding-loop@skillhub

Or copy only this skill to ~/.claude/skills/blueprint:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/blueprint &&
cp -R "$tmp/.claude/skills/blueprint" ~/.claude/skills/blueprint &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/blueprint inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/blueprint to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/blueprint &&
cp -R "$tmp/.claude/skills/blueprint" ~/.agents/skills/blueprint &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/blueprint inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/blueprint to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/blueprint &&
cp -R "$tmp/.claude/skills/blueprint" ~/.cursor/skills/blueprint &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/blueprint inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/duthaho/skillhub.git --path .claude/skills/blueprint

Or copy the folder to ~/.gemini/skills/blueprint yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/blueprint:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/blueprint &&
cp -R "$tmp/.claude/skills/blueprint" ~/.copilot/skills/blueprint &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/blueprint inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/duthaho/skillhub.git

Then copy skillhub/.claude/skills/blueprint into your agent's skills folder as blueprint. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Verified component graph
Builds a node and edge table where every node is a real path and every edge is tied to a checked file and line.
Mermaid diagram rendering
Renders flowchart diagrams mechanically from the verified table, with size caps and a repair limit.
Drill-down documentation
Produces an overview page plus component pages with sources cited for each section.
Incremental refresh
Regenerates only the pages whose components changed since the commit stamped in the manifest.
Approval before writing
Shows the draft in chat and writes files and suggests commits only after the user agrees.

Good for

  • Generate an architecture diagram for this repository
  • Document the payment flow for new engineers
  • Create a mermaid diagram of a specific feature
  • Refresh the architecture docs after recent changes

Blueprint FAQ

When does Blueprint trigger?

When asked to generate an architecture diagram, document a codebase or module for people, or create a mermaid diagram of a feature, including commands like /blueprint and /blueprint refresh.

Does Blueprint write files without asking?

No. It shows the draft in chat and writes docs/blueprint/ only after approval. Commits are offered, not performed.

How is Blueprint different from the map skill?

The map skill targets agent-facing orientation in AGENTS.md. Blueprint is the human-facing counterpart focused on docs and diagrams.

What happens to edges that cannot be verified?

They are dropped from the diagram and listed as unverified candidates in the work notes.

How do I install Blueprint in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/blueprint to use it in all your projects, or to .claude/skills/blueprint in one project. Or install the coding-loop plugin, which includes it: /plugin marketplace add duthaho/skillhub, then /plugin install coding-loop@skillhub.

Does Blueprint run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Blueprint?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from duthaho/skillhub

  1. Finds where refactoring pays off from git churn and bug history, then applies it safely

    • Open source
    • 9 GitHub stars
    • Developer tools
  2. Lists parked items from your other skills that are now due for a re-check

    • Open source
    • 9 GitHub stars
    • Productivity
  3. Maps peer projects and their user demand to decide which features to adopt

    • Open source
    • 9 GitHub stars
    • Developer tools
  4. Audits your agent setup against past sessions and proposes one-line harness fixes

    • Open source
    • 9 GitHub stars
    • Developer tools
  5. Builds scored, evidence-backed technology decision briefs comparing options for a context

    • Open source
    • 9 GitHub stars
    • Developer tools
  6. Reproduce, root-cause, fix test-first and verify a bug before shipping the change

    • Open source
    • 9 GitHub stars
    • Developer tools