refactor: Streamline intelligent tools strategy with unified template system

Major Changes:
- Merge tools-implementation-guide.md into intelligent-tools-strategy.md
- Consolidate TEMPLATE and RULES fields into single RULES field
- Standardize template references using $(cat ...) format
- Reduce document length by 66% (520→177 lines) while preserving core functionality

Template System Improvements:
- Universal 4-field command format: PURPOSE | TASK | EXPECTED | RULES
- Unified rules format: $(cat template.txt) | constraints
- Comprehensive template directory structure with examples
- Cross-tool template compatibility and reuse patterns

Content Optimization:
- Remove redundant examples and duplicate content
- Focus on universal command templates and common scenarios
- Simplify tool selection matrix with clear task-to-tool mapping
- Streamline workflow integration with essential best practices

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-17 23:17:31 +08:00
parent 9b3f98c443
commit ff1ca34c2e
8 changed files with 123 additions and 546 deletions

View File

@@ -257,4 +257,4 @@ When `--save-session` used, saves to:
```
For detailed syntax, patterns, and advanced usage see:
**@~/.claude/workflows/tools-implementation-guide.md**
**@~/.claude/workflows/intelligent-tools-strategy.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/tools-implementation-guide.md
**Gemini Integration**: @~/.claude/workflows/intelligent-tools-strategy.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/tools-implementation-guide.md
**Core Guidelines**: @~/.claude/workflows/intelligent-tools-strategy.md
## Analysis Types
@@ -94,5 +94,3 @@ Analysis results include:
- **Recommendations**: Actionable improvements
- **Integration Points**: How components connect
For detailed syntax, patterns, and advanced usage see:
**@~/.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/tools-implementation-guide.md
**Core Guidelines**: @~/.claude/workflows/intelligent-tools-strategy.md
## 🚨 YOLO Permissions
@@ -166,5 +166,3 @@ 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/tools-implementation-guide.md**