/blueprints:create-blueprintfrom blueprints
Researches a codebase system and creates or updates its technical blueprint documentation in a blueprints/ directory at the repo root.
Ships in blueprints. 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.
blueprints:create-blueprint - Generate or update blueprint documentation for a specific system
/blueprint <system-name>
Research a specific system in the codebase and create or update its technical blueprint documentation in the blueprints/ directory at the repository root.
CRITICAL: Blueprints MUST be created at the repository root, never in subdirectories or packages.
{repo-root}/blueprints/{system-name}.md{repo-root}/packages/foo/blueprints/{system-name}.md{repo-root}/src/blueprints/{system-name}.mdBlueprints are repository-wide system design documents. A single system may span multiple packages or directories, but there should be ONE blueprint at the repo root describing the entire system.
You are tasked with creating or updating technical blueprint documentation for a specific system.
The user will specify which system to document. This could be:
Thoroughly investigate the system:
Before creating a new blueprint, check what already exists:
Glob("blueprints/*.md") to see all existing blueprint filesGrep to search frontmatter in blueprints/ for related topicsRead("blueprints/{related-name}.md") to check for overlapUse the Write tool to create or update the blueprint file at blueprints/{system-name}.md.
The file MUST include YAML frontmatter:
---
name: system-name
summary: Brief one-line description
---
# {System Name}
...
The blueprint content should follow this structure:
---
name: system-name
summary: Brief one-line description
---
# {System Name}
{Brief one-line description}
## Overview
{2-3 paragraphs explaining the system's purpose, why it exists, and its role in the larger system}
## Architecture
{Describe the system structure}
### Components
- **{Component A}** - {description}
- **{Component B}** - {description}
### Data Flow
{How data moves through the system}
### Dependencies
- {Dependency 1} - {why it's needed}
- {Dependency 2} - {why it's needed}
## API / Interface
### Public Functions/Methods
#### `functionName(params)`
{Description}
**Parameters:**
- `param1` (type) - {description}
**Returns:** {description}
### Commands
{If applicable, document CLI commands}
### Configuration
{Document configuration options}
## Behavior
### Normal Operation
{How the system behaves under normal conditions}
### Error Handling
{How errors are handled}
### Edge Cases
{Notable edge cases and how they're handled}
## Files
Key implementation files:
- `path/to/main.ts` - {brief description}
- `path/to/helper.ts` - {brief description}
## Related Systems
- [{Related System}](./related-system.md) - {relationship description}
After completing the research and documentation:
Write("blueprints/{system-name}.md", content)Note: The blueprint index at .claude/rules/blueprints/blueprints-index.md is automatically regenerated by the SessionStart hook - you don't need to manually update it.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/blueprints-maintenanceUse after modifying existing systems to update blueprint documentation. Read blueprints before changes, update after. Prevents documentation drift./blueprints-organizationUse when managing blueprints directory structure and avoiding duplication. Always search existing blueprints before creating to prevent duplicate documentation. Handles naming conventions and cross-references./blueprints-writingUse when creating or updating technical blueprint documentation for new features, API changes, or architectural modifications. Always search existing blueprints first to avoid duplication, then write with proper structure./generate-blueprintsDeeply research all systems and create or update blueprints/ documentation for the entire codebasenpx claudepluginhub thebushidocollective/han --plugin blueprintsOther plugins' skills for the same job