/blueprint:planfrom blueprint
Create structured implementation plans with git branches and memory search. Use this skill whenever the user wants to plan a feature, fix, refactor, or any development task. Triggers on: "/plan", "plan this", "create a plan for", "let's plan", "I need to plan", "break this into phases", "how should we approach", "let's think about how to build", or any request that involves planning, phasing, or strategizing before coding. For worktree-based plans (isolated directory), use /plan-wt instead. ALWAYS use this skill before starting implementation — planning first, coding second.
Ships in blueprint. 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.
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.
Create a plan and branch in the current repository. The plan document lives in blueprint/live/ and follows a strict template with phases, tasks, and acceptance criteria.
Need an isolated worktree instead? Use /plan-wt — same plan, but creates a separate directory.
These are non-negotiable — violating them produces broken plans:
references/plan-template.md (bundled with this skill) at Step 1. Never create a plan without it. This relative path works from both ${CLAUDE_PLUGIN_ROOT}/skills/plan/ (plugin install) and ~/.claude/skills/plan/ (traditional install).mcp__sequential-thinking__sequentialthinking at Step 2. This forces structured analysis before writing.AskUserQuestion at Step 2 if anything is unclear. Don't assume scope, priority, or approach.[H]/[S]/[O] complexity tiers. That is /plan-review's responsibility. Leave tasks unmarked.Every task in the plan MUST follow these rules:
status enum column to orders migration" not "update database").If $ARGUMENTS contains a GitHub issue number (e.g., /plan 42, /plan #42, /plan issue 42), fetch the issue and use it as context:
$ARGUMENTS (strip # prefix or issue keyword if present)gh issue view <NUMBER> --json title,body,labels,assignees
issue: <NUMBER> in the plan's frontmatter$ARGUMENTS is a plain description (not a number), set issue: null as defaultHow to distinguish from backlog: If the number matches a file in blueprint/backlog/ or blueprint/expired/, treat it as a backlog ID (see below). If no backlog file matches, treat it as a GitHub issue number. The user can also be explicit: /plan issue 42 always means GitHub issue, /plan backlog 3 always means backlog.
If $ARGUMENTS is a number (e.g., /plan 3) and matches a backlog item:
blueprint/backlog/ and blueprint/expired/ for that idea numberbacklog: "NNNN" to the plan's frontmatter (bidirectional link)status: plannedplan: "PLAN_ID" (the new plan's ID)blueprint/expired/ via git mvecho "🔷 BP: plan [1/3] parallel data gather — blueprint meta + template + pull"
Run these simultaneously in a single step (do not wait between them):
~/.blueprint/bin/blueprint meta — returns next_num, base_branch, project, team, git_remote as JSON. Use next_num for NEXT_NUM, base_branch for BASE_BRANCH.references/plan-template.md (bundled with this skill) — plan FORMAT and phase structure reference. Use blueprint meta for the number, not this file.git checkout "$BASE_BRANCH" && git pull origin "$BASE_BRANCH"Do NOT create a plan from memory. Do NOT proceed without reading the template.
echo "🔷 BP: plan [2/3] code exploration + sequential thinking"
First — launch Explore agents in parallel (before sequential thinking, not after):
Then — sequential thinking with all gathered data:
You MUST use mcp__sequential-thinking__sequentialthinking. This is where the plan takes shape:
## Handoffs section[H]/[S]/[O] complexity tiers — /plan-review handles thatAskUserQuestion for genuine ambiguities ONLY — do NOT assumeecho "🔷 BP: plan [3/3] creating plan file and branch"
Write the plan file using the v2 format. The frontmatter has NO plan_file, phases_total/done, tasks_total/done, sessions array, or name field. Status starts as todo.
# Create blueprint/live directory if needed
mkdir -p blueprint/live
# Write plan file using v2 frontmatter format
cat > "blueprint/live/${NEXT_NUM}-<type>-<slug>.md" <<'EOF'
---
id: "NNNN"
title: "<type>: Short Description"
type: <type>
status: todo
project: <project>
branch: <type>/<short-description>
base: <BASE_BRANCH>
tags: [relevant, tags]
backlog: null
issue: null
created: "DD/MM/YYYY HH:MM"
completed: null
pr: null
session: null
---
# <type>: Short Description
## Goal
{1-3 sentences}
## Non-Goals
{What is explicitly out of scope}
## Context
- `path/to/file` — what and why
- Constraint: ...
## Phases
### Phase 1: {Name}
**Touches:** ...
- [ ] Task (unmarked — no [H]/[S]/[O])
**Verify:** Run the project's test command with appropriate filter
## Acceptance
- [ ] Criterion
EOF
# Create and checkout feature branch
git checkout -b "<type>/<short-description>"
# Commit the plan file + verify branch in one step
git add blueprint/ && git commit -m "📋 plan: add ${NEXT_NUM}-<type>-<short-description>" && echo "Branch: $(git branch --show-current)"
If the output branch name does not match the intended branch — STOP. Do NOT proceed to implementation. Report the failure and ask the user to resolve it.
code "$PWD" && code "$PWD/$PLAN_FILE"
Open the plan in VS Code so the user can review it before /plan-review.
Output a summary:
Plan created and branch ready!
Plan: blueprint/live/NNNN-type-description.md
Branch: type/description
Phases: N phases, X tasks
STOP. Use AskUserQuestion here.
/plan → /plan-review → /plan-approved → /plan-check → /pr → /review → /address-pr → /finish
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (skaisser/blueprint-plugin) — no native marketplace selected
npx claudepluginhub p/skaisser-blueprint27 skills in this plugin
/address-prFetch PR review comments, categorize feedback, implement fixes, and push. Use this skill whenever the user says "/address-pr", "address review", "fix review comments", "handle PR feedback", or any request to implement fixes based on PR review feedback. Also triggers on "fix the review", "address feedback", "implement review changes", "implement the requested changes", or "handle review comments". Fetches real comments via blueprint pr-review.
/backlogCapture, manage, and promote pre-planning ideas before they become full plans. Use this skill whenever the user says "/backlog", "add to backlog", "backlog idea", "capture this idea", "save this for later", "I had an idea", or any request to manage the idea backlog. Also triggers on "list ideas", "promote idea", "backlog list", "drop idea", "mark done", "what's in the backlog", "show me the ideas", "pending ideas", or any request to add/view/promote/done/drop items in blueprint/backlog/. The backlog is the pre-planning stage — ideas live here until promoted to /plan. Even if the user doesn't explicitly say "backlog", trigger when they describe wanting to capture a feature idea, task, or improvement for later without implementing it now. This skill is the gateway to the SDLC — nothing gets planned or built without first passing through the backlog.
/batch-flowExecute multiple plans sequentially in a single session — loops flow-auto for plans N through M with auto context compaction, merge chain automation, and crash recovery. Use this skill whenever the user says "/batch-flow", "batch flow", "run plans 2 to 6", "execute all plans", "sequential plans", or any request to run multiple plans in one session. Also triggers on "multi-plan", "batch execute", "run remaining plans", "plans N through M", "batch pipeline", "run plans 3 4 and 5", "I have N plans to execute", or "execute plan N through plan M". This is the multi-plan wrapper around /flow-auto. IMPORTANT: never use AskUserQuestion in this skill — all decisions are made autonomously.
/bp-branchCreate a new feature branch following type/kebab-case conventions. Triggers on "/bp-branch", "/branch", "create branch", "new branch", "make a branch", or any request to create a git branch. Also triggers on "checkout new branch", "start a branch", "feature branch", "I need a new branch", or "branch for [something]". Uses type/description format: feat/feature-name, fix/bug-name, etc.
/bp-commitCommit current changes following emoji+type conventions with code formatting. Triggers on "/bp-commit", "/commit", "commit this", "commit changes", "save my changes", or any request to create a git commit. Also triggers on "stage and commit", "commit with message", "make a commit", "let's commit", or "save this progress". Do NOT trigger when the user also mentions pushing — route to /bp-ship instead. Runs code formatting on changed files before committing.
/bp-contextScan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs. Triggers on "/bp-context", "/context", "generate context", "audit CLAUDE.md", "scan project", or any request to create or update CLAUDE.md documentation files. Also triggers on "brownfield", "onboard project", "onboard this project", "onboard existing project", "scan existing project", "update context docs", "context scan", "check CLAUDE.md", "stale documentation", or "refresh project docs". Runs parallel workers per directory. Also audits README.md for staleness.