# Blueprint

> Blueprint is an open-source agent skill for documentation review. Generates grounded architecture docs and mermaid diagrams for a codebase or feature. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/duthaho/skillhub/tree/main/.claude/skills/blueprint
- **Repository:** https://github.com/duthaho/skillhub
- **GitHub stars:** 9
- **License:** MIT
- **Skill name:** blueprint
- **Collection:** https://github.com/duthaho/skillhub
- **Categories:** [documentation review](https://ai-powered.com/categories/documentation-review)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/duthaho/skillhub/tree/HEAD/.claude/skills/blueprint)
- [License: MIT](https://github.com/duthaho/skillhub/tree/HEAD/.claude/skills/blueprint)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Adopt project](https://ai-powered.com/skills/adopt-project): Adopt project is an open-source agent skill for documentation review.

---
Source: https://ai-powered.com/skills/blueprint-duthaho
