docs: clarify semantic tool invocation concept in Getting Started guides

Fixed the "Semantic Tool Invocation" concept to accurately reflect its meaning:

**Before**: "Gemini 工具语义调用" referred to direct script usage
**After**: Properly describes semantic invocation as natural language interaction

Changes:
- Added "Semantic Tool Invocation" section explaining natural language usage
  - Example: User says "Use gemini to analyze architecture"
  - Claude understands and automatically executes appropriate commands
  - Highlighted advantages: natural interaction, intelligent understanding, auto optimization

- Renamed previous section to "Direct Gemini Wrapper Script Usage"
  - Clarified this is for scenarios requiring precise control
  - Maintained all existing script usage examples

Structure now clearly distinguishes:
1. Semantic invocation (natural language → Claude → tool execution)
2. Direct script usage (manual command execution)

Updated both:
- GETTING_STARTED.md (English)
- GETTING_STARTED_CN.md (Chinese)

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-10-13 11:21:56 +08:00
parent 9f4b0acca7
commit 9fe8d28218
2 changed files with 68 additions and 4 deletions

View File

@@ -169,9 +169,41 @@ CCW 支持通过统一的 CLI 接口直接调用外部 AI 工具Gemini、Qwen
/cli:mode:bug-index --tool gemini "分析内存泄漏问题的可能原因"
```
### Gemini 工具语义调用
### 工具语义调用
CCW 提供便捷的 Gemini Wrapper 脚本,支持语义化的项目分析和文档生成
用户可以通过自然语言告诉 Claude 使用特定工具完成任务Claude 会理解意图并自动执行相应的命令
#### 语义调用示例
直接在对话中使用自然语言描述需求:
**示例 1代码分析**
```
用户:"使用 gemini 分析一下这个项目的模块化架构"
→ Claude 会自动执行 gemini-wrapper 进行分析
```
**示例 2文档生成**
```
用户:"用 gemini 生成 API 文档,包含所有端点的说明"
→ Claude 会理解需求,自动调用 gemini 的写入模式生成文档
```
**示例 3代码实现**
```
用户:"使用 codex 实现用户登录功能"
→ Claude 会调用 codex 工具进行自主开发
```
#### 语义调用的优势
- **自然交互**:无需记忆复杂的命令语法
- **智能理解**Claude 会根据上下文选择合适的工具和参数
- **自动优化**Claude 会自动添加必要的上下文和配置
### Gemini Wrapper 脚本直接使用
对于需要精确控制的场景,也可以直接使用 Gemini Wrapper 脚本。
#### 基础分析(只读模式)