Skip to content
create-blueprint logo

{System Name}

create-blueprint

Research a specific system and create or update its blueprints/ documentation

TheBushidoCollective/han0installs199stars

SKILL.md

Full skill instructions

Name

blueprints:create-blueprint - Generate or update blueprint documentation for a specific system

Synopsis

/​blueprint <system-name>

Description

Research a specific system in the codebase and create or update its technical blueprint documentation in the blueprints/ directory at the repository root.

Important: Blueprint Location

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}.md

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

Implementation

You are tasked with creating or updating technical blueprint documentation for a specific system.

Process

1. Identify the Target System

The user will specify which system to document. This could be:

  • A feature name (e.g., "authentication", "caching")
  • A directory path (e.g., "lib/​commands/​mcp")
  • A component name (e.g., "MCP server", "hook dispatcher")

2. Deep Research Phase

Thoroughly investigate the system:

  1. Find all relevant files using Glob and Grep
  2. Read the implementation to understand:
    • Entry points and public APIs
    • Internal architecture and data flow
    • Dependencies and integrations
    • Configuration options
    • Error handling and edge cases
  3. Check for existing documentation:
    • README files in the directory
    • Inline code comments
    • Existing blueprints/ files
    • Test files (they document expected behavior)

3. Check for Duplicates

Before creating a new blueprint, check what already exists:

  1. List all blueprints: Use Glob("blueprints/​*.md") to see all existing blueprint files
  2. Search by keyword: Use Grep to search frontmatter in blueprints/ for related topics
  3. Read related blueprints: Use Read("blueprints/​{related-name}.md") to check for overlap
  4. Identify overlapping systems that should be documented together

4. Write the Blueprint

Use 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}

Output

After completing the research and documentation:

  1. Create/​update the blueprint using Write("blueprints/​{system-name}.md", content)
  2. Report what was documented and any related systems that may need documentation

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.

More skills from TheBushidoCollective

typescript-utility-types logo
TheBushidoCollective/han

typescript-utility-types

Use when typeScript utility types, mapped types, and advanced type manipulation. Use when creating flexible, type-safe TypeScript code.

199 0
View
shell-portability logo
TheBushidoCollective/han

shell-portability

Use when writing shell scripts that need to run across different systems, shells, or environments. Covers POSIX compatibility and platform differences.

199 0
View
tailwind-performance logo
TheBushidoCollective/han

tailwind-performance

Use when optimizing Tailwind CSS for production, reducing bundle size, and improving performance. Covers PurgeCSS, JIT mode, and build optimization.

199 0
View
figma-generate-component logo
TheBushidoCollective/han

figma-generate-component

Generate production-ready code from a Figma component or frame using the Figma MCP server

199 0
View
dialyzer-integration logo
TheBushidoCollective/han

dialyzer-integration

Use when integrating Dialyzer into development workflows and CI/CD pipelines for Erlang/Elixir projects.

199 0
View
rubocop-configuration logo
TheBushidoCollective/han

rubocop-configuration

Use when ruboCop configuration including YAML config, departments, inheritance, and customization.

199 0
View
elixir-otp-patterns logo
TheBushidoCollective/han

elixir-otp-patterns

Use when Elixir OTP patterns including GenServer, Supervisor, Agent, and Task. Use when building concurrent, fault-tolerant Elixir applications.

199 0
View
ameba-custom-rules logo
TheBushidoCollective/han

ameba-custom-rules

Use when creating custom Ameba rules for Crystal code analysis including rule development, AST traversal, issue reporting, and rule testing.

199 0
View
Swift Optionals Patterns logo
TheBushidoCollective/han

Swift Optionals Patterns

Use when swift's optional handling patterns including optional binding, chaining, nil coalescing, and modern approaches to safely working with optional values while avoiding common pitfalls and force unwrapping.

199 0
View
code-annotation-patterns logo
TheBushidoCollective/han

code-annotation-patterns

Use when annotating code with structured metadata, tags, and markers for AI-assisted development workflows. Covers annotation formats, semantic tags, and integration with development tools.

199 0
View
Scala Collections logo
TheBushidoCollective/han

Scala Collections

Use when scala collections including immutable/mutable variants, List, Vector, Set, Map operations, collection transformations, lazy evaluation with views, parallel collections, and custom collection builders for efficient data processing.

199 0
View
reactflow-custom-nodes logo
TheBushidoCollective/han

reactflow-custom-nodes

Use when creating custom React Flow nodes, edges, and handles. Covers custom node components, resizable nodes, toolbars, and advanced customization.

199 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View