Overview
Skills and hooks for managing technical blueprint documentation.
Overview
This plugin provides comprehensive blueprint management through:
- Skills - Guidelines for writing, maintaining, and organizing technical blueprints
- Hooks - Enforcement and reminders for documentation requirements
Blueprint files are managed using native Claude Code tools (Glob, Grep, Read, Write) - no external server required.
Installation
han plugin install blueprints
This installs the skills and hooks.
Slash Commands (via Skills)
/blueprint <system-name>
Research a specific system and create or update its documentation:
/blueprint mcp-server
/blueprint authentication
/blueprint lib/commands/hook
/blueprints
Deeply research all systems and create comprehensive documentation:
/blueprints
This skill:
- Discovers all systems in the codebase
- Audits existing blueprints for accuracy
- Creates missing documentation
- Updates outdated blueprints
Skills
- blueprints-writing - How to write effective technical blueprints
- blueprints-maintenance - Keeping blueprints in sync with implementation
- blueprints-organization - Directory structure and avoiding duplication
Tool Usage
Blueprints are managed with native Claude Code tools:
Glob("blueprints/*.md")- List all blueprint filesGrep("keyword", path: "blueprints/")- Search blueprints by keywordRead("blueprints/{name}.md")- Read a blueprintWrite("blueprints/{name}.md", content)- Create or update a blueprint (include frontmatter)
Hooks
SessionStart
Syncs the blueprint index to .claude/rules/blueprints/blueprints-index.md for automatic context injection.
Blueprint Format
All blueprints must include YAML frontmatter:
---
name: system-name
summary: Brief description of what this system does
---
# System Name
[Blueprint content...]
Blueprint File Template
---
name: system-name
summary: One-line description
---
# System Name
Brief description.
## Overview
Purpose and role in the larger system.
## Architecture
Components, data flow, dependencies.
## API / Interface
Public methods, commands, configuration.
## Behavior
Normal operation, error handling, edge cases.
## Files
Key implementation files with descriptions.
## Related Systems
Links to related blueprints.
blueprints/ Directory Structure
blueprints/
āāā system-name.md # One file per system
āāā feature-name.md # One file per feature
Note: The index at .claude/rules/blueprints/blueprints-index.md is auto-generated by the SessionStart hook.
De-duplication
The plugin enforces de-duplication through:
- Search before creating - Use
GlobandGrepto find existing blueprints - Cross-references - Link between blueprints instead of copying
- Merge guidance - Combine related systems when appropriate
- Frontmatter metadata - Enables discovery via the auto-generated index
Related Plugins
- bushido: Core quality principles and standards