mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
- Add missing code-review.md and development-workflow.md to zh/README.md directory listing - Add mkdir -p command before copy in manual install instructions - Fix TypeScript test command path in SKILL-DEVELOPMENT-GUIDE.md - Add Anti-Patterns section to SKILL.md template - Add Template category to Skill Categories table in CONTRIBUTING.md - Add Pre-Review Requirements section to code-review.md (both en and zh) - Add Pre-Review Checks step to development-workflow.md (both en and zh) - Add trailing newlines to all files that were missing them
51 lines
1.4 KiB
Markdown
51 lines
1.4 KiB
Markdown
# 代理编排
|
||
|
||
## 可用代理
|
||
|
||
位于 `~/.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
|
||
```
|
||
|
||
## 多视角分析
|
||
|
||
对于复杂问题,使用分角色子代理:
|
||
- 事实审查者
|
||
- 高级工程师
|
||
- 安全专家
|
||
- 一致性审查者
|
||
- 冗余检查者
|