mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
✨ Features: - New /cli:codex-execute command for automated multi-step task execution - Codex resume mechanism (codex exec "..." resume --last) for context continuity - TodoWrite progress tracking for subtask execution - Optional Git verification after each subtask (--verify-git flag) - Automatic task JSON detection and loading - Enhanced Codex agent configuration (.codex/AGENTS.md v2.1.0) 📚 Documentation: - Streamlined CLI documentation (60% reduction in redundancy) - Updated /cli:analyze, /cli:chat, /cli:execute commands - Enhanced intelligent-tools-strategy.md with Codex resume patterns - Unified command templates for Gemini/Qwen vs Codex - Added Codex -i parameter documentation for image attachment 🔧 Technical: - Multi-task prompt format (Single-Task & Multi-Task) - Subtask coordination guidelines and best practices - Enhanced MODE: auto with subtask execution flow - Progress reporting for multi-step workflows 📦 Updates: - Version bumped to 3.3.0 in README.md, README_CN.md - Created .claude/version.json for version tracking - Comprehensive CHANGELOG.md entry with all changes 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.8 KiB
2.8 KiB
name, description, usage, argument-hint, examples, allowed-tools, model
| name | description | usage | argument-hint | examples | allowed-tools | model | |||
|---|---|---|---|---|---|---|---|---|---|
| chat | Simple CLI interaction command for direct codebase analysis | /cli:chat [--tool <codex|gemini|qwen>] [--enhance] "inquiry" | [--tool codex|gemini|qwen] [--enhance] inquiry |
|
SlashCommand(*), Bash(*) | sonnet |
Purpose
Direct interaction with CLI tools for codebase analysis and Q&A.
Supported Tools: codex, gemini (default), qwen Reference: @~/.claude/workflows/intelligent-tools-strategy.md for complete tool details
Parameters
<inquiry>(Required): Question or analysis request--tool <codex|gemini|qwen>(Optional): Select CLI tool (default: gemini)--enhance(Optional): Enhance inquiry with/enhance-promptfirst--all-files(Optional): Include entire codebase in context--save-session(Optional): Save interaction to workflow session
Execution Flow
- Parse tool selection (default: gemini)
- If
--enhance: Execute/enhance-promptfirst - Assemble context (files + CLAUDE.md)
- Execute CLI tool
- Optional: Save to session
Enhancement Integration
When --enhance flag present: Execute /enhance-prompt "[inquiry]" first, then use enhanced output (INTENT/CONTEXT/ACTION) to build the chat command.
Context Assembly
Context gathered from:
- Project Guidelines:
@{CLAUDE.md,**/*CLAUDE.md}(always) - User-Explicit Files: Files specified by user
- All Files Flag:
--all-filesincludes entire codebase
Command Template
Gemini/Qwen:
cd [dir] && ~/.claude/scripts/[gemini|qwen]-wrapper -p "
PURPOSE: [inquiry goal]
TASK: [specific question]
CONTEXT: @{CLAUDE.md} @{target_files}
EXPECTED: [response format]
RULES: [constraints]
"
# With --all-files
cd [dir] && ~/.claude/scripts/[gemini|qwen]-wrapper --all-files -p "..."
Codex:
codex -C [dir] --full-auto exec "
PURPOSE: [inquiry goal]
TASK: [specific question]
CONTEXT: @{CLAUDE.md} @{target_files}
EXPECTED: [response format]
RULES: [constraints]
" --skip-git-repo-check -s danger-full-access
# With image attachment
codex -C [dir] -i screenshot.png --full-auto exec "..." --skip-git-repo-check -s danger-full-access
Examples
/cli:chat "analyze the authentication flow" # Gemini (default)
/cli:chat --tool qwen "optimize React component" # Qwen
/cli:chat --tool codex "review security vulnerabilities" # Codex
/cli:chat --enhance "fix the login" # Enhanced prompt
/cli:chat --all-files "find all API endpoints" # Full codebase
Session Persistence
- Active Session: Save to
.workflow/WFS-[id]/.chat/chat-[timestamp].md - No Session: Return results directly