hybrid-ralph
Hybrid architecture combining Ralph's PRD format with Planning-with-Files' structured approach. Auto-generates PRDs from task descriptions, manages parallel…
Project-level multi-task orchestration system. Manages multiple hybrid:worktree features in parallel with dependency resolution, coordinated PRD generation, and unified merge workflow.
$ npx -y skills add Taoidle/plan-cascade --skill mega-plan --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mega-planContext preview
The summary Claude sees to decide when to auto-load this skill.
Project-level multi-task orchestration system. Manages multiple hybrid:worktree features in parallel with dependency resolution, coordinated PRD generation, and unified merge workflow.
name: mega-plan
version: "3.2.0"
description: Project-level multi-task orchestration system. Manages multiple hybrid:worktree features in parallel with dependency resolution, coordinated PRD generation, and unified merge workflow.
user-invocable: true
allowed-tools:
- Read
- Write
- Edit
- Bash
- Task
- Glob
- Grep
- AskUserQuestion
hooks:
PreToolUse:
# Show mega-plan context and parallel execution reminder for relevant tools
- matcher: "Write|Edit|Bash|Task"
hooks:
- type: command
command: |
# Show mega-plan context if we're in a mega-plan project
if [ -f "mega-plan.json" ] || [ -f ".mega-execution-context.md" ]; then
if command -v uv &> /dev/null; then
# Update and display context reminder
uv run python "${CLAUDE_PLUGIN_ROOT}/skills/mega-plan/scripts/mega-context-reminder.py" both 2>/dev/null || true
fi
fi
# Detect potential wrong-branch execution
if [ -f "mega-plan.json" ] && [ -d ".worktree" ]; then
CURRENT_BRANCH=$(git branch --show-current 2>/dev/null)
if [ "$CURRENT_BRANCH" = "main" ] || [ "$CURRENT_BRANCH" = "master" ]; then
echo ""
echo "!!! WARNING: You are on $CURRENT_BRANCH but worktrees exist !!!"
echo "!!! Feature work should happen in .worktree/<feature>/ directories !!!"
echo ""
fi
fi
PostToolUse:
# Sync status and update context file after significant operations
- matcher: "Write|Edit|Bash|Task"
hooks:
- type: command
command: |
# Best-effort: scripts exit silently if no mega-plan context is detected.
if command -v uv &> /dev/null; then
uv run python "${CLAUDE_PLUGIN_ROOT}/skills/mega-plan/scripts/mega-sync.py" 2>/dev/null || true
uv run python "${CLAUDE_PLUGIN_ROOT}/skills/mega-plan/scripts/mega-context-reminder.py" update 2>/dev/null || true
elif command -v python &> /dev/null; then
python "${CLAUDE_PLUGIN_ROOT}/skills/mega-plan/scripts/mega-sync.py" 2>/dev/null || true
python "${CLAUDE_PLUGIN_ROOT}/skills/mega-plan/scripts/mega-context-reminder.py" update 2>/dev/null || true
fiA project-level orchestration system that sits above `hybrid-ralph` to manage multiple parallel features as a unified project plan.
**At the START of any interaction**, perform this check to recover context after compression/truncation:
1. Check if `.mega-execution-context.md` exists in the project root 2. If YES:
3. If NO but `mega-plan.json` exists:
This ensures context recovery even after:
Level 1: Mega Plan (Project Level)
└── Level 2: Features (Feature Level) = hybrid:worktree
└── Level 3: Stories (Story Level) = hybrid internal parallelismGenerate a mega-plan from your project description:
/mega:plan Build an e-commerce platform with user authentication, product catalog, shopping cart, and order processing
This will: 1. Analyze your project description 2. Break it into features with dependencies 3. Create `mega-plan.json`, `mega-findings.md`, `.mega-status.json` 4. Display the plan for review
After reviewing the mega-plan:
/mega:approve
Or with automatic PRD approval for all features:
/mega:approve --auto-prd
This will: 1. Calculate feature batches based on dependencies 2. Create worktrees for Batch 1 features 3. Generate PRDs in each worktree 4. Wait for PRD approvals (or auto-approve with `--auto-prd`) 5. Execute story batches within each feature 6. Progress to next feature batch when complete
/mega:status
Shows:
When all features are complete:
/mega:complete
This will: 1. Verify all features are complete 2. Merge features in dependency order 3. Clean up worktrees and branches 4. Remove mega-plan files
project-root/ ├── mega-plan.json # Project-level plan ├── mega-findings.md # Shared findings (read-only in worktrees) ├── .mega-status.json # Execution status ├── .worktree/ │ ├── feature-auth/ │ │ ├── prd.json # Feature PRD │ │ ├── findings.md # Feature-specific findings │ │ ├── progress.txt # Story progress │ │ ├── mega-findings.md # Read-only link to shared findings │ │ └── .planning-config.json │ └── feature-products/ │ └── ...
Generate a mega-plan for project-level multi-feature orchestration. Breaks a complex project into parallel features with dependencies.
/mega:plan [options] <project description> [design-doc-path]
**Parameters:**
| Parameter | Description | |-----------|-------------| | `--flow <quick\|standard\|full>` | Execution flow depth controlling quality gate strictness | | `--tdd <off\|on\|auto>` | Test-Driven Development mode for feature execution | | `--confirm` | Require confirmation before each ba
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
Hybrid architecture combining Ralph's PRD format with Planning-with-Files' structured approach. Auto-generates PRDs from task descriptions, manages parallel…
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks,…