parallel-agents
它能做什么
协调多个专门化的“智能体”(agents)协同完成复杂任务。每个智能体专注于问题的某一部分,比如安全、后端或前端,最后汇总各自的发现。
适用场景
- ✓从多个角度分析代码(安全、性能、质量)时。
- ✓实现一个会影响系统不同部分(后端、前端、数据库)的新功能时。
- ✓对一个软件项目进行全面审查时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/parallel-agents/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请从安全、性能和质量三个角度分析这段代码,然后给我一份汇总的发现和建议。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要先确定使用哪些专业化的“智能体”(agents),以及它们的执行顺序。之后 AI 会依次运行每个智能体,在它们之间传递关键信息,最后整理出一份包含所有成果的完整报告。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Native Parallel Agents
Orchestration through Claude Code's built-in Agent Tool
Overview
This skill enables coordinating multiple specialized agents through Claude Code's native agent system. Unlike external scripts, this approach keeps all orchestration within Claude's control.
When to Use Orchestration
✅ Good for:
- Complex tasks requiring multiple expertise domains
- Code analysis from security, performance, and quality perspectives
- Comprehensive reviews (architecture + security + testing)
- Feature implementation needing backend + frontend + database work
❌ Not for:
- Simple, single-domain tasks
- Quick fixes or small changes
- Tasks where one agent suffices
Native Agent Invocation
Single Agent
Use the security-auditor agent to review authentication
Sequential Chain
First, use the explorer-agent to discover project structure.
Then, use the backend-specialist to review API endpoints.
Finally, use the test-engineer to identify test gaps.
With Context Passing
Use the frontend-specialist to analyze React components.
Based on those findings, have the test-engineer generate component tests.
Resume Previous Work
Resume agent [agentId] and continue with additional requirements.
Orchestration Patterns
Pattern 1: Comprehensive Analysis
Agents: explorer-agent → [domain-agents] → synthesis
1. explorer-agent: Map codebase structure
2. security-auditor: Security posture
3. backend-specialist: API quality
4. frontend-specialist: UI/UX patterns
5. test-engineer: Test coverage
6. Synthesize all findings
Pattern 2: Feature Review
Agents: affected-domain-agents → test-engineer
1. Identify affected domains (backend? frontend? both?)
2. Invoke relevant domain agents
3. test-engineer verifies changes
4. Synthesize recommendations
Pattern 3: Security Audit
Agents: security-auditor → penetration-tester → synthesis
1. security-auditor: Configuration and code review
2. penetration-tester: Active vulnerability testing
3. Synthesize with prioritized remediation
Available Agents
| Agent | Expertise | Trigger Phrases |
|---|---|---|
orchestrator |
Coordination | "comprehensive", "multi-perspective" |
security-auditor |
Security | "security", "auth", "vulnerabilities" |
penetration-tester |
Security Testing | "pentest", "red team", "exploit" |
backend-specialist |
Backend | "API", "server", "Node.js", "Express" |
frontend-specialist |
Frontend | "React", "UI", "components", "Next.js" |
test-engineer |
Testing | "tests", "coverage", "TDD" |
devops-engineer |
DevOps | "deploy", "CI/CD", "infrastructure" |
database-architect |
Database | "schema", "Prisma", "migrations" |
mobile-developer |
Mobile | "React Native", "Flutter", "mobile" |
api-designer |
API Design | "REST", "GraphQL", "OpenAPI" |
debugger |
Debugging | "bug", "error", "not working" |
explorer-agent |
Discovery | "explore", "map", "structure" |
documentation-writer |
Documentation | "write docs", "create README", "generate API docs" |
performance-optimizer |
Performance | "slow", "optimize", "profiling" |
project-planner |
Planning | "plan", "roadmap", "milestones" |
seo-specialist |
SEO | "SEO", "meta tags", "search ranking" |
game-developer |
Game Development | "game", "Unity", "Godot", "Phaser" |
Claude Code Built-in Agents
These work alongside custom agents:
| Agent | Model | Purpose |
|---|---|---|
| Explore | Haiku | Fast read-only codebase search |
| Plan | Sonnet | Research during plan mode |
| General-purpose | Sonnet | Complex multi-step modifications |
Use Explore for quick searches, custom agents for domain expertise.
Synthesis Protocol
After all agents complete, synthesize:
## Orchestration Synthesis
### Task Summary
[What was accomplished]
### Agent Contributions
| Agent | Finding |
|-------|---------|
| security-auditor | Found X |
| backend-specialist | Identified Y |
### Consolidated Recommendations
1. **Critical**: [Issue from Agent A]
2. **Important**: [Issue from Agent B]
3. **Nice-to-have**: [Enhancement from Agent C]
### Action Items
- [ ] Fix critical security issue
- [ ] Refactor API endpoint
- [ ] Add missing tests
Best Practices
- Available agents - 17 specialized agents can be orchestrated
…
常见问题
有哪些类型的“智能体”(agents)可用?
目前有安全、后端、前端、测试、DevOps、数据库、移动端、API 设计、调试、代码探索、文档、性能优化、项目规划、SEO 和游戏开发等领域的智能体。
智能体完成工作后会发生什么?
系统会生成一份最终报告,总结所做的工作、每个智能体的贡献,以及汇总后的建议和待办事项。
我可以用它处理简单任务吗?
不建议。这个工具最适合需要多种专业能力的复杂任务,简单任务使用一个智能体就足够了。
详情
作者的原始描述
Multi-agent orchestration patterns. Use when multiple independent tasks can run with different domain expertise or when comprehensive analysis requires multiple perspectives.
热度
- GitHub 星标
- 48k
- 排名
- #5406
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。