一键导入
generate-blueprints
Deeply research all systems and create or update blueprints/ documentation for the entire codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deeply research all systems and create or update blueprints/ documentation for the entire codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when building modular Angular applications requiring dependency injection with providers, injectors, and services.
Use when handling async operations in Angular applications with observables, operators, and subjects.
Use when building Angular 16+ applications requiring fine-grained reactive state management and zone-less change detection.
Guides end-to-end feature development through 8 phases: discover requirements, explore codebase patterns, clarify ambiguities with the user, design architecture, implement with TDD, run multi-agent code review, validate all quality gates, and write a blog post. Use when asked to add a feature, implement a new capability, build functionality, or develop a feature end-to-end.
Use when creating or modifying Han plugins. Covers plugin structure, configuration, hooks, skills, and best practices.
Minimize token consumption through efficient tool usage patterns
| name | generate-blueprints |
| description | Deeply research all systems and create or update blueprints/ documentation for the entire codebase |
blueprints:generate-blueprints - Generate comprehensive blueprint documentation for the entire codebase
/blueprints
Comprehensively document all systems in the codebase by creating or updating the blueprints/ directory at the repository root with technical documentation for each major system.
CRITICAL: Blueprints MUST be created at the repository root, never in subdirectories or packages.
{repo-root}/blueprints/{repo-root}/packages/foo/blueprints/{repo-root}/src/blueprints/Blueprints are repository-wide system design documents. Systems may span multiple packages or directories, but all blueprints belong in a single blueprints/ directory at the repo root.
You are tasked with comprehensively documenting all systems in this codebase.
Analyze project structure to identify all major systems:
Read existing documentation:
Create a system inventory:
Audit existing documentation using native tools:
Glob("blueprints/*.md") to find all existing blueprint filesRead("blueprints/{name}.md") to check each documented system:
Order systems by importance:
For each system, use the Write tool to create or update the blueprint file:
Write("blueprints/{system-name}.md", content)
Each file MUST include YAML frontmatter:
---
name: system-name
summary: Brief one-line description
---
# {System Name}
{Brief description}
## Overview
{Purpose and role in the larger system}
## Architecture
{Structure, components, data flow}
## 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}
The blueprint index is automatically managed by the SessionStart hook. When you run han blueprints sync-index, the index is updated at .claude/rules/blueprints/blueprints-index.md.
You don't need to manually create or update any index files - just focus on creating quality blueprint content using the Write tool.
When documenting, actively prevent duplicates:
Glob("blueprints/*.md") and Grep to search for existing coverageRead("blueprints/{name}.md") to check contentAfter completing:
Remember: Use native tools (Glob, Grep, Read, Write) to manage blueprint files. The frontmatter format (name and summary fields) enables discovery via the auto-generated index.