Arguments. [tier] [task description|#<map>]. e.g., /planning:prd, /planning:prd one-pager add gig calendar, /planning:prd review
Variables
Arguments: $ARGUMENTS
Purpose
/planning:prd produces the lockable product-intent contract: what we are building, for which users, against what measurable success, before any engineering plan, exploration, or research. It runs upstream of exploration and /planning:plan, before or alongside /planning:interview:
/planning:prdanswers what should we build, for whom, and why. Required for new user-facing features, business-driven changes, cross-team initiatives/planning:interviewanswers what is the engineering contract for this task. Required whenever intent is fuzzy or underspecified, regardless of source- A product feature usually wants both:
/planning:interviewruns first and calls/planning:prdwhen a question shows product intent is unsettled, then resumes (with exploration and research as further detours) →/planning:design→/planning:plan. Engineering-internal work skips/planning:prd
The PRD is never an implementation plan: problem, users, success, yes; architecture, files, tests, code shapes, no. If the user pulls toward implementation mid-PRD, anchor back to what for whom and leave it to /planning:plan.
Cost framing: locking product intent up front is the cheapest version of the conversation: a later session run against a written PRD costs less than one inferring goals from a half-formed thought.
Trigger conditions. When to invoke `/planning:prd`
Invoke /planning:prd when all of these are true:
- The work has a user-facing surface: new feature, screen, flow, public API, or external behavior
- The change is business- or product-driven: solves a user problem, opens a market, hits a metric. Not engineering-internal cleanup
- Alignment matters: multiple stakeholders, cross-team work, or a written reference for future agents
Skip conditions. When to not invoke `/planning:prd`
If any of these hold, do not write a PRD. Tell the user explicitly: "This is engineering-internal. No PRD. Recommend /planning:interview (if intent is fuzzy) or /planning:plan (if it's clear)."
- Refactors (no behavior change)
- Infrastructure (build, CI, hooks, config, dependency bumps, lockfiles)
- Conventions (rules files, doc updates, lint rules, analyzers)
- Bug fixes (a bug already implies the desired behavior)
- Single-team engineering work with no user-visible surface
- Tooling, scripts, internal automation
- Documentation-only changes
If ambiguous, surface the question once and let the user pick. Never silently write a PRD for an engineering-internal task.
Action Router
Read $ARGUMENTS whole. If its first word is one of the tier words in the table (one-pager, consumer, consumer-feature, b2b, b2b-internal, synthesize, review), that row wins and the rest of $ARGUMENTS is the task. Any other first word starts the task description, not a tier. When $ARGUMENTS is empty, ask for the tier (surface rules below).
| Argument | Action | Use case |
|----------|--------|----------|
| (empty) | Smart default | If a prior PRD exists for the topic, offer resume/revise/start-fresh. Otherwise prompt for tier + task. |
| <task description> (no tier word) | Full PRD, prompt for tier | Run skip-condition check, then ask which template tier (one-pager / consumer-feature / B2B-internal). |
| [tier] #<map> | PRD from a map issue | Step 2 reads its decisions |
| one-pager <task> | Tier 1. Thin one-pager | Small feature, single team, fast lock. ~½ page. |
| consumer <task> or consumer-feature <task> | Tier 2. Consumer feature | User-facing app feature with metrics, user stories, risk surface. ~1 page. |
| b2b <task> or b2b-internal <task> | Tier 3. B2B / internal | Stakeholders, compliance, integration, rollout, change-management. ~2 pages. |
| synthesize <task> | Synthesis-only PRD | Skip Q&A. Produce PRD from existing conversation context when it already holds rich product context. Still runs skip-condition check (Step 1) and survey (Step 2). |
| review | PRD review | Critique an existing PRD.md against template + skip-conditions. |