docs: remove direct Gemini Wrapper script usage section

Removed the "Direct Gemini Wrapper Script Usage" section from Getting Started guides
as users cannot manually execute these commands in Claude Code - all tool invocations
are handled automatically by Claude through semantic understanding.

Changes:
- Removed "Gemini Wrapper 脚本直接使用" section (Chinese)
- Removed "Direct Gemini Wrapper Script Usage" section (English)
- Kept "Semantic Tool Invocation" section explaining natural language usage
- Streamlined documentation to focus on user-facing interaction patterns

Rationale:
- Users cannot run ~/.claude/scripts/gemini-wrapper commands directly in Claude Code
- These are internal implementation details handled automatically by Claude
- Documentation should focus on how users interact with the system, not internal mechanics

Files updated:
- GETTING_STARTED.md (-47 lines)
- GETTING_STARTED_CN.md (-47 lines)

🤖 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:24:19 +08:00
parent 9fe8d28218
commit e5443d1776
2 changed files with 0 additions and 100 deletions

View File

@@ -201,56 +201,6 @@ User: "Use codex to implement user login functionality"
- **Intelligent Understanding**: Claude selects appropriate tools and parameters based on context
- **Automatic Optimization**: Claude automatically adds necessary context and configuration
### Direct Gemini Wrapper Script Usage
For scenarios requiring precise control, the Gemini Wrapper script can be used directly.
#### Basic Analysis (Read-only Mode)
By default, Gemini runs in read-only mode, suitable for code exploration and architectural analysis:
```bash
# Execute analysis in project root
cd /path/to/project && ~/.claude/scripts/gemini-wrapper -p "
PURPOSE: Analyze project modular architecture
TASK: Identify core modules and their dependencies
CONTEXT: @{src/**/*.ts,CLAUDE.md}
EXPECTED: Generate architecture diagram and module documentation
RULES: Focus on module boundaries and interface design
"
```
#### Document Generation (Write Mode)
When file generation or modification is needed, write mode must be explicitly enabled:
```bash
# Generate API documentation
cd /path/to/project && ~/.claude/scripts/gemini-wrapper --approval-mode yolo -p "
PURPOSE: Generate REST API documentation
TASK: Extract API endpoints from code and generate Markdown docs
MODE: write
CONTEXT: @{src/api/**/*.ts}
EXPECTED: Generate API.md with all endpoint descriptions
RULES: Follow OpenAPI specification format
"
```
#### Context Optimization Techniques
Using `cd` to switch to specific directories optimizes context scope:
```bash
# Analyze only auth module
cd src/auth && ~/.claude/scripts/gemini-wrapper -p "
PURPOSE: Security review of authentication module
TASK: Check JWT implementation and password handling
CONTEXT: @{**/*.ts}
EXPECTED: Security audit report
RULES: Focus on OWASP Top 10 security issues
"
```
### Memory Management: CLAUDE.md Updates
CCW uses a hierarchical CLAUDE.md documentation system to maintain project context. Regular updates to these documents are critical for ensuring high-quality AI outputs.

View File

@@ -201,56 +201,6 @@ CCW 支持通过统一的 CLI 接口直接调用外部 AI 工具Gemini、Qwen
- **智能理解**Claude 会根据上下文选择合适的工具和参数
- **自动优化**Claude 会自动添加必要的上下文和配置
### Gemini Wrapper 脚本直接使用
对于需要精确控制的场景,也可以直接使用 Gemini Wrapper 脚本。
#### 基础分析(只读模式)
默认情况下Gemini 以只读模式运行,适合代码探索和架构分析:
```bash
# 在项目根目录执行分析
cd /path/to/project && ~/.claude/scripts/gemini-wrapper -p "
PURPOSE: 分析项目的模块化架构
TASK: 识别核心模块及其依赖关系
CONTEXT: @{src/**/*.ts,CLAUDE.md}
EXPECTED: 生成架构关系图和模块说明
RULES: 聚焦于模块边界和接口设计
"
```
#### 文档生成(写入模式)
当需要生成或修改文件时,需要显式启用写入模式:
```bash
# 生成 API 文档
cd /path/to/project && ~/.claude/scripts/gemini-wrapper --approval-mode yolo -p "
PURPOSE: 生成 REST API 文档
TASK: 从代码中提取 API 端点并生成 Markdown 文档
MODE: write
CONTEXT: @{src/api/**/*.ts}
EXPECTED: 生成 API.md 文件,包含所有端点说明
RULES: 遵循 OpenAPI 规范格式
"
```
#### 上下文优化技巧
使用 `cd` 切换到特定目录可以优化上下文范围:
```bash
# 只分析 auth 模块
cd src/auth && ~/.claude/scripts/gemini-wrapper -p "
PURPOSE: 审查认证模块的安全性
TASK: 检查 JWT 实现和密码处理
CONTEXT: @{**/*.ts}
EXPECTED: 安全审计报告
RULES: 重点关注 OWASP Top 10 安全问题
"
```
### 内存管理CLAUDE.md 更新
CCW 使用分层的 CLAUDE.md 文档系统维护项目上下文。定期更新这些文档对保证 AI 输出质量至关重要。