Files
Claude-Code-Workflow/.claude/commands/gemini/pre/plan.md
catlog22 47493a4db5 refactor: Streamline Gemini commands documentation and reduce duplication
- Simplify analyze.md, execute.md, bug-index.md, and plan.md command documentation
- Remove redundant content and focus on essential usage patterns
- Reduce total lines by 503 while maintaining core functionality
- Improve documentation clarity and reduce maintenance overhead

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 22:55:02 +08:00

1.9 KiB

name, description, usage, argument-hint, examples, allowed-tools, model
name description usage argument-hint examples allowed-tools model
plan Project planning and architecture analysis using specialized template /gemini:pre:plan "planning topic" planning topic or architectural challenge to analyze
/gemini:pre:plan "design user dashboard feature architecture"
/gemini:pre:plan "plan microservices migration strategy"
/gemini:pre:plan "implement real-time notification system"
Bash(gemini:*) sonnet

Planning Analysis Command (/gemini:pre:plan)

Overview

Comprehensive project planning and architecture analysis using expert planning template.

Usage

Basic Planning Analysis

/gemini:pre:plan "design authentication system"

With All Files Context

/gemini:pre:plan "microservices migration" --all-files

Save to Workflow Session

/gemini:pre:plan "real-time notifications" --save-session

Command Execution

Template Used: ~/.claude/prompt-templates/plan.md

Executes:

gemini --all-files -p "$(cat ~/.claude/prompt-templates/plan.md)

Context: @{CLAUDE.md,**/*CLAUDE.md}

Planning Topic: [user_description]"

Planning Focus

The planning template provides:

  • Requirements Analysis: Functional and non-functional requirements
  • Architecture Design: System structure and interactions
  • Implementation Strategy: Step-by-step development approach
  • Risk Assessment: Challenges and mitigation strategies
  • Resource Planning: Time, effort, and technology needs

Options

Option Purpose
--all-files Include entire codebase for context
--save-session Save analysis to workflow session

Session Output

When --save-session used, saves to: .workflow/WFS-[topic]/.chat/plan-[timestamp].md

Includes:

  • Planning topic
  • Template used
  • Analysis results
  • Implementation roadmap
  • Key decisions