approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
Initialize Plan Cascade environment. Detects OS, installs uv if needed, and verifies Python execution. Run this once before using other commands.
> /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.
/initContext preview
What this command does when you run it.
Initialize Plan Cascade environment. Detects OS, installs uv if needed, and verifies Python execution. Run this once before using other commands.
description: "Initialize Plan Cascade environment. Detects OS, installs uv if needed, and verifies Python execution. Run this once before using other commands."
This command sets up the cross-platform environment for Plan Cascade.
OS_TYPE="unknown"
case "$(uname -s)" in
Linux*) OS_TYPE="linux"; echo "Detected: Linux";;
Darwin*) OS_TYPE="macos"; echo "Detected: macOS";;
CYGWIN*|MINGW*|MSYS*) OS_TYPE="windows"; echo "Detected: Windows (via Git Bash/MSYS2)";;
*) OS_TYPE="unknown"; echo "Warning: Unknown OS";;
esacuv is a fast Python package manager that handles virtual environments automatically.
if command -v uv &> /dev/null; then
echo "uv is already installed: $(uv --version)"
else
echo "Installing uv..."
case "$OS_TYPE" in
windows)
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex"
;;
*)
curl -LsSf https://astral.sh/uv/install.sh | sh
;;
esac
# Add to PATH for current session
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
if command -v uv &> /dev/null; then
echo "uv installed successfully: $(uv --version)"
else
echo "uv installation failed. Please install manually:"
echo " https://docs.astral.sh/uv/getting-started/installation/"
exit 1
fi
fiecho "Testing Python execution..."
if uv run python -c "import sys; print(f'Python {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}')"; then
echo "Python execution successful"
else
echo "Python execution failed"
exit 1
fiecho "Testing Plan Cascade module..."
if uv run python -c "from plan_cascade.state.path_resolver import PathResolver; print('Plan Cascade module loaded')"; then
echo "Plan Cascade module accessible"
else
echo "Plan Cascade module not found. Installing..."
uv pip install -e .
fiecho ""
echo "================================"
echo "Environment Setup Complete"
echo "================================"
echo "OS: $OS_TYPE"
uv --version
uv run python -c "import sys; print(f'Python: {sys.version}')"
echo ""
echo "You can now use Plan Cascade commands:"
echo " /plan-cascade:auto <task>"
echo " /plan-cascade:mega-plan <project>"
echo " /plan-cascade:hybrid-auto <feature>"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…