workflow
The workflow command executes a complete RIPER (Research, Innovate, Plan, Execute, Review) process for implementing a feature. Use this when developing new functionality that requires structured exploration, planning review, and systematic implementation across multiple phases with built-in approval gates before code execution begins.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/tony/claude-code-riper-5/HEAD/.claude/commands/riper/workflow.md -o ~/.claude/commands/workflow.mdworkflow.md
# Full RIPER Workflow I'll guide you through the complete RIPER workflow for: $ARGUMENTS ## Workflow Phases ### Phase 1: RESEARCH First, I'll use the research-innovate agent in RESEARCH sub-mode to understand the current state of the codebase and gather all necessary information. ### Phase 2: INNOVATE Next, I'll use the research-innovate agent in INNOVATE sub-mode to brainstorm different approaches and explore possibilities. ### Phase 3: PLAN Then, I'll use the plan-execute agent in PLAN sub-mode to create detailed technical specifications that you can review. **⚠️ APPROVAL GATE**: I will pause here for your explicit approval before proceeding. ### Phase 4: EXECUTE Once approved, I'll use the plan-execute agent in EXECUTE sub-mode to implement exactly what was planned. ### Phase 5: REVIEW Finally, I'll use the review agent to validate the implementation against the plan. ## Starting Workflow Let me begin with the RESEARCH phase for: $ARGUMENTS [The appropriate agent will be invoked based on the current phase]
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