Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

blueprint-init

БесплатноБез исполняемых скриптовНе проверен

Initialize Blueprint Development structure. Use when bootstrapping docs/blueprint/ with manifest, PRD/ADR/PRP directories, and feature tracking for the first…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

Initialize Blueprint Development in this project.

When to Use This Skill

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

Execution

Execute this blueprint initialization workflow:

Step 1: Check if already initialized

  • Look for docs/blueprint/manifest.json
  • If it exists, read its version and ask with the Step 1 prompt in references/prompts.md (upgrade → /blueprint:upgrade, reinitialize → Step 2, cancel → exit).

Step 1a: Detect monorepo context

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.

Step 2: Ask about feature tracking

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

Step 3: Ask about document migration

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:

  • Default to recommending migration (label: "Yes, migrate documents (Recommended)") only when no candidate doc is referenced outside docs/.
  • When one or more candidate docs are referenced outside 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.

Step 4: Ask about maintenance task scheduling

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:

  • Prompt: all auto_run: false, default schedules
  • Auto-run safe: read-only tasks (adr-validate, feature-tracker-sync, sync-ids) get auto_run: true; write tasks get false
  • Fully automatic: all tasks get auto_run: true, default schedules
  • Manual only: all auto_run: false, all schedules set to on-demand

The same selection sets automation.autonomy_level (the ADR-0020 level model — what actually executes the auto_run contract):

  • Prompt / Manual only → autonomy_level: 0 (nothing runs unattended)
  • Auto-run safe → autonomy_level: 1 (deterministic due tasks run via the SessionStart probe; due agent tasks surface as drift findings)
  • Fully automatic → autonomy_level: 2 (quiet autopilot also runs due agent tasks in-session; interaction_mode defaults to quiet)

Step 4a: Ask about generated-rules output path

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

Step 5:

Полный SKILL.md на GitHub

Установить blueprint-init в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(mkdir *)
Bash(jq *)
Bash(bash ${CLAUDE_SKILL_DIR}/../../scripts/register-generated-rules.sh *)
Bash(find *)
Bash(grep *)
Bash(basename *)
Bash(wc *)
Bash(tr *)
Write
Read
AskUserQuestion
Glob

Вложенные файлы

references/directory-layout.mdreferences/document-migration.mdreferences/manifest-template.mdreferences/monorepo-workspaces.mdreferences/prompts.mdreferences/report-templates.mdreferences/rules-setup.md

FAQ

Что делает скилл blueprint-init?

Initialize Blueprint Development structure. Use when bootstrapping docs/blueprint/ with manifest, PRD/ADR/PRP directories, and feature tracking for the first time.

Как установить скилл blueprint-init?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл blueprint-init запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить blueprint-init с