approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
Edit the current PRD in your default editor. Opens prd.json, validates after saving, and re-displays review. Supports adding/removing stories, changing priorities, and modifying dependencies.
> /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.
/editContext preview
What this command does when you run it.
Edit the current PRD in your default editor. Opens prd.json, validates after saving, and re-displays review. Supports adding/removing stories, changing priorities, and modifying dependencies.
description: "Edit the current PRD in your default editor. Opens prd.json, validates after saving, and re-displays review. Supports adding/removing stories, changing priorities, and modifying dependencies."
You are opening the PRD file for manual editing.
PRD file location depends on the storage mode:
The command uses PathResolver to find the correct file location.
# Get PRD path from PathResolver
PRD_PATH=$(uv run python -c "from plan_cascade.state.path_resolver import PathResolver; from pathlib import Path; print(PathResolver(Path.cwd()).get_prd_path())" 2>/dev/null || echo "prd.json")
# Also check local prd.json (in worktree)
if [ -f "prd.json" ]; then
PRD_PATH="prd.json"
elif [ ! -f "$PRD_PATH" ]; then
echo "ERROR: No PRD found at: $PRD_PATH"
echo "Please generate one first with:"
echo " /plan-cascade:hybrid-auto <description>"
echo " /plan-cascade:hybrid-manual <path>"
exit 1
fiOpen the PRD file with the system's default editor:
# Detect platform and open editor
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" || "$OS" == "Windows_NT" ]]; then
# Windows
start "$PRD_PATH"
elif [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
open "$PRD_PATH"
else
# Linux - use $EDITOR or fallback
${EDITOR:-nano} "$PRD_PATH"
fiTell the user:
Opening PRD at: {PRD_PATH} in your default editor...
Make your changes, then save and close the editor to continue.Wait for the user to finish editing. (The editor command will block until closed.)
After the editor closes, validate the modified PRD:
# Check JSON syntax
if ! uv run python -m json.tool "$PRD_PATH" > /dev/null 2>&1; then
echo "ERROR: Invalid JSON in PRD at: $PRD_PATH"
echo "Please fix the syntax errors and run /plan-cascade:edit again"
exit 1
fiValidate structure:
If validation fails, show specific errors and suggest re-running `/plan-cascade:edit`.
Show the updated PRD review with:
PRD updated successfully! Next steps: - /plan-cascade:approve - Approve and start execution - /plan-cascade:edit - Make more changes - /plan-cascade:show-dependencies - View dependency graph
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…