Skip to content

Commit 07eff2d

Browse files
catlog22claude
andcommitted
docs: translate workflow guide to English and synchronize Chinese version
English README (README.md): - Translate complete workflow guide from Chinese to English - Maintain workflow structure and examples - Update all technical terms to English Chinese README (README_CN.md): - Add comprehensive workflow guide - Include brainstorming, planning, execution, and testing phases - Add context package and task JSON structure examples - Include LINUX DO community discussion link Both versions now have consistent workflow documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1acd33e commit 07eff2d

File tree

2 files changed

+281
-89
lines changed

2 files changed

+281
-89
lines changed

README.md

Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -332,74 +332,74 @@ graph LR
332332

333333
---
334334

335-
## 📖 完整工作流详解 (Complete Workflow Guide)
335+
## 📖 Complete Workflow Guide
336336

337-
> **💡 社区讨论**: [LINUX DO 论坛讨论帖](https://linux.do/t/topic/995175/24)
338-
> **📦 项目仓库**: [GitHub - Claude-Code-Workflow](https://github.com/catlog22/Claude-Code-Workflow)
337+
> **💡 Community Discussion**: [LINUX DO Forum Thread](https://linux.do/t/topic/995175/24)
338+
> **📦 Repository**: [GitHub - Claude-Code-Workflow](https://github.com/catlog22/Claude-Code-Workflow)
339339
340-
### 🎯 核心工作流程 (Core Workflow)
340+
### 🎯 Core Workflow Process
341341

342-
**完整开发流程**: 头脑风暴用户打磨修改 → 行动规划 → 执行测试
342+
**Complete Development Flow**: BrainstormUser Refinement → Action Planning → ExecutionTesting
343343

344344
```mermaid
345345
graph LR
346-
A[💭 头脑风暴] --> B[✏️ 用户修改]
347-
B --> C[📋 行动规划]
348-
C --> D[⚡ 执行]
349-
D --> E[🧪 测试]
346+
A[💭 Brainstorm] --> B[✏️ Refinement]
347+
B --> C[📋 Planning]
348+
C --> D[⚡ Execution]
349+
D --> E[🧪 Testing]
350350
```
351351

352-
### 🧠 头脑风暴阶段 (Brainstorming Phase)
352+
### 🧠 Brainstorming Phase
353353

354-
#### 涉及指令:
355-
- `/workflow:brainstorm:auto-parallel` - 自动概念规划(并行版)
356-
- `/workflow:brainstorm:auto-squeeze` - 自动概念规划(串行版,用于测试)
357-
- 单个角色指令(用于重新规划)
354+
#### Available Commands:
355+
- `/workflow:brainstorm:auto-parallel` - Automated concept planning (parallel execution)
356+
- `/workflow:brainstorm:auto-squeeze` - Automated concept planning (sequential execution for testing)
357+
- Individual role commands (for replanning)
358358

359-
#### 工作流程:
359+
#### Workflow Steps:
360360

361-
1. **初始规划**: 通过 `/workflow:brainstorm:auto-squeeze [topic]` 进行自动规划
362-
2. **修改优化**: 如果对规划不满意,使用单个角色指令如 `/workflow:brainstorm:ui-designer` 进行修改
363-
3. **综合文档**: 通过 `/workflow:brainstorm:synthesis` 生成综合规划文档
361+
1. **Initial Planning**: Execute `/workflow:brainstorm:auto-squeeze [topic]` for automated planning
362+
2. **Refinement**: If unsatisfied with the plan, use individual role commands like `/workflow:brainstorm:ui-designer` to refine
363+
3. **Synthesis**: Execute `/workflow:brainstorm:synthesis` to generate comprehensive planning documentation
364364

365-
**可用角色指令**:
366-
- `🏗️ system-architect` - 系统架构分析
367-
- `🎨 ui-designer` - UI/UX 设计规划
368-
- `🗄️ data-architect` - 数据架构设计
369-
- `🔒 security-expert` - 安全架构分析
370-
- `📊 product-manager` - 产品需求分析
371-
- `🔬 innovation-lead` - 技术创新建议
372-
- `📋 feature-planner` - 功能规划
373-
- `📈 business-analyst` - 业务流程分析
374-
- `👥 user-researcher` - 用户行为分析
365+
**Available Role Commands**:
366+
- `🏗️ system-architect` - System architecture analysis
367+
- `🎨 ui-designer` - UI/UX design planning
368+
- `🗄️ data-architect` - Data architecture design
369+
- `🔒 security-expert` - Security architecture analysis
370+
- `📊 product-manager` - Product requirements analysis
371+
- `🔬 innovation-lead` - Technical innovation recommendations
372+
- `📋 feature-planner` - Feature planning
373+
- `📈 business-analyst` - Business process analysis
374+
- `👥 user-researcher` - User behavior analysis
375375

376-
### 📋 行动规划阶段 (Action Planning Phase)
376+
### 📋 Action Planning Phase
377377

378-
前述工作过程被称为**概念规划**,完成后进入**行动规划**阶段:
378+
The previous stage is called **Concept Planning**. After completion, enter the **Action Planning** phase:
379379

380380
```bash
381381
/workflow:plan "d:\test_project\.workflow\.active-WFS-promptmaster-platform"
382-
# 一般会传入前一项任务的标识符,也可以增加任务描述
382+
# Typically pass the session identifier from the previous task, can also add task description
383383
```
384384

385-
#### Plan 命令协调器架构:
385+
#### Plan Command Coordinator Architecture:
386386

387-
`/workflow:plan` 被设计为协调器,自动协调其他斜杠命令执行,包括四个阶段:
387+
`/workflow:plan` is designed as a coordinator that automatically orchestrates other slash commands in four phases:
388388

389-
1. **🚀 Session 启动**: `/workflow:session:start` - 启动一个 workflow session
390-
2. **🔍 上下文收集**: `/workflow:tools:context-gather`
391-
- 查找相关代码文件(如果是功能更新)
392-
- 使用 MCP 查找示例代码
393-
- 产出 `context-package.json` agent 引用
394-
3. **🧪 概念增强**: `/workflow:tools:concept-enhanced`
395-
- 使用 CLI 工具对现有计划进行分析
396-
- 提出改进建议及重点关注事项
397-
- 产出 `ANALYSIS_RESULTS.md` agent 引用
398-
4. **📝 任务生成**: `/workflow:tools:task-generate` `/workflow:tools:task-generate-agent`
399-
- 制定详细规划
400-
- 产出任务 JSON 文件、`IMPL_PLAN.md``TODO_LIST.md`
389+
1. **🚀 Session Initialization**: `/workflow:session:start` - Start a workflow session
390+
2. **🔍 Context Gathering**: `/workflow:tools:context-gather`
391+
- Locate relevant code files (for feature updates)
392+
- Use MCP to find example code
393+
- Generate `context-package.json` for agent reference
394+
3. **🧪 Concept Enhancement**: `/workflow:tools:concept-enhanced`
395+
- Analyze existing plans using CLI tools
396+
- Provide improvement suggestions and key focus areas
397+
- Generate `ANALYSIS_RESULTS.md` for agent reference
398+
4. **📝 Task Generation**: `/workflow:tools:task-generate` or `/workflow:tools:task-generate-agent`
399+
- Develop detailed plans
400+
- Generate task JSON files, `IMPL_PLAN.md`, `TODO_LIST.md`
401401

402-
#### 🗂️ Context Package 示例结构:
402+
#### 🗂️ Context Package Structure Example:
403403

404404
```json
405405
{
@@ -422,13 +422,13 @@ graph LR
422422
}
423423
],
424424
"implementation_guidance": {
425-
"start_with": ["项目结构初始化", "数据库架构", "认证系统"],
426-
"key_deliverables": ["后端API", "前端界面", "测试套件"]
425+
"start_with": ["Project structure initialization", "Database architecture", "Authentication system"],
426+
"key_deliverables": ["Backend API", "Frontend interface", "Test suite"]
427427
}
428428
}
429429
```
430430

431-
#### 📋 Task JSON 示例结构:
431+
#### 📋 Task JSON Structure Example:
432432

433433
```json
434434
{
@@ -442,83 +442,83 @@ graph LR
442442
"priority": "P0"
443443
},
444444
"context": {
445-
"requirements": ["设置后端项目结构", "配置 Docker Compose"],
445+
"requirements": ["Setup backend project structure", "Configure Docker Compose"],
446446
"focus_paths": ["backend/", "frontend/", "docker-compose.yml"],
447-
"acceptance": ["后端服务运行在 8000 端口", "前端运行在 3000 端口"]
447+
"acceptance": ["Backend service running on port 8000", "Frontend running on port 3000"]
448448
},
449449
"flow_control": {
450450
"pre_analysis": [
451451
{
452452
"step": "load_synthesis_specification",
453-
"action": "加载综合规范文档",
453+
"action": "Load comprehensive specification document",
454454
"commands": ["Read(.workflow/xxx/synthesis-specification.md)"]
455455
}
456456
]
457457
}
458458
}
459459
```
460460

461-
系统自动产生上下文,执行下一个斜杠命令,直到流程执行完毕。
461+
The system automatically generates context and executes the next slash command until the workflow completes.
462462

463-
### 任务执行阶段 (Execution Phase)
463+
### ⚡ Execution Phase
464464

465-
通过 `/workflow:execute` 进入任务执行阶段:
465+
Enter the execution phase via `/workflow:execute`:
466466

467-
#### 🤖 Agent 自动分配:
468-
- **code-developer**: 代码开发任务
469-
- **code-review-test-agent**: 代码审查和测试任务
467+
#### 🤖 Automatic Agent Assignment:
468+
- **code-developer**: Code development tasks
469+
- **code-review-test-agent**: Code review and testing tasks
470470

471-
#### 📚 技术栈指南自动加载:
472-
Agent 根据上下文自动加载对应的技术栈指南(位置:`~\.claude\workflows\cli-templates\tech-stacks`
471+
#### 📚 Tech Stack Guidelines Auto-Loading:
472+
Agents automatically load corresponding tech stack guidelines based on context (location: `~\.claude\workflows\cli-templates\tech-stacks`)
473473

474-
**可用技术栈模板**:
475-
- `typescript-dev.md` - TypeScript 开发规范
476-
- `python-dev.md` - Python 开发约定
477-
- `react-dev.md` - React 架构指南
478-
- `vue-dev.md` - Vue 开发最佳实践
479-
- `fastapi-dev.md` - FastAPI 后端规范
474+
**Available Tech Stack Templates**:
475+
- `typescript-dev.md` - TypeScript development standards
476+
- `python-dev.md` - Python development conventions
477+
- `react-dev.md` - React architecture guidelines
478+
- `vue-dev.md` - Vue development best practices
479+
- `fastapi-dev.md` - FastAPI backend standards
480480

481-
> 💡 **欢迎贡献**: 如果您有更好的技术栈提示词,欢迎提交 PR!
481+
> 💡 **Contributions Welcome**: If you have better tech stack prompts, PRs are welcome!
482482
483-
### 🐛 功能新增与 Bug 修复工作流 (Feature & Bug Fix Workflow)
483+
### 🐛 Feature Development & Bug Fix Workflow
484484

485-
#### 快速交互式规划:
485+
#### Quick Interactive Planning:
486486

487-
使用 CLI 命令进行交互式询问,形成计划文档:
487+
Use CLI commands for interactive inquiry to form planning documents:
488488

489489
```bash
490-
# Bug 分析和修复
491-
/cli:mode:bug-index "描述 bug 现象" --tool gemini
490+
# Bug analysis and fixing
491+
/cli:mode:bug-index "Describe bug symptoms" --tool gemini
492492

493-
# 深度代码分析
494-
/cli:mode:code-analysis "分析目标" --tool codex
493+
# Deep code analysis
494+
/cli:mode:code-analysis "Analysis target" --tool codex
495495

496-
# 架构规划
497-
/cli:mode:plan "规划主题" --tool qwen
496+
# Architecture planning
497+
/cli:mode:plan "Planning topic" --tool qwen
498498
```
499499

500-
**执行策略**:
501-
- **简单任务**: Claude 直接执行
502-
- **复杂任务**: 按照完整工作流执行(头脑风暴 → 规划执行)
500+
**Execution Strategy**:
501+
- **Simple tasks**: Let Claude execute directly
502+
- **Complex tasks**: Follow complete workflow (Brainstorm → PlanningExecution)
503503

504-
### 🧪 测试工作流 (Testing Workflow)
504+
### 🧪 Testing Workflow
505505

506-
`/workflow:execute` 完成后:
506+
After `/workflow:execute` completion:
507507

508508
```bash
509-
# 生成测试工作流
509+
# Generate test workflow
510510
/workflow:test-gen WFS-session-id
511511

512-
# 执行测试任务
512+
# Execute test tasks
513513
/workflow:execute
514514
```
515515

516-
测试工作流自动生成多层次测试:
517-
- **单元测试** (Unit Tests)
518-
- **集成测试** (Integration Tests)
519-
- **端到端测试** (E2E Tests)
520-
- **性能测试** (Performance Tests)
521-
- **安全测试** (Security Tests)
516+
Test workflow automatically generates multi-level tests:
517+
- **Unit Tests**
518+
- **Integration Tests**
519+
- **End-to-End Tests** (E2E)
520+
- **Performance Tests**
521+
- **Security Tests**
522522

523523

524524
---

0 commit comments

Comments
 (0)