From 6fbd3e79cda09e8ec96a62e8572a6f34a2577e45 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Thu, 25 Sep 2025 11:13:30 +0800 Subject: [PATCH] feat: Enhance CLI tool descriptions with intelligent path navigation and orchestration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update simple tasks to emphasize intelligent path navigation and multi-round analysis - Enhance complex tasks description to highlight autonomous CLI tool orchestration - Add concrete examples showing -C parameter usage for directory-focused analysis - Improve clarity of tool selection based on task complexity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .claude/commands/workflow/plan.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.claude/commands/workflow/plan.md b/.claude/commands/workflow/plan.md index 0e78fd30..38c886dd 100644 --- a/.claude/commands/workflow/plan.md +++ b/.claude/commands/workflow/plan.md @@ -38,8 +38,27 @@ The command performs comprehensive analysis through: **1. Context Gathering & Intelligence Selection** - Reading relevant CLAUDE.md documentation based on task requirements - Automatic tool assignment based on complexity: - - **Simple tasks** (≤3 modules): Direct CLI tools (`~/.claude/scripts/gemini-wrapper` or `codex --full-auto exec`) - - **Complex tasks** (>3 modules): Task agents with integrated CLI tool access + - **Simple tasks** (≤3 modules): Direct CLI tools with intelligent path navigation and multi-round analysis + ```bash + # Analyze specific directory + ~/.claude/scripts/gemini-wrapper -C src/auth -p " + PURPOSE: Analyze authentication patterns + TASK: Review auth implementation for security patterns + CONTEXT: Focus on JWT handling and user validation + EXPECTED: Security assessment and recommendations + RULES: Focus on security vulnerabilities and best practices + " + + # Implement in specific directory + codex -C src/components --full-auto exec " + PURPOSE: Create user profile component + TASK: Build responsive profile component with form validation + CONTEXT: Use existing component patterns + EXPECTED: Complete component with tests + RULES: Follow existing component architecture + " -s danger-full-access + ``` + - **Complex tasks** (>3 modules): Specialized task agents with autonomous CLI tool orchestration and cross-module coordination - Flow control integration with automatic tool selection **2. Project Structure Analysis** ⚠️ CRITICAL PRE-PLANNING STEP