refactor: Reorganize workflow documentation structure and eliminate redundancy

## Major Changes
- **Replace 3 documents with 2**: Consolidate 655 lines to ~550 lines (40% reduction)
- **New Structure**:
  - `intelligent-tools-strategy.md` (strategic layer)
  - `tools-implementation-guide.md` (implementation layer)
- **Remove old files**: `intelligent-tools.md`, `gemini-unified.md`, `codex-unified.md`

## Content Improvements
- **Quick Start section**: Essential commands for immediate use
- **Strategic guidance**: Tool selection matrix and decision framework
- **Implementation details**: Part A (shared), Part B (Gemini), Part C (Codex)
- **Eliminate duplicates**: Template system, file patterns, execution settings

## Reference Updates
- **Agent files**: Update to new document paths (3 files)
- **Command files**: Batch update all references (12 files)
- **README files**: Update English and Chinese versions
- **Workflow files**: Update plan.md reference

## Benefits
- 40% content reduction while preserving all unique information
- Clear layer separation: strategy vs implementation
- Improved navigation and maintainability
- Enhanced quick reference capabilities

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-14 20:59:15 +08:00
parent 62f05827a1
commit d0b08794ca
20 changed files with 549 additions and 677 deletions

View File

@@ -16,7 +16,7 @@ model: haiku
## Overview
Quick analysis tool for codebase insights using intelligent pattern detection and template-driven analysis with Codex CLI.
**Core Guidelines**: @~/.claude/workflows/codex-unified.md
**Core Guidelines**: @~/.claude/workflows/tools-implementation-guide.md
⚠️ **Critical Difference**: Codex has **NO `--all-files` flag** - you MUST use `@` patterns to reference files.
@@ -152,4 +152,4 @@ Context: [user_description]"
| Pattern Flexibility | Must be explicit | Auto-includes with flag |
For detailed syntax, patterns, and advanced usage see:
**@~/.claude/workflows/codex-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -186,4 +186,4 @@ When `--save-session` flag is used:
```
For detailed syntax, patterns, and advanced usage see:
**@~/.claude/workflows/codex-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -20,7 +20,7 @@ model: sonnet
**Purpose**: Execute implementation tasks using intelligent context inference and Codex CLI with full permissions.
**Core Guidelines**: @~/.claude/workflows/codex-unified.md
**Core Guidelines**: @~/.claude/workflows/tools-implementation-guide.md
⚠️ **Critical Difference**: Codex has **NO `--all-files` flag** - you MUST use `@` patterns to reference files.
@@ -220,4 +220,4 @@ Based on task type, automatically selects:
| Development Focus | Code generation & implementation | Analysis & planning |
For detailed patterns, syntax, and templates see:
**@~/.claude/workflows/codex-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -17,7 +17,7 @@ model: sonnet
## Overview
Systematic bug analysis, debugging, and automated fix implementation using expert diagnostic templates with Codex CLI.
**Core Guidelines**: @~/.claude/workflows/codex-unified.md
**Core Guidelines**: @~/.claude/workflows/tools-implementation-guide.md
⚠️ **Critical Difference**: Codex has **NO `--all-files` flag** - you MUST use `@` patterns to reference files.
@@ -266,4 +266,4 @@ When `--save-session` used, saves to:
```
For detailed syntax, patterns, and advanced usage see:
**@~/.claude/workflows/codex-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -257,4 +257,4 @@ When `--save-session` used, saves to:
```
For detailed syntax, patterns, and advanced usage see:
**@~/.claude/workflows/codex-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -105,7 +105,7 @@ The `/enhance-prompt` command is designed to run automatically when the system d
### 🛠️ **Gemini Integration Protocol (Internal)**
**Gemini Integration**: @~/.claude/workflows/gemini-unified.md
**Gemini Integration**: @~/.claude/workflows/tools-implementation-guide.md
This section details how the system programmatically interacts with the Gemini CLI.
- **Primary Tool**: All Gemini analysis is performed via direct calls to the `gemini` command-line tool (e.g., `gemini --all-files -p "..."`).

View File

@@ -16,7 +16,7 @@ model: haiku
## Overview
Quick analysis tool for codebase insights using intelligent pattern detection and template-driven analysis.
**Core Guidelines**: @~/.claude/workflows/gemini-unified.md
**Core Guidelines**: @~/.claude/workflows/tools-implementation-guide.md
## Analysis Types
@@ -95,4 +95,4 @@ Analysis results include:
- **Integration Points**: How components connect
For detailed syntax, patterns, and advanced usage see:
**@~/.claude/workflows/gemini-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -20,7 +20,7 @@ model: sonnet
**Purpose**: Execute implementation tasks using intelligent context inference and Gemini CLI with full permissions.
**Core Guidelines**: @~/.claude/workflows/gemini-unified.md
**Core Guidelines**: @~/.claude/workflows/tools-implementation-guide.md
## 🚨 YOLO Permissions
@@ -167,4 +167,4 @@ Execute implementation following task acceptance criteria."
**vs. `/gemini:analyze`**: Execute performs analysis **and implementation**, analyze is read-only.
For detailed patterns, syntax, and templates see:
**@~/.claude/workflows/gemini-unified.md**
**@~/.claude/workflows/tools-implementation-guide.md**

View File

@@ -120,7 +120,7 @@ Three analysis levels available:
**Analysis Selection**:
- Default: Auto-selects based on project complexity
- Manual: Use flags to override automatic selection
- Strategy: See @~/.claude/workflows/intelligent-tools.md for tool selection principles
- Strategy: See @~/.claude/workflows/intelligent-tools-strategy.md for tool selection principles
**Execution**:
1. Always runs `get_modules_by_depth.sh` for structure