mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
Major Changes: - Update README.md and README_CN.md to reflect v1.0 release instead of v2.0 - Add Gemini CLI integration highlights: dynamic template discovery, auto-selection - Correct command references from /gemini:pre:* to /gemini:mode:* - Add Smart Template Auto-Selection usage examples - Reorganize Gemini commands from /pre/ to /mode/ directory structure Documentation Improvements: - Replace v2.0 architecture claims with actual v1.0 achievements - Highlight 500+ lines of documentation streamlining - Add practical examples for new auto-selection template system - Maintain consistency between English and Chinese versions Command Structure Updates: - Move auto.md, bug-index.md, plan.md from /pre/ to /mode/ directory - Update gemini-unified.md path references - Ensure all command references are accurate and functional 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
75 lines
1.9 KiB
Markdown
75 lines
1.9 KiB
Markdown
---
|
|
name: plan
|
|
description: Project planning and architecture analysis using specialized template
|
|
usage: /gemini:mode:plan "planning topic"
|
|
argument-hint: "planning topic or architectural challenge to analyze"
|
|
examples:
|
|
- /gemini:mode:plan "design user dashboard feature architecture"
|
|
- /gemini:mode:plan "plan microservices migration strategy"
|
|
- /gemini:mode:plan "implement real-time notification system"
|
|
allowed-tools: Bash(gemini:*)
|
|
model: sonnet
|
|
---
|
|
|
|
# Planning Analysis Command (/gemini:mode:plan)
|
|
|
|
## Overview
|
|
Comprehensive project planning and architecture analysis using expert planning template.
|
|
|
|
## Usage
|
|
|
|
### Basic Planning Analysis
|
|
```bash
|
|
/gemini:mode:plan "design authentication system"
|
|
```
|
|
|
|
### With All Files Context
|
|
```bash
|
|
/gemini:mode:plan "microservices migration" --all-files
|
|
```
|
|
|
|
### Save to Workflow Session
|
|
```bash
|
|
/gemini:mode:plan "real-time notifications" --save-session
|
|
```
|
|
|
|
## Command Execution
|
|
|
|
**Template Used**: `~/.claude/prompt-templates/plan.md`
|
|
|
|
**Executes**:
|
|
```bash
|
|
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 |