Files
Claude-Code-Workflow/.claude/commands/gemini/mode/plan.md
catlog22 b956943f15 feat: Update workflow architecture documentation and clean up scripts
- Update agent definitions with enhanced context and flow control
- Standardize command templates for consistent CLI tool integration
- Improve gemini-wrapper with better token management and path handling
- Simplify qwen-wrapper for streamlined execution
- Enhance intelligent-tools-strategy with directory navigation patterns
- Add proper quoting for Windows path compatibility in all commands
- Update workflow planning documentation with current architectural insights

These changes align the command system with the four-layer architecture
analysis and improve cross-platform compatibility.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-28 14:34:50 +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 Gemini CLI with specialized template /gemini:mode:plan "planning topic" planning topic or architectural challenge to analyze
/gemini:mode:plan "design user dashboard feature architecture"
/gemini:mode:plan "plan microservices migration strategy"
/gemini:mode:plan "implement real-time notification system"
Bash(gemini:*) sonnet

Planning Analysis Command (/gemini:mode:plan)

Overview

This command uses Gemini CLI for comprehensive project planning and architecture analysis. It leverages Gemini CLI's powerful codebase analysis capabilities combined with expert planning templates to provide strategic insights and implementation roadmaps.

Key Features

  • Gemini CLI Integration: Utilizes Gemini CLI's deep codebase analysis for informed planning decisions

--cd Parameter Rule: When --cd parameter is provided, always execute cd "[path]" && gemini --all-files -p "prompt" to ensure analysis occurs in the specified directory context.

Usage

Basic Usage

/gemini:mode:plan "design authentication system"

Directory-Specific Analysis

/gemini:mode:plan "design authentication system" --cd "src/auth"

Command Execution

Smart Directory Detection: Auto-detects relevant directories based on topic keywords

Executes:

# Project-wide analysis
gemini --all-files -p "$(cat ~/.claude/prompt-templates/plan.md)
Planning Topic: [user_description]"

# Directory-specific analysis  
cd "[directory]" && gemini --all-files -p "$(cat ~/.claude/prompt-templates/plan.md)
Planning Topic: [user_description]"

Session Output

saves to: .workflow/WFS-[topic]/.chat/plan-[timestamp].md

Includes:

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