Files
Claude-Code-Workflow/.claude/commands/gemini/mode/bug-index.md
catlog22 cda42d6356 docs: Update README with accurate v1.0 features and reorganize Gemini commands
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>
2025-09-09 23:12:06 +08:00

1.8 KiB

name, description, usage, argument-hint, examples, allowed-tools, model
name description usage argument-hint examples allowed-tools model
bug-index Bug analysis and fix suggestions using specialized template /gemini:mode:bug-index "bug description" description of the bug or error you're experiencing
/gemini:mode:bug-index "authentication null pointer error in login flow"
/gemini:mode:bug-index "React component not re-rendering after state change"
/gemini:mode:bug-index "database connection timeout in production"
Bash(gemini:*) sonnet

Bug Analysis Command (/gemini:mode:bug-index)

Overview

Systematic bug analysis and fix suggestions using expert diagnostic template.

Usage

Basic Bug Analysis

/gemini:mode:bug-index "authentication error during login"

With All Files Context

/gemini:mode:bug-index "React state not updating" --all-files

Save to Workflow Session

/gemini:mode:bug-index "API timeout issues" --save-session

Command Execution

Template Used: ~/.claude/prompt-templates/bug-fix.md

Executes:

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

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

Bug Description: [user_description]"

Analysis Focus

The bug-fix template provides:

  • Root Cause Analysis: Systematic investigation
  • Code Path Tracing: Following execution flow
  • Targeted Solutions: Specific, minimal fixes
  • Impact Assessment: Understanding side effects

Options

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

Session Output

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

Includes:

  • Bug description
  • Template used
  • Analysis results
  • Recommended actions