mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
1.9 KiB
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 |
|
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