From 6754823670753ab1cb23f7d99488a4321b81bff7 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Wed, 10 Sep 2025 23:27:51 +0800 Subject: [PATCH] fix: Simplify configuration section to only include essential settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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 --- README.md | 39 +++++---------------------------------- README_CN.md | 39 +++++---------------------------------- 2 files changed, 10 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 8d6f23fb..205b5968 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_CN.md b/README_CN.md index bcb8aa32..678242cb 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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工作流正确集成。 ## 贡献