New Focus Area Planning Prompt (Wrapper)
/pb-plan is the muscle-memory entry point for planning a focus area. It orchestrates two focused skills: /pb-sketch (surface unknowns + enumerate decision forks) and /pb-spec (write the detailed plan from resolved decisions).
Resource Hint: opus - Architect-tier reasoning required by both sub-skills.
Tool-agnostic: This wrapper works with any tool. Claude Code users invoke as /pb-plan. Using another tool? Read the two sub-skills directly and sequence them yourself.
When to Use
- Planning a new focus area end-to-end - context, decisions, and detailed plan in one flow.
- Not sure if forks exist - the wrapper runs sketch first and tells you.
- Muscle memory says “/pb-plan” - single entry, sub-skills handled.
Use the sketch sub-skill directly to explore without committing. Use the spec sub-skill directly when decisions are already made.
Why a Wrapper
Planning is two jobs: decide (problem + forks + recommended picks) and do (numbered steps + verification + rollback). Conflating them writes the plan around the first viable approach. Splitting them forces decisions before step-writing – and the wrapper makes that discipline the default path.
Workflow
Step 1: Discover context
Ask the user (or confirm from provided context):
- What’s the focus area?
- What’s the trigger (why now)?
- Any constraints or boundaries already known?
If the user has done /pb-start or similar, context may already be loaded. Don’t re-ask.
Step 2: Run /pb-sketch
Invoke /pb-sketch with the focus area. This produces:
- A sketch file at
sketch/{name}.md - Decision Forks (2-4 options per fork, recommended tagged)
- Recommended picks (copy/paste line)
Read the sketch output. If it says “No forks,” skip to Step 4.
File side-effect:
/pb-sketchwritessketch/{name}.mdand/pb-specwrites eitherplan/{name}.mdortodos/releases/vX.Y.Z/. Both are git-visible. For throwaway exploration, run against a scratch branch or.gitignorethe directory.
Step 3: Present decisions to user
Print the Decision Forks block. Ask:
Confirm recommended picks
{label-list}, or override with specific labels. Type the labels (e.g.,1-a, 2-b) ordefaultto accept recommendations.
Wait for user response. Update the sketch’s Recommended Picks line with the resolved labels. Mark sketch status: decisions resolved.
Step 4: Run /pb-spec
Invoke /pb-spec with the resolved sketch. This produces:
- Path A (small feature): single file at
plan/{name}.md - Path B (release cycle): directory at
todos/releases/vX.Y.Z/
Hand off the plan path to the user.
Step 5: Confirm completion
Print the plan path(s). Suggest the next command:
- For small features:
/pb-todo-implementor manual execution - For release cycles:
/pb-starton the first phase, or direct/pb-todo-implement
When NOT to Wrap
Use the sub-skills directly when:
- You already know the approach - skip
/pb-sketch; invoke/pb-specwith a brief description or minimal sketch file. - You’re exploring without committing - use
/pb-sketchstandalone. Don’t write the spec until you’re ready to commit. - You need to re-plan one phase - invoke
/pb-specon the existing sketch with the changed fork decision. - The work is a one-liner - skip planning entirely; just do it.
Resumption
If the user invokes /pb-plan on a focus area that already has a sketch or spec:
- Sketch exists, decisions unresolved: jump to Step 3 (present decisions).
- Sketch exists, decisions resolved, no spec: jump to Step 4 (run
/pb-spec). - Spec exists: confirm and suggest next action (implement, re-plan a phase, or start over).
Don’t re-run sketch on existing resolved work.
Red Flags
Sketch skipped when forks existed
- Signal: spec has ambiguity about approach mid-way through implementation.
- Response: stop, run
/pb-sketchon the ambiguous area, resolve, update spec.
Decisions collapsed in wrapper
- Signal: wrapper auto-picks without asking, user disagreed later.
- Response: always surface the Decision Forks block verbatim unless running in an explicit non-interactive mode (e.g., automation wrapper that auto-picks recommendations).
Wrapper used when sub-skill would be clearer
- Signal: users say “I just wanted the forks, not the whole plan.”
- Response: point them at
/pb-sketchdirectly.
Related Commands
/pb-sketch- Decision forks, bounded research, recommended picks. Step 2 of this wrapper./pb-spec- Detailed implementation plan with size-gate. Step 4 of this wrapper./pb-adr- Document architecture decisions formally for significant forks./pb-start- Alternate entry point; begins work from a plan./pb-todo-implement- Executes a plan phase-by-phase with commits.