refactor: Reorganize Gemini commands - move bug-fix to pre/bug-index

- Move bug-fix.md from gemini/chat/ to gemini/pre/bug-index.md
- Update command name from bug-fix to bug-index
- Update all command references to use /gemini:pre:bug-index path
- Delete obsolete chat/plan.md file
- Maintain template functionality while improving command organization

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-09 15:16:03 +08:00
parent 2c3e04b6fc
commit 3992881b84
2 changed files with 7 additions and 7 deletions

View File

@@ -1,18 +1,18 @@
---
name: bug-fix
name: bug-index
description: Bug analysis and fix suggestions using specialized template
usage: /gemini:chat:bug-fix "bug description"
usage: /gemini:pre:bug-index "bug description"
argument-hint: "description of the bug or error you're experiencing"
examples:
- /gemini:chat:bug-fix "authentication null pointer error in login flow"
- /gemini:chat:bug-fix "React component not re-rendering after state change"
- /gemini:chat:bug-fix "database connection timeout in production"
- /gemini:pre:bug-index "authentication null pointer error in login flow"
- /gemini:pre:bug-index "React component not re-rendering after state change"
- /gemini:pre:bug-index "database connection timeout in production"
allowed-tools: Bash(gemini:*)
model: sonnet
---
### 🐛 **Command Overview: `/gemini:chat:bug-fix`**
### 🐛 **Command Overview: `/gemini:pre:bug-index`**
- **Type**: Template-based Gemini CLI Wrapper
- **Purpose**: Specialized bug analysis and fix suggestions using expert diagnostic template
@@ -90,7 +90,7 @@ END FUNCTION
When `--save-session` is used:
- Saves to `.workflow/WFS-[topic]/.chat/` directory
- File named: `bug-fix-YYYYMMDD-HHMMSS.md`
- File named: `bug-index-YYYYMMDD-HHMMSS.md`
- Includes template used, bug description, analysis, and recommendations
**Session Template:**