mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
feat: add Chinese (zh-CN) translation for rules/common
- Add rules/zh/ directory with complete Chinese translations - Translate all 10 common rule files: - coding-style.md - security.md - testing.md - git-workflow.md - performance.md - patterns.md - hooks.md - agents.md - development-workflow.md - code-review.md - Add README.md for the zh directory explaining structure and installation - Maintain consistent formatting with original English versions - Keep technical terms and code examples in English where appropriate
This commit is contained in:
50
rules/zh/agents.md
Normal file
50
rules/zh/agents.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# 代理编排
|
||||
|
||||
## 可用代理
|
||||
|
||||
位于 `~/.claude/agents/`:
|
||||
|
||||
| 代理 | 用途 | 何时使用 |
|
||||
|-------|---------|------------|
|
||||
| planner | 实现规划 | 复杂功能、重构 |
|
||||
| architect | 系统设计 | 架构决策 |
|
||||
| tdd-guide | 测试驱动开发 | 新功能、bug 修复 |
|
||||
| code-reviewer | 代码审查 | 编写代码后 |
|
||||
| security-reviewer | 安全分析 | 提交前 |
|
||||
| build-error-resolver | 修复构建错误 | 构建失败时 |
|
||||
| e2e-runner | E2E 测试 | 关键用户流程 |
|
||||
| refactor-cleaner | 死代码清理 | 代码维护 |
|
||||
| doc-updater | 文档 | 更新文档 |
|
||||
| rust-reviewer | Rust 代码审查 | Rust 项目 |
|
||||
|
||||
## 立即使用代理
|
||||
|
||||
无需用户提示:
|
||||
1. 复杂功能请求 - 使用 **planner** 代理
|
||||
2. 刚编写/修改的代码 - 使用 **code-reviewer** 代理
|
||||
3. Bug 修复或新功能 - 使用 **tdd-guide** 代理
|
||||
4. 架构决策 - 使用 **architect** 代理
|
||||
|
||||
## 并行任务执行
|
||||
|
||||
对独立操作始终使用并行 Task 执行:
|
||||
|
||||
```markdown
|
||||
# 好:并行执行
|
||||
同时启动 3 个代理:
|
||||
1. 代理 1:认证模块安全分析
|
||||
2. 代理 2:缓存系统性能审查
|
||||
3. 代理 3:工具类型检查
|
||||
|
||||
# 坏:不必要的顺序
|
||||
先代理 1,然后代理 2,然后代理 3
|
||||
```
|
||||
|
||||
## 多视角分析
|
||||
|
||||
对于复杂问题,使用分角色子代理:
|
||||
- 事实审查者
|
||||
- 高级工程师
|
||||
- 安全专家
|
||||
- 一致性审查者
|
||||
- 冗余检查者
|
||||
Reference in New Issue
Block a user