fix: Simplify configuration section to only include essential settings

## Configuration Section Correction:

### Removed Unnecessary Configurations:
- **Gemini CLI**: Removed `outputFormat` and `templateDirectory` - these are not standard or required
- **Codex CLI**: Removed entire section - Codex CLI configuration is not part of CCW setup
- **Local Settings**: Removed `.claude/settings.local.json` section - not part of core configuration

### Retained Essential Setting:
- **Only `contextFileName: "CLAUDE.md"`**: This is the critical setting needed for CCW integration with Gemini CLI
- **Clear explanation**: Added description of why this setting is necessary

### Benefits:
- **Simplified setup**: Users only need to configure what's actually required
- **Reduced confusion**: No more unnecessary or potentially incorrect configuration examples
- **Focus on essentials**: Streamlined to core functionality requirements
- **Bilingual consistency**: Applied same fixes to both English and Chinese versions

The configuration section now accurately reflects only the settings that are necessary for CCW to function properly.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-10 23:27:51 +08:00
parent e0266934d8
commit 6754823670
2 changed files with 10 additions and 68 deletions

View File

@@ -280,46 +280,17 @@ cd src/api && /update-memory-related
## Configuration
### Gemini CLI Integration
### Required Configuration
For optimal CCW integration, configure Gemini CLI settings:
```json
// ~/.gemini/settings.json or .gemini/settings.json
{
"contextFileName": "CLAUDE.md",
"outputFormat": "markdown",
"templateDirectory": "~/.claude/workflows/cli-templates"
"contextFileName": "CLAUDE.md"
}
```
### Codex CLI Integration
```json
// ~/.codex/settings.json or .codex/settings.json
{
"defaultMode": "full-auto",
"contextFiles": ["CLAUDE.md", "**/*CLAUDE.md"],
"templateDirectory": "~/.claude/workflows/cli-templates"
}
```
### Local Settings
```json
// .claude/settings.local.json
{
"projectType": "web-application",
"techStack": ["react", "typescript", "node"],
"agents": {
"defaultReviewer": "code-review-agent",
"defaultDeveloper": "code-developer"
},
"complexity": {
"autoDetection": true,
"thresholds": {
"simple": 5,
"medium": 15,
"complex": 25
}
}
}
```
This setting ensures that CCW's intelligent documentation system integrates properly with Gemini CLI workflows.
## Contributing

View File

@@ -280,46 +280,17 @@ cd src/api && /update-memory-related
## 配置
### Gemini CLI集成
### 必需配置
为了实现最佳的CCW集成效果请配置Gemini CLI设置
```json
// ~/.gemini/settings.json 或 .gemini/settings.json
{
"contextFileName": "CLAUDE.md",
"outputFormat": "markdown",
"templateDirectory": "~/.claude/workflows/cli-templates"
"contextFileName": "CLAUDE.md"
}
```
### Codex CLI集成
```json
// ~/.codex/settings.json 或 .codex/settings.json
{
"defaultMode": "full-auto",
"contextFiles": ["CLAUDE.md", "**/*CLAUDE.md"],
"templateDirectory": "~/.claude/workflows/cli-templates"
}
```
### 本地设置
```json
// .claude/settings.local.json
{
"projectType": "web-application",
"techStack": ["react", "typescript", "node"],
"agents": {
"defaultReviewer": "code-review-agent",
"defaultDeveloper": "code-developer"
},
"complexity": {
"autoDetection": true,
"thresholds": {
"simple": 5,
"medium": 15,
"complex": 25
}
}
}
```
此设置确保CCW的智能文档系统能够与Gemini CLI工作流正确集成。
## 贡献