From blueprint
Review, validate, and prepare a plan for optimal execution by subagents or coordinated teams. And also Assign Execution Plan โ this skill both validates the plan AND determines the execution strategy (parallel subagents, teams, mixed dispatch), marks task complexity ([H]/[S]/[O]), and commits the reviewed plan with its assigned execution mode. Use this skill whenever the user says "/plan-review", "review the plan", "prepare plan for execution", "optimize the plan", "is the plan ready", "plan readiness", or any request to validate and prepare an existing plan before implementation. Also triggers on "mark complexity", "execution strategy", "plan delegation", or "prepare for plan-approved". ALWAYS use this skill after /plan and before /plan-approved โ it's the pre-flight check that makes execution fast. Do NOT use for post-implementation audits โ use /plan-check for "check the plan" or "audit the plan". With 1M context, small/medium plans (โค15 tasks) can flow directly into /plan-approved without clearing context.
npx claudepluginhub skaisser/blueprint-pluginThis skill uses the workspace's default tool permissions.
Read `blueprint/.config.yml` โ `language`. If `auto`, detect from the user's messages. All generated content MUST be in the detected language. Skill instructions stay in English โ only output changes.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Analyzes competition with Porter's Five Forces, Blue Ocean Strategy, and positioning maps to identify differentiation opportunities and market positioning for startups and pitches.
Share bugs, ideas, or general feedback.
Read blueprint/.config.yml โ language. If auto, detect from the user's messages. All generated content MUST be in the detected language. Skill instructions stay in English โ only output changes.
Review, validate, and prepare a plan for execution. This is the pre-flight check before /plan-approved โ it ensures the plan is complete, tasks are complexity-marked, and the execution strategy maximizes throughput.
/plan โ /plan-review โ /plan-approved โ /plan-check โ /pr โ /finish
โ context clear only if context usage > 30% after plan-review
/plan โ /plan-review -wt โ [worktree created] โ cd worktree โ /plan-approved โ ...
These are non-negotiable:
blueprint meta + bundled reference. Never fabricate plan details.mcp__sequential-thinking__sequentialthinking at Step 2 for validation. Never skip it.[H]/[S]/[O] at Step 3. No unmarked tasks allowed.[S]/[O] tasks. Parallel subagents are the default for all-[H] phases. Multiple teams can run in parallel across independent phases.blueprint/. This skill edits ONLY the plan markdown file.echo "๐ท BP: plan-review [1/3] reading plan + team-execution ref"
# Primary: CLI-first plan discovery
~/.blueprint/bin/blueprint meta
# Fallback if CLI unavailable: find active plan manually
# ls blueprint/live/[0-9]*-*.md
# Also read config for staging_branch and stack info โ use the Read tool:
# Read("blueprint/.config.yml")
Primary: ~/.blueprint/bin/blueprint meta returns JSON with branch, base_branch, plan_file, project, etc. Derive PLAN_NUM from the leading digits in plan_file. If $ARGUMENTS is a path or number, use that instead.
Fallback: If the CLI is unavailable, use ls blueprint/live/[0-9]*-*.md to find the active plan. Also read blueprint/.config.yml for staging_branch and stack info needed in later steps.
Run these simultaneously in a single step (do not wait between them):
references/team-execution.md (bundled) โ needed for Steps 3-4 (complexity tiers + delegation strategy)Do NOT proceed to Step 2 until you have read both.
echo "๐ท BP: plan-review [2/3] running sequential thinking validation"
You MUST use mcp__sequential-thinking__sequentialthinking here. This is MANDATORY โ never skip it, even for small plans. Use it to validate:
[x], note them as completed and adjust the execution strategy to only cover remaining [ ] tasks.Refine existing tasks directly โ do NOT create new phases, split phases, or restructure the plan.
During Step 2's sequential thinking, also detect the project's tech stack. Read config FIRST (already populated by /start or /bp-context), only detect from project files if config is empty:
Read blueprint/.config.yml using the Read tool (already fetched in Step 1) and check the stack: section. If stack is not in config, detect from project files:
# If stack not in config, detect from project files
if [ -f composer.lock ]; then
grep -A1 '"name": "laravel/framework"\|"livewire/livewire"' composer.lock | grep '"version"'
elif [ -f package-lock.json ]; then
grep -E '"(next|react|vue|angular|svelte)":' package.json
elif [ -f go.mod ]; then
head -5 go.mod
fi
Add a brief ## Tech Stack Versions section to the plan (3-5 lines). Workers need this to avoid framework compatibility issues.
Update the plan frontmatter status from todo โ awaiting-review at the start of this step. Add strategy and reviews fields to frontmatter at Step 5 (after determining strategy).
Mark ALL tasks in the Phases section:
| Marker | Tier | When to Use |
|---|---|---|
[H] | Fast/small | CRUD, config, i18n, migrations, styling, renaming, views, constants |
[S] | Balanced | Business logic, services, API integration, complex tests, dynamic components |
[O] | Strong reasoning | Architecture, multi-system coordination โ rare |
Default to [H]. Escalate to [S] only when the task needs real reasoning. [O] is almost never needed.
NEVER mark "verify + fix" phases as Leader Direct. If a phase is labeled "verify and fix stragglers", "fix remaining failures", or similar:
Split it into two distinct phases:
Reserve Leader Direct ONLY for purely mechanical tasks โ run formatter, update a config line, bump a version number, update a constant. If there's any chance of failures to investigate, it MUST be delegated.
Verification phases that may reveal failures should always use Parallel Subagents with the note: "If verification reveals failures, coordinator dispatches N agents = N failure categories found."
This forces the plan to account for parallel fix dispatch upfront, rather than the coordinator improvising when failures appear and burning 70%+ of context debugging inline.
Note: This is the ONE exception to the "no new phases" rule โ verification+fix phases MUST be split for correct execution.
The goal is MAXIMUM THROUGHPUT โ finish the plan as fast as possible.
Before entering the decision tree, extract:
| Metric | Value |
|---|---|
| Total open tasks | count [ ] items |
| Phase count | number of ### phase headings |
| Max task complexity | highest marker: H / S / O |
| Parallel potential | any phases with zero file overlap? yes / no |
| Condition | Override |
|---|---|
โค3 total open tasks, all [H] | โ Leader Direct โ no spawn needed |
โค8 total open tasks, all [H] | โ Single Subagent โ no team overhead |
โค5 total open tasks, any [S]/[O] | โ Mode C: Single Team โ team adds value for reasoning |
>8 tasks OR any [S]/[O] with >5 tasks | โ Continue to Step 5A normally |
| Mode | Name | When |
|---|---|---|
| A | Parallel Subagents | 2+ independent phases, all [H] โ fire and forget |
| B | Parallel Teams | 2+ independent phases with [S]/[O] โ N team-lead subagents |
| C | Single Team | 1 phase with [S]/[O] โ leader gives full attention |
| D | Mixed Dispatch | 1 active team + parallel [H] subagents simultaneously |
| E | Coordinated Team | Tasks within a team need sequential handoff |
| F | Single Subagent | 1 phase, all [H], sequential |
| G | Leader Direct | โค3 [H] tasks, no spawn needed |
Key constraint: each team-lead can only manage ONE team. Parallel = N separate team-leads, not 1 leader managing N teams.
This is the biggest speed win โ which phases can run simultaneously?
Common parallel patterns:
Build an explicit file-touch matrix to identify parallelism opportunities:
| Phase | Files/Dirs Touched | Depends On |
|-------|-------------------|------------|
| Phase 1 | app/Models/X.php, app/Resources/XResource/ | โ |
| Phase 2 | app/Models/Y.php, app/Resources/YResource/ | โ |
| Phase 3 | app/Services/ZService.php, app/Models/Z.php | Phase 1 |
Rules:
This matrix MUST be included in the ## Execution Strategy section so /plan-approved can verify parallel dispatch is safe.
2+ independent phases (run in parallel)?
โโ YES โ Any phase has [S]/[O] tasks?
โ โโ YES โ Mode B: Parallel Teams
โ โโ NO (all [H]) โ Mode A: Parallel Subagents
โ โ
Mixed: [S]/[O] phase as team-lead + [H] phase as subagent โ dispatched together
โโ NO (1 phase or sequential)
โโ Any [S]/[O] tasks?
โ โโ YES โ Tasks within team need handoff?
โ โ โโ YES โ Mode E: Coordinated Team
โ โ โโ NO โ Mode C: Single Team
โ โโ NO (all [H]) โ โค 3 tasks?
โ โโ YES โ Mode G: Leader Direct
โ โโ NO โ Mode F: Single Subagent
โโ Sequential [S]/[O] + concurrent [H] phases โ Mode D: Mixed dispatch
Model per worker (based on hardest task in their assignment):
[H] tasks โ Sonnet (faster output for simple/mechanical tasks)[S] or [O] task โ Opus (maximum quality โ speed comes from parallelism, not weaker models)Workers are identified by sequential IDs (worker-1, worker-2, etc.) within each team round.
| # | Profile | Recommended Strategy |
|---|---|---|
| 1 | 1 phase, โค3 tasks, all [H] | Leader Direct |
| 2 | 2+ phases, all [H], zero file overlap | Mode A: Parallel Subagents |
| 3 | 2+ phases, any [S]/[O], zero file overlap | Mode B: Parallel Teams |
| 4 | 1 phase, [S]/[O] tasks, sequential | Mode C: Single Team |
| 5 | 1 team needed + concurrent [H] phases | Mode D: Mixed Dispatch |
Add the ## Execution Strategy section to the plan. The format depends on the mode chosen. Read references/team-execution.md for worker IDs and delegation details.
## Execution Strategy
> **Approach:** `/plan-approved` with <actual strategy>
> **Total Tasks:** N (H: X, S: Y, O: Z)
> **Estimated Rounds:** N (X parallel, Y sequential)
Parallel Subagents (Mode A):
### Round 1: Phase 1 + Phase 2 โ Parallel Subagents (2 workers, dispatched together)
Independent phases โ Phase 1 touches `app/Services/`, Phase 2 touches `resources/views/`.
| Phase | Model | Tasks | Notes |
|-------|-------|-------|-------|
| Phase 1: Service layer | Opus | 1.1, 1.2, 1.3 (1x[S] + 2x[H]) | Business logic needs quality |
| Phase 2: Views | Sonnet | 2.1, 2.2 (2x[H]) | Simple tasks, fast model |
Single Team (Mode C):
### Round 2: Phase 3 โ Single Team (depends on Round 1)
| Task | Model | Worker | Notes |
|------|-------|--------|-------|
| 3.1 Wire service | [S] | worker-1 | Integration logic |
| 3.2 Feature tests | [S] | worker-2 | Tests for integration |
Mixed Dispatch (Mode D):
### Round 2: Phase 3 (team) + Phase 4 (subagent) โ Mixed dispatch
| Phase | Mode | Model | Tasks | Notes |
|-------|------|-------|-------|-------|
| Phase 3: Complex service | Team | Opus | 3.1, 3.2 (2x[S]) | Leader manages |
| Phase 4: Config | Subagent | Sonnet | 4.1, 4.2 (2x[H]) | Simple tasks, fast model |
Coordinated Team (Mode E):
### Round 3: Phase 5 โ Coordinated Team (handoff required)
| Task | Model | Worker | Notes |
|------|-------|--------|-------|
| 5.1 Build interface | [S] | worker-1 | Writes handoff |
| 5.2 Implement consumer | [S] | worker-2 | Waits for handoff |
Leader Direct (Mode G):
### Round 4: Phase 6 โ Leader Direct
3 trivial config changes. Tasks: 6.1 update .env.example, 6.2 add constant, 6.3 update README
Also update the frontmatter in the same edit (save a tool call):
status: approved (from awaiting-review)strategy: <chosen-mode> (e.g., parallel-teams, single-subagent, leader-direct)reviews: array with any corrections/findings from validation (empty array [] if none)phases_total, tasks_total, sessions, or blockquote status bars โ these are v1 fieldsecho "๐ท BP: plan-review [3/3] verifying pre-commit checklist"
Verify ALL items before committing:
[H]/[S]/[O] complexity markers[H] phases use regular subagents (fire-and-forget)[S]/[O] phases use team-lead subagents (each manages own team)[S]/[O] phases use Single Team with sequential worker IDs[S]/[O] tasks in Leader Direct rounds โ Leader Direct is ONLY for all-[H] mechanical tasksblueprint/ was modified โ no application source code changesgit add blueprint/ && git commit -m "๐ plan: review NNNN-<description>"
This review commit is the BASELINE โ it contains the full task list with complexity markers and execution strategy.
-wt or --worktree flag)If the flag is present, create a lightweight worktree:
REPO_NAME=$(basename "$PWD")
PARENT_DIR=$(dirname "$PWD")
PLAN_NUM_SHORT=$(echo "$PLAN_NUM" | sed 's/^0*//')
WORKTREE_PATH="${PARENT_DIR}/${REPO_NAME}${PLAN_NUM_SHORT}"
git worktree add "$WORKTREE_PATH" "$BRANCH_NAME"
git worktree list | grep "$WORKTREE_PATH"
git -C "$WORKTREE_PATH" rebase "$BASE_BRANCH"
code "$WORKTREE_PATH"
No .env copying, no dependency installs โ just the isolated working directory.
Plan Review Complete!
Plan: blueprint/live/NNNN-type-description.md
Status: Ready for Approval
Execution Rounds:
Round 1 โ Parallel Teams: Phase 1 (Sonnet) + Phase 2 (Sonnet) [spawned together]
Round 2 โ Single Team: Phase 3 (Sonnet) [depends on Round 1]
Totals: N tasks, M rounds (~X parallel savings)
[if -wt]
Worktree: /path/to/repoNN โ cd here, then run /plan-approved
STOP. Use AskUserQuestion here.
Context clear decision โ based on actual context usage, not plan size. The coordinator only orchestrates (delegates to subagents), so even moderate remaining context is enough:
| Context used | Recommendation |
|---|---|
| < 30% | Continue directly โ plenty of headroom for orchestration |
| 30-50% | Suggest clear โ "Context clear recommended but you can continue" |
| > 50% | Recommend clear โ "Clear context for maximum headroom" |
/plan-approved."
/path/to/repoNN."
--worktree / -wt: Create lightweight worktree after commit--no-worktree / -nw: Skip worktree creation (default)Use $ARGUMENTS as plan file path or flags.
blueprint/[H] phases โ regular subagents (fire-and-forget, dispatch all at once)[S]/[O] phases โ team-lead subagents (each manages own team internally)[S]/[O] phase โ Single Team with sequential worker IDs (worker-1, worker-2, etc.)/plan-approved that followsThese operations could be delegated to blueprint CLI in future versions:
blueprint validate <plan-file> โ automated completeness check (missing tests, unmarked tasks, stale file refs)blueprint plan-profile <plan-file> โ extract Quick Plan Profile metrics (task count, complexity distribution, parallel potential)blueprint file-matrix <plan-file> โ generate file-touch matrix from plan task descriptionsThese would make Step 2-4 faster by pre-computing what the model currently does manually.