Command Palette

Search for a command to run...

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

blueprint-execute

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

Blueprint meta command: determine and execute the next logical action. Use when asked 'what's next?', 'continue blueprint', or 'run blueprint' without a…

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

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

Intelligent meta command that analyzes repository state and executes the appropriate blueprint action.

When to Use This Skill

Use this skill when... Use blueprint-status instead when...
You want auto-detection of init/upgrade/derive/generate/execute steps You only want to view status without taking action
You're resuming a project after pulling and want "what's next?" You want a read-only report with --report-only
You want one entry point that delegates to specific blueprint skills Use blueprint-init instead when bootstrapping a brand-new project
You say things like "run blueprint" without specifying a command Use blueprint-upgrade instead when you know you need to migrate

Concept: Run this command anytime to automatically determine what should happen next in your blueprint workflow. Safe to run repeatedly - it's idempotent and will always figure out the right action.

Usage: /blueprint:execute

How it works: This command acts as an orchestrator, detecting your project's current state and delegating to specific blueprint commands as needed. It uses parallel agents for efficient context gathering.

For detailed AskUserQuestion templates, examples, and common workflows, see REFERENCE.md.


Interaction Mode

Before any closing AskUserQuestion menu, resolve the automation config:

bash "${CLAUDE_SKILL_DIR}/../../scripts/get-automation-config.sh"

When EFFECTIVE_INTERACTION_MODE=quiet and this invocation was automation-initiated (autopilot, session bookend, drift-nudge follow-up — not a slash command the user typed), skip closing navigation menus ("what next?" / "create another?" style): apply the safe default and end with a one-line receipt instead. Quiet mode never skips confirmation gates that guard writes — only navigation menus. A direct user invocation always behaves fully interactively (explicit intent overrides quiet; see ADR-0020).

Phase 0: Parallel Context Gathering

Launch these agents simultaneously to gather context:

Agent Task
Git History Analysis Recent commits (last 20), branches, uncommitted changes, conventional commit usage
Documentation Status PRDs, ADRs, PRPs in docs/ - counts, frontmatter status, actionable items
Blueprint State manifest.json version, generated rules in .claude/rules/, feature tracker status
Task Registry Read task_registry from manifest.json: enabled/disabled status, schedules, last run times, due tasks

Consolidate findings into unified context: git quality, documentation coverage, blueprint health, actionable items.


State Detection & Action Flow

Run through these checks in order, executing the first matching action:

1. Check Initialization

test -f docs/blueprint/manifest.json

If NOT initialized: Run /blueprint:init, then Exit.

2. Check for Upgrades

cat docs/blueprint/manifest.json | grep '"format_version"'

Current format version: 3.0.0

If manifest version < 3.0.0: Run /blueprint:upgrade, then Exit.

2.5. Check Task Registry for Due Tasks

If manifest has task_registry:

jq -r '.task_registry | to_entries[] | select(.value.enabled == true) | select(.value.auto_run == true) | .key' docs/blueprint/manifest.json

A deterministic task (sync-ids) is never due here, whatever its schedule: it keeps no run state and the SessionStart runner (blueprint-autorun.sh) reconciles it on every run (ADR-0027). Skip it in this check.

For each other enabled auto_run task, check if due based on schedule:

  • daily: Due if last_completed_at is null or > 24h ago
  • weekly: Due if last_completed_at is null or > 7d ago
  • on-change: Due if source inputs changed (checked by individual task)
  • on-demand: Never auto-triggered

If auto_run tasks are due: Execute them silently in order (read-only tasks like validate, sync). Report results briefly. Continue to next check.

If non-auto_run tasks are due: Note them for display in status. Don't prompt here - let specific checks handle them.

3. Check for Missing Documentation (Derive Phase)

git rev-list --count HEAD 2>/dev/null || echo 0
find docs/prds -name "*.md" 2>/dev/null | wc -l
find docs/adrs -name "*.md" 2>/dev/null | wc -l
cat docs/blueprint/manifest.json | jq -r '.derived_rules.last_derived_at // empty'

If git history (>10 commits) but NO PRDs and NO ADRs: Prompt for derivation method (derive all, PRD only, ADRs only, or skip). Execute selected action, then Exit.

If git history but NO derived rules: Prompt to derive rules from git. If yes, run /blueprint:derive-rules, then Exit.

4. Check for Stale/Modified Generated Content

Check each generated rule hash against manifest:

If stale (PRDs changed since generation): Prompt to regenerate or skip. If regenerate, run /blueprint:generate-rules, then Exit.

**I

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

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

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

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

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

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

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

Read
Glob
Bash(bash ${CLAUDE_SKILL_DIR}/../../scripts/get-automation-config.sh *)
Bash(cat *)
Bash(grep *)
Bash(jq *)
Bash(git rev-list *)
Bash(find *)
Bash(wc *)
Bash(date *)
Bash(mv *)
AskUserQuestion
SlashCommand
Task

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

REFERENCE.md

FAQ

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

Blueprint meta command: determine and execute the next logical action. Use when asked 'what's next?', 'continue blueprint', or 'run blueprint' without a subcommand.

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

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

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

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

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

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