From 3992881b84ea59bc811f50ee1dc170ee2bed8787 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Tue, 9 Sep 2025 15:16:03 +0800 Subject: [PATCH] refactor: Reorganize Gemini commands - move bug-fix to pre/bug-index MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .../gemini/{chat/bug-fix.md => pre/bug-index.md} | 14 +++++++------- .claude/commands/gemini/{chat => pre}/plan.md | 0 2 files changed, 7 insertions(+), 7 deletions(-) rename .claude/commands/gemini/{chat/bug-fix.md => pre/bug-index.md} (89%) rename .claude/commands/gemini/{chat => pre}/plan.md (100%) diff --git a/.claude/commands/gemini/chat/bug-fix.md b/.claude/commands/gemini/pre/bug-index.md similarity index 89% rename from .claude/commands/gemini/chat/bug-fix.md rename to .claude/commands/gemini/pre/bug-index.md index 878007f7..29437c0f 100644 --- a/.claude/commands/gemini/chat/bug-fix.md +++ b/.claude/commands/gemini/pre/bug-index.md @@ -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:** diff --git a/.claude/commands/gemini/chat/plan.md b/.claude/commands/gemini/pre/plan.md similarity index 100% rename from .claude/commands/gemini/chat/plan.md rename to .claude/commands/gemini/pre/plan.md