mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
Major documentation updates reflecting v5.0 core philosophy: **Version Updates:** - Update all docs to v5.0.0 - Remove MCP code-index dependency references - Emphasize simplified, dependency-free architecture **Removed Features:** - Remove /workflow:concept-clarify command (deprecated) - Clean up all concept clarification workflow documentation **Command Corrections:** - Fix memory command names: /update-memory-* → /memory:update-* - Clarify test workflow execution pattern (generate → execute) **Dependency Clarifications:** - Replace "MCP code-index" with "ripgrep/find" in memory:load - Clarify MCP Chrome DevTools usage in UI design workflows - Update ui-design:capture to show multi-tier fallback strategy **Files Updated:** - README_CN.md - v5.0 version badge and core improvements - COMMAND_REFERENCE.md - Remove deprecated commands, update descriptions - COMMAND_SPEC.md - v5.0 version, clarify implementations - GETTING_STARTED.md - v5.0 features, fix command names - GETTING_STARTED_CN.md - v5.0 features (Chinese), fix command names - INSTALL_CN.md - v5.0 simplified installation notes 🎯 Core Philosophy: Simplify dependencies, focus on core features, improve stability with standard tools. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
105 lines
4.1 KiB
Markdown
105 lines
4.1 KiB
Markdown
# 🚀 Claude Code Workflow (CCW)
|
||
|
||
<div align="center">
|
||
|
||
[](https://github.com/catlog22/Claude-Code-Workflow/releases)
|
||
[](LICENSE)
|
||
[]()
|
||
|
||
**语言:** [English](README.md) | [中文](README_CN.md)
|
||
|
||
</div>
|
||
|
||
---
|
||
|
||
**Claude Code Workflow (CCW)** 将 AI 开发从简单的提示词链接转变为一个强大的、上下文优先的编排系统。它通过结构化规划、确定性执行和智能多模型编排,解决了执行不确定性和误差累积的问题。
|
||
|
||
> **🎉 版本 5.0: 少即是多**
|
||
>
|
||
> **核心改进**:
|
||
> - ✅ **移除外部依赖** - 使用标准 ripgrep/find 替代 MCP code-index,提升稳定性
|
||
> - ✅ **简化工作流** - 优化 TDD 流程,引入冲突解决机制
|
||
> - ✅ **专注角色分析** - 以角色文档为核心,简化规划架构
|
||
>
|
||
> 详见 [CHANGELOG.md](CHANGELOG.md)。
|
||
|
||
> 📚 **第一次使用 CCW?** 查看 [**快速上手指南**](GETTING_STARTED_CN.md) 获取新手友好的 5 分钟教程!
|
||
|
||
---
|
||
|
||
## ✨ 核心概念
|
||
|
||
CCW 构建在一系列核心原则之上,这些原则使其与传统的 AI 开发方法区别开来:
|
||
|
||
- **上下文优先架构**: 通过预定义的上下文收集,消除了执行过程中的不确定性,确保智能体在实现*之前*就拥有正确的信息。
|
||
- **JSON 优先的状态管理**: 任务状态完全存储在 `.task/IMPL-*.json` 文件中,作为唯一的事实来源,实现了无需状态漂移的程序化编排。
|
||
- **自主多阶段编排**: 命令链式调用专门的子命令和智能体,以零用户干预的方式自动化复杂的工作流。
|
||
- **多模型策略**: 充分利用不同 AI 模型(如 Gemini 用于分析,Codex 用于实现)的独特优势,以获得更优越的结果。
|
||
- **分层内存系统**: 一个 4 层文档系统,在适当的抽象级别上提供上下文,防止信息过载。
|
||
- **专门的基于角色的智能体**: 一套模拟真实软件团队的智能体(`@code-developer`, `@test-fix-agent` 等),用于处理多样化的任务。
|
||
|
||
---
|
||
|
||
## ⚙️ 安装
|
||
|
||
有关详细的安装说明,请参阅 [**INSTALL_CN.md**](INSTALL_CN.md) 指南。
|
||
|
||
### **🚀 一键快速安装**
|
||
|
||
**Windows (PowerShell):**
|
||
```powershell
|
||
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content
|
||
```
|
||
|
||
**Linux/macOS (Bash/Zsh):**
|
||
```bash
|
||
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh)
|
||
```
|
||
|
||
### **✅ 验证安装**
|
||
安装后,打开 **Claude Code** 并通过运行以下命令检查工作流命令是否可用:
|
||
```bash
|
||
/workflow:session:list
|
||
```
|
||
如果斜杠命令(例如 `/workflow:*`)被识别,则表示安装成功。
|
||
|
||
---
|
||
|
||
## 🛠️ 命令参考
|
||
|
||
CCW 提供了一套丰富的命令,用于管理工作流、任务以及与 AI 工具的交互。有关所有可用命令的完整列表和详细说明,请参阅 [**COMMAND_REFERENCE.md**](COMMAND_REFERENCE.md) 文件。
|
||
|
||
有关每个命令的详细技术规范,请参阅 [**COMMAND_SPEC.md**](COMMAND_SPEC.md)。
|
||
|
||
---
|
||
|
||
## 🚀 快速入门
|
||
|
||
开始使用的最佳方式是遵循 [**快速上手指南**](GETTING_STARTED_CN.md) 中的 5 分钟教程。
|
||
|
||
以下是一个常见开发工作流的快速示例:
|
||
|
||
1. **创建计划**(自动启动会话):
|
||
```bash
|
||
/workflow:plan "实现基于 JWT 的用户登录和注册"
|
||
```
|
||
2. **执行计划**:
|
||
```bash
|
||
/workflow:execute
|
||
```
|
||
3. **查看状态**(可选):
|
||
```bash
|
||
/workflow:status
|
||
```
|
||
|
||
---
|
||
|
||
## 🤝 贡献与支持
|
||
|
||
- **仓库**: [GitHub - Claude-Code-Workflow](https://github.com/catlog22/Claude-Code-Workflow)
|
||
- **问题**: 在 [GitHub Issues](https://github.com/catlog22/Claude-Code-Workflow/issues) 上报告错误或请求功能。
|
||
- **讨论**: 加入 [社区论坛](https://github.com/catlog22/Claude-Code-Workflow/discussions)。
|
||
|
||
## 📄 许可证
|
||
|
||
此项目根据 **MIT 许可证** 授权。详见 [LICENSE](LICENSE) 文件。 |