/blueprint-plugin:blueprint-initfrom blueprint-plugin
Bootstraps the Blueprint Development structure by creating docs/blueprint/ with manifest, PRD/ADR/PRP directories, and feature tracking. Use when starting a new project or adding Blueprint to an existing one.
Ships in blueprint-plugin. 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.
Read when SKILL.md points to them.
Initialize Blueprint Development in this project.
| Use this skill when... | Use blueprint-upgrade instead when... |
|---|---|
The project has no docs/blueprint/manifest.json yet | The project already has a manifest at an older format version |
| You're bootstrapping a new project's PRD/ADR/PRP directories | You're migrating v1.x→v2, v2→v3, or v3.x→v3.y |
| You want to enable feature tracking and decision detection from scratch | Use blueprint-derive-plans to populate PRDs/ADRs/PRPs after init |
| You're configuring task scheduling for the first time | Use blueprint-execute instead when you want auto-detection of next step |
Execute this blueprint initialization workflow:
docs/blueprint/manifest.json/blueprint:upgrade, reinitialize → Step 2, cancel → exit).Format_version 3.3.0+. Ancestor manifest found → child; descendant manifests found → root; neither → standalone (no workspaces block). Walk/scan rules are in references/monorepo-workspaces.md.
When an ancestor root is detected, ask whether to register as a child workspace using the prompt in references/monorepo-workspaces.md.
Use AskUserQuestion with the Step 2 prompt in references/prompts.md.
If "Yes" selected:
a. Search for markdown files in the project that contain requirements, features, or user stories
b. Auto-detect the most likely source document based on content analysis
c. Create docs/blueprint/feature-tracker.json from template using the detected source
d. Set has_feature_tracker: true in manifest
Search for existing markdown documentation files across the project (excluding standard files like README.md, CHANGELOG.md, CONTRIBUTING.md, LICENSE.md, CODE_OF_CONDUCT.md, SECURITY.md). The find command is in references/document-migration.md.
If no documentation files found: skip this step silently.
If documentation files found (e.g., REQUIREMENTS.md, ARCHITECTURE.md, DESIGN.md, docs in non-standard locations), measure cross-reference density before recommending migration — migrating a doc rewrites its path and breaks every reference to it. Run the per-doc reference-count loop in references/document-migration.md, then:
label: "Yes, migrate documents (Recommended)") only when no candidate doc is referenced outside docs/.docs/, DROP the "(Recommended)" marker from the migrate option and surface the reference count so the user judges the cost. Prefer steering toward "leave in place".Ask with the migration prompt in references/document-migration.md (AskUserQuestion).
If "Yes" selected: classify, move, rename, and report each doc per references/document-migration.md.
Use AskUserQuestion with the Step 4 prompt in references/prompts.md (Prompt / Auto-run safe / Fully automatic / Manual only).
Store selection for task_registry defaults:
auto_run: false, default schedulesadr-validate, feature-tracker-sync, sync-ids) get auto_run: true; write tasks get falseauto_run: true, default schedulesauto_run: false, all schedules set to on-demandThe same selection sets automation.autonomy_level (the ADR-0020 level
model — what actually executes the auto_run contract):
autonomy_level: 0 (nothing runs unattended)autonomy_level: 1 (deterministic due tasks run via
the SessionStart probe; due agent tasks surface as drift findings)autonomy_level: 2 (quiet autopilot also runs due
agent tasks in-session; interaction_mode defaults to quiet)Only prompt when .claude/rules/ already exists and contains files (i.e., hand-authored rules that pre-date blueprint). Skip silently in fresh repos and use the default.
Detect existing content and ask with the Step 4a prompt in references/prompts.md (AskUserQuestion).
Store the chosen path in structure.generated_rules_path in the manifest (defaults to .claude/rules/ when unset). This keeps blueprint-generate-rules and blueprint-derive-rules from clobbering hand-curated rule files (issue #1043).
Use AskUserQuestion with the Step 5 prompt in references/prompts.md.
Set has_document_detection in manifest based on response.
If enabled: resolve $RULES_DIR and copy the document-management rule per references/rules-setup.md.
Execute the creation explicitly so the directories exist even when no document migration happened in Step 3:
mkdir -p docs/blueprint/work-orders/completed
mkdir -p docs/blueprint/work-orders/archived
mkdir -p docs/adrs
mkdir -p docs/prds
mkdir -p docs/prps
Documents live at top-level docs/, not docs/blueprint/ — why, plus the resulting trees: references/directory-layout.md.
manifest.jsonv3.4.0 schema — canonical filename is docs/blueprint/manifest.json, no dot prefix. Write the template in references/manifest-template.md, filling each [...] placeholder from the answers in Steps 1–5. Fill created_by.blueprint_plugin with the plugin version (not the format version):
jq -r .version "${CLAUDE_SKILL_DIR}/../../.claude-plugin/plugin.json"
Note: Include feature_tracker section only if feature tracking is enabled.
For a monorepo child or root (Step 1a), append the workspaces block from references/monorepo-workspaces.md; a standalone blueprint omits it.
Write them under the resolved $RULES_DIR (the Step 4a
generated_rules_path, default .claude/rules/) — never a hardcoded
.claude/rules/ — so they sit alongside, not on top of, rulesync-managed or
hand-authored rules (issue #1675):
RULES_DIR=$(jq -r '.structure.generated_rules_path // ".claude/rules/"' docs/blueprint/manifest.json)
mkdir -p "$RULES_DIR"
$RULES_DIR/development.md: TDD workflow, commit conventions$RULES_DIR/testing.md: Test requirements, coverage expectations$RULES_DIR/document-management.md: Document organization rules (if decision detection enabled)generated.rulesThis step is not optional. /blueprint:sync and the SessionStart drift probe
detect staleness by comparing a registered record's content_hash against the file on
disk, so a rule written here but never registered is invisible to both: a
local edit is undetectable, a revised template never propagates, and sync
reports clean over a set it cannot see. Nothing surfaces as an error
(issue #2331).
Register every rule Step 8 actually wrote — pass only the filenames that
exist (document-management.md only when decision detection was enabled in
Step 5):
bash "${CLAUDE_SKILL_DIR}/../../scripts/register-generated-rules.sh" \
--source "blueprint-init" \
development.md testing.md document-management.md
The script records the plugin version from its own plugin.json, so the call carries no --plugin-version.
Check REGISTERED= and STATUS=OK in the script's output before continuing. The record shape and manifest key form are in references/rules-setup.md.
.gitignoreCLAUDE.md and .claude/rules/ (shared project instructions)docs/blueprint/work-orders/ to .gitignore (task-specific, may contain sensitive details).claude/, warn user and suggest .gitignore entriesPrint the initialization report in references/report-templates.md.
Use AskUserQuestion with the Step 11 prompt in references/prompts.md.
Based on selection:
/blueprint:derive-plans/blueprint:derive-rules/blueprint:claude-mdreferences/directory-layout.md (opens in a new tab)references/document-migration.md (opens in a new tab)references/manifest-template.md (opens in a new tab)references/monorepo-workspaces.md (opens in a new tab)references/prompts.md (opens in a new tab)references/report-templates.md (opens in a new tab)references/rules-setup.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub laurigates/claude-plugins --plugin blueprint-plugin35 skills in this plugin
/adr-relationshipsDomain analysis, conflict detection, and relationship validation for Architecture Decision Records. Use when creating or validating ADRs to ensure consistency./blueprint-adr-listList ADRs as a markdown table with title, status, date, domain. Use when generating an ADR index, auditing ADR status, or reviewing all architecture decisions./blueprint-adr-validateValidate ADR relationships, domain consistency, and duplicate ADR numbers. Use when auditing ADRs before release, finding broken supersedes/extends links, cycles, or number collisions./blueprint-autonomy-level3Install blueprint autonomy level 3 (ADR-0020): scheduled-autorun + approved-work-order-execution GitHub workflows. Use when enabling out-of-band blueprint automation in a repo./blueprint-autopilotRun due blueprint maintenance ambiently at autonomy level 2+. Use when a drift nudge reports blueprint tasks due or suggests /blueprint:autopilot./blueprint-claude-mdCLAUDE.md and CLAUDE.local.md from blueprint artifacts. Use when editing CLAUDE.md team instructions, converting inline content to @imports, or setting up CLAUDE.local.md.Other plugins' skills for the same job