Skip to main content
ClaudeWave
Slash Command91 repo starsupdated 8d ago

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.

Install in Claude Code
Copy
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.md
Then start a new Claude Code session; the slash command loads automatically.

plan.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`