mcpField
B
blueprint

blueprint

github.com/camachoAgent workflows239 installs
Repository

About blueprint

blueprint is a planning skill for writing and committing the canonical ai-env plan for a task. It guides coding agents through prerequisites, a single brainstorming round, template completion, and handoff to review without starting implementation.

Key features

  1. 01Checks task and worktree prerequisites
  2. 02Runs one brainstorming round
  3. 03Fills the plan template
  4. 04Selects a threat model
  5. 05Commits the plan before review
  6. 06Keeps planning separate from implementation

Use cases

  1. 01Preparing a structured plan before coding
  2. 02Recording concrete implementation and test steps
  3. 03Choosing a threat model for a task
  4. 04Creating a committed handoff for review

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/camacho/ai-skills --skill blueprint

After installing, type/blueprintin Claude Code to confirm it loaded.

Bundled filesreferences/planning-quality.md

Details

From the project README

/blueprint

Write the canonical ai-env blueprint (plan file) for the current task. Requires /orient to have run first.

Sequence

  1. Check prerequisites. Confirm a worktree exists and /orient has identified the task. If not, stop and tell the user.
  2. Brainstorm (one round). Invoke /brainstorming with the task description. One round only — capture direction, do not iterate.
  3. Read the template. Read ai-workspace/plans/TEMPLATE.md from the repo root.
  4. Write the plan. Create ai-workspace/plans/<branch-slug>.md with ALL template fields. For complex plans, read references/planning-quality.md and apply its checklist without copying the whole reference into the plan.
FieldHow to fill
BranchCurrent branch name
TargetBranch to merge into. Default: detected via reflog parent (see below), falling back to main. Override only when intentionally retargeting. /ship reads this field.
CreatedToday's date (YYYY-MM-DD)
StatusIn Progress
Threat modelSee selection table below
Scope ceilingKeep template defaults (400/6 soft, 800/10 hard)
Task1-3 sentences: what and why
StepsCheckbox list of concrete implementation steps
Confidence ScaffoldRequired for adversarial. Recommended for complex advisory.
Outcomes & LearningsLeave empty — populated by /archive
  1. Commit the plan. Stage and commit the plan file before handing off to /review:

    git -C "$WORKTREE" add ai-workspace/plans/<name>.md
    git -C "$WORKTREE" commit -m "blueprint: <name>"
    

    Required because /review works against committed state. A session crash or /clear after writing the plan but before /review runs loses the brainstorming work otherwise. See ADR-008 (refs/wip/checkpoints/<branch> Stop-hook backstop) for the recovery path if this step is skipped.

Detecting the Target

The default Target is the branch this branch was cut from, read from the reflog:

TARGET=$(
  git reflog show HEAD --pretty=format:'%gs' \
    | grep "^branch: Created from" \
    | head -1 \
    | sed 's/branch: Created from //' \
    | sed 's|^origin/||'
)
TARGET=${TARGET:-main}

Falls back to main when the reflog is empty (web sessions, detached-HEAD creation). Use this whenever the user hasn't explicitly named a Target. Pure git — works in any environment without tool installs.

Threat model selection

SignalModel
Internal tooling, refactor, docs, tests, configadvisory
Auth, secrets, input validation, CI, hooks, permissionsadversarial
Unsureadversarial

Guardrails

  • Do NOT review the blueprint. That is /review (Step 4).
  • Do NOT start implementation. The blueprint is the deliverable.
  • Do NOT skip any template field.
  • Do NOT proceed to /review without committing the blueprint file first.
  • If brainstorming reveals the task is one-sentence scope, say so and skip.
  • Scope ceiling values are fixed — do not change them.
  • Steps must be concrete actions with checkboxes, not vague phases.
  • Include test steps explicitly. When tests need a separate author (TDD contract), list them as distinct tasks from implementation so /build dispatches test-writer and implementer separately.
  • Do NOT invoke another planning skill; this skill owns ai-env plan writing.

Output

After writing, report:

Plan written: ai-workspace/plans/<name>.md
Threat model: advisory|adversarial
Steps: <count>
Next step: /review (Step 4)

Comments

Markdown supported