plan
The plan slash command activates a plan-execute agent that generates detailed technical specifications with numbered sequential steps for a given task. Use this command when starting a new feature or complex development work to create comprehensive documentation that gets saved to the repository's standardized memory bank directory structure, ensuring specifications are accessible across development sessions.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/tony/claude-code-riper-5/HEAD/.claude/commands/riper/plan.md -o ~/.claude/commands/plan.mdplan.md
Activate the plan-execute agent in PLAN sub-mode for the following task: $ARGUMENTS The agent will operate in PLAN sub-mode: Create exhaustive specifications with numbered steps. Save the plan to repository root by: 1. First run: `git rev-parse --show-toplevel` to get the repository root path 2. Then create plan at: `[ROOT]/.claude/memory-bank/[branch]/plans/[branch]-[date]-[feature].md` IMPORTANT: Never create plans relative to current directory. Always use the repository root. Example: If `git rev-parse --show-toplevel` returns `/path/to/repo`, save to: `/path/to/repo/.claude/memory-bank/branch-name/plans/branch-name-2025-01-06-feature.md`
Planning and execution phase - specifications and implementation
Research and innovation phase - information gathering and brainstorming
Enter REVIEW mode to validate implementation
List all memories across branches
Recall memories from current branch's memory bank
Save context to branch-aware memory bank
Rebase current branch onto trunk (origin/master or origin/main), predict and resolve conflicts
Enter EXECUTE mode to implement approved plan