Skip to content
Development
Command

/spec-plan

Run a resumable spec interview to produce spec.json/spec.md (planning-time), then optionally compile to prd.json. Usage: /plan-cascade:spec-plan \"<desc>\" [--output-dir <dir>] [--flow <quick|standard|full>] [--first-principles] [--max-questions N] [--feature-slug <slug>]

From plugin
plan-cascade
14030 skills30 commands
Install
> /plugin marketplace add Taoidle/plan-cascade
> /plugin install plan-cascade@plan-cascade

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/spec-plan

Context preview

What this command does when you run it.

Run a resumable spec interview to produce spec.json/spec.md (planning-time), then optionally compile to prd.json. Usage: /plan-cascade:spec-plan \"<desc>\" [--output-dir <dir>] [--flow <quick|standard|full>] [--first-principles] [--max-questions N] [--feature-slug <slug>]

Command definition

spec-plan.md
description: "Run a resumable spec interview to produce spec.json/spec.md (planning-time), then optionally compile to prd.json. Usage: /plan-cascade:spec-plan \"<desc>\" [--output-dir <dir>] [--flow <quick|standard|full>] [--first-principles] [--max-questions N] [--feature-slug <slug>] [--compile] [--tdd <off|on|auto>] [--confirm] [--no-confirm]"

Plan Cascade - Spec Plan (Interview)

Start (or resume) a **Specification Interview** and generate:

  • `spec.json` (structured spec)
  • `spec.md` (human-readable spec)
  • `.state/spec-interview.json` (resume state)

Optionally compile `spec.json` → `prd.json`.

Step 1: Parse Arguments

Parse:

  • `<desc>`: required description
  • `--output-dir <dir>`: optional (default: current directory)
  • `--flow <quick|standard|full>`: optional (default: standard)
  • `--first-principles`: optional
  • `--max-questions N`: optional (default: 18)
  • `--feature-slug <slug>`: optional (useful for Mega features)
  • `--compile`: optional (also run compile after interview)
  • `--tdd <off|on|auto>`: optional (only used with `--compile`)
  • `--confirm` / `--no-confirm`: optional (only used with `--compile`, `--no-confirm` wins)

Step 2: Run Interview (CLI)

Run:

uv run --project "${CLAUDE_PLUGIN_ROOT}" plan-cascade spec plan "<desc>" \
  --output-dir "<output-dir>" \
  --flow <flow> \
  --mode on \
  --max-questions <N> \
  --feature-slug "<slug>" \
  $( [ "<first-principles>" = true ] && echo "--first-principles" )

Step 3 (Optional): Compile to PRD

If `--compile`:

uv run --project "${CLAUDE_PLUGIN_ROOT}" plan-cascade spec compile \
  --output-dir "<output-dir>" \
  --flow <flow> \
  --tdd <tdd> \
  $( [ "<no-confirm>" = true ] && echo "--no-confirm" || true ) \
  $( [ "<confirm>" = true ] && echo "--confirm" || true )

Output Files

  • `spec.json`
  • `spec.md`
  • `.state/spec-interview.json`
  • `prd.json` (if `--compile`)
Read more
Ships withplan-cascade

AI-Powered Cascading Development Framework Transform complex projects into parallel executable tasks with intelligent decomposition and multi-provider execution Why Plan Cascade? • Product Editions • Quick Start • Architecture

Get the whole plugin
Stats
141
Stars
12
Forks
Quiet
Maintenance
Rust
Language
MIT
License
6mo ago
Last commit
8mo ago
Created

Repo: Taoidle/plan-cascade

Other commands on plan-cascade.