approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
Generate PRD from task description and enter review mode. Auto-generates user stories with priorities, dependencies, and acceptance criteria for parallel execution. Usage: /plan-cascade:hybrid-auto [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm]
> /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.
/hybrid-autoContext preview
What this command does when you run it.
Generate PRD from task description and enter review mode. Auto-generates user stories with priorities, dependencies, and acceptance criteria for parallel execution. Usage: /plan-cascade:hybrid-auto [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm]
description: "Generate PRD from task description and enter review mode. Auto-generates user stories with priorities, dependencies, and acceptance criteria for parallel execution. Usage: /plan-cascade:hybrid-auto [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec <off|auto|on>] [--first-principles] [--max-questions N] [--agent <name>] <task description> [design-doc-path]"
You are automatically generating a Product Requirements Document (PRD) from the task description.
This command accepts flow control parameters that affect story execution:
Parameters are saved to `prd.json` and later used by `/plan-cascade:approve`. Priority order:
1. **Command-line flags to THIS command** (highest priority)
2. **Command-line flags to `/plan-cascade:approve`**
3. **Default values** (lowest priority)
**Example Flow:**
# Step 1: Generate PRD with parameters /plan-cascade:hybrid-auto --flow full --tdd on "Build auth" # → Saves to prd.json: flow_config.level="full", tdd_config.mode="on" # Step 2a: Approve with saved parameters /plan-cascade:approve # → Uses flow="full", tdd="on" from prd.json # Step 2b: Approve with override /plan-cascade:approve --flow standard # → Uses flow="standard" (overrides prd.json), tdd="on" (from prd.json)
**Note:** This command writes parameters to `prd.json` in Step 5. The recommended `/plan-cascade:approve` command (shown in Step 6) includes the same parameters for clarity, but they're already in prd.json.
Override the execution flow depth for the approve phase.
| Flow | Gate Mode | AI Verification | Code Review | Test Enforcement | |------|-----------|-----------------|-------------|------------------| | `quick` | soft | disabled | no | no | | `standard` | soft | enabled | no | no | | `full` | **hard** | enabled | **required** | **required** |
Control Test-Driven Development mode for story execution.
| Mode | Description | |------|-------------| | `off` | TDD disabled | | `on` | TDD enabled with prompts and compliance checks | | `auto` | Automatically decide based on risk assessment (default) |
Require confirmation before each batch execution in the approve phase.
Explicitly disable batch confirmation, even if FULL flow would normally require it. Useful for CI/automated environments where you want strict quality gates but no interactive prompts.
**Precedence**: `--no-confirm` overrides `--confirm` and FULL flow's default confirmation requirement.
Enable a planning-time **spec interview** to produce `spec.json/spec.md` before finalizing `prd.json`.
Ask 3–5 first-principles questions before detailed spec questions (only when spec interview runs).
Soft cap for interview length (recorded in `.state/spec-interview.json`).
**CRITICAL**: If this is your first time using Plan Cascade, run `/plan-cascade:init` first to set up the environment.
# Quick check - if this fails, run /plan-cascade:init
uv run python -c "print('Environment OK')" 2>/dev/null || echo "Warning: Run /plan-cascade:init to set up environment"Plan Cascade supports two path storage modes:
Runtime files stored in user directory:
Files created:
All files in project root or worktree directory.
User-visible files (`progress.txt`, `findings.md`) always remain in the working directory.
PRD generation can use different AI agents:
| Agent | Type | Notes | |-------|------|-------| | `claude-code` | task-tool | Default, always available | | `codex` | cli | Good for structured PRD generation | | `aider` | cli | Alternative for PRD generation |
--agent <name> Agent to use for PRD and design doc generation
**To avoid command confirmation prompts:**
1. **Use Read tool for file reading** - NEVER use `cat` via Bash
2. **Use Write tool for file creation** - When creating prd.json
**IMPORTANT**: Before creating any planning files, ensure the project's `.gitignore` is configured to ignore Plan Cascade temporary files:
# Check and update .gitignore for Plan Cascade entries uv run python -c "from plan_cascade.utils.gitignore import ensure_gitignore; from pathlib import Path; ensure_gitignore(Path.cwd())" 2>/dev/null || echo "Note: Could not auto-update .gitignore"
This prevents planning files from being accidentally committed to version control.
Parse user arguments:
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
Repo: Taoidle/plan-cascade
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
AI auto strategy executor. Analyzes task and automatically selects and executes the best strategy: direct execution, hybrid-auto PRD generation,…
Check and update .gitignore to exclude Plan Cascade temporary files. Ensures planning files won't be accidentally committed to version control.
Complete a worktree task. Verifies all phases are complete, commits code changes (excluding planning files), merges to target branch, and removes worktree. Can…
Show execution status dashboard. Usage: /plan-cascade:dashboard [--verbose|-v] [--json]
Generate a technical design document. Auto-detects level: project-level from mega-plan.json, or feature-level from prd.json. Provides architectural context for…