mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-15 02:42:45 +08:00
- 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>
1.8 KiB
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:pre:bug-index "bug description" | description of the bug or error you're experiencing |
|
Bash(gemini:*) | sonnet |
Bug Analysis Command (/gemini:pre:bug-index)
Overview
Systematic bug analysis and fix suggestions using expert diagnostic template.
Usage
Basic Bug Analysis
/gemini:pre:bug-index "authentication error during login"
With All Files Context
/gemini:pre:bug-index "React state not updating" --all-files
Save to Workflow Session
/gemini:pre: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