task-coordination-strategies – skill Agent & Tự động hóa cho agent AI
Phân rã tác vụ phức tạp, thiết kế đồ thị phụ thuộc và điều phối công việc đa agent với mô tả tác vụ rõ ràng và cân bằng khối lượng công việc. Dùng skill này khi chia việc cho nhóm agent, quản lý phụ thuộc giữa các tác vụ hoặc theo dõi tiến độ nhóm.
Cài skill task-coordination-strategies bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/task-coordination-strategies-ae9c3.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /task-coordination-strategies – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/task-coordination-strategies-ae9c3.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $task-coordination-strategies – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/task-coordination-strategies-ae9c3.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /task-coordination-strategies – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/task-coordination-strategies-ae9c3.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /task-coordination-strategies – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Task Coordination Strategies
Strategies for decomposing complex tasks into parallelizable units, designing dependency graphs, writing effective task descriptions, and monitoring workload across agent teams.
When to Use This Skill
- Breaking down a complex task for parallel execution
- Designing task dependency relationships (blockedBy/blocks)
- Writing task descriptions with clear acceptance criteria
- Monitoring and rebalancing workload across teammates
- Identifying the critical path in a multi-task workflow
Task Decomposition Strategies
By Layer
Split work by architectural layer:
- Frontend components
- Backend API endpoints
- Database migrations/models
- Test suites
Best for: Full-stack features, vertical slices
By Component
Split work by functional component:
- Authentication module
- User profile module
- Notification module
Best for: Microservices, modular architectures
By Concern
Split work by cross-cutting concern:
- Security review
- Performance review
- Architecture review
Best for: Code reviews, audits
By File Ownership
Split work by file/directory boundaries:
src/components/— Implementer 1src/api/— Implementer 2src/utils/— Implementer 3
Best for: Parallel implementation, conflict avoidance
Dependency Graph Design
Principles
1. Minimize chain depth — Prefer wide, shallow graphs over deep chains
2. Identify the critical path — The longest chain determines minimum completion time
3. Use blockedBy sparingly — Only add dependencies that are truly required
4. Avoid circular dependencies — Task A blocks B blocks A is a deadlock
Patterns
Independent (Best parallelism):
Task A ─┐
Task B ─┼─→ Integration
Task C ─┘Sequential (Necessary dependencies):
Task A → Task B → Task CDiamond (Mixed):
┌→ Task B ─┐
Task A ─┤ ├→ Task D
└→ Task C ─┘Using blockedBy/blocks
TaskCreate: { subject: "Build API endpoints" } → Task #1
TaskCreate: { subject: "Build frontend components" } → Task #2
TaskCreate: { subject: "Integration testing" } → Task #3
TaskUpdate: { taskId: "3", addBlockedBy: ["1", "2"] } → #3 waits for #1 and #2Task Description Best Practices
Every task should include:
1. Objective — What needs to be accomplished (1-2 sentences)
2. Owned Files — Explicit list of files/directories this teammate may modify
3. Requirements — Specific deliverables or behaviors expected
4. Interface Contracts — How this work connects to other teammates' work
5. Acceptance Criteria — How to verify the task is done correctly
6. Scope Boundaries — What is explicitly out of scope
Template
## Objective
Build the user authentication API endpoints.
## Owned Files
- src/api/auth.ts
- src/api/middleware/auth-middleware.ts
- src/types/auth.ts (shared — read only, do not modify)
## Requirements
- POST /api/login — accepts email/password, returns JWT
- POST /api/register — creates new user, returns JWT
- GET /api/me — returns current user profile (requires auth)
## Interface Contract
- Import User type from src/types/auth.ts (owned by implementer-1)
- Export AuthResponse type for frontend consumption
## Acceptance Criteria
- All endpoints return proper HTTP status codes
- JWT tokens expire after 24 hours
- Passwords are hashed with bcrypt
## Out of Scope
- OAuth/social login
- Password reset flow
- Rate limitingWorkload Monitoring
Indicators of Imbalance
| Signal | Meaning | Action |
| -------------------------- | ------------------- | --------------------------- |
| Teammate idle, others busy | Uneven distribution | Reassign pending tasks |
| Teammate stuck on one task | Possible blocker | Check in, offer help |
| All tasks blocked | Dependency issue | Resolve critical path first |
| One teammate has 3x others | Overloaded | Split tasks or reassign |
Rebalancing Steps
1. Call TaskList to assess current state
2. Identify idle or overloaded teammates
3. Use TaskUpdate to reassign tasks
4. Use SendMessage to notify affected teammates
5. Monitor for improved throughput
Skill liên quan
- documentation-and-adrs – Ghi lại quyết định và tài liệu. Dùng khi đưa ra quyết định kiến trúc, thay đổi API công…
- team-communication-protocols – Giao thức nhắn tin có cấu trúc cho giao tiếp nhóm agent, gồm chọn loại tin nhắn, phê…
- docusign-automation – Tự động hóa tác vụ DocuSign qua Rube MCP (Composio): template, envelope, chữ ký, quản lý…
- doomsday-escrow – Xác minh tài sản thế chấp Proof-of-Escrow bằng mật mã (bằng chứng outpoint UTXO trên L1…
- dos-verify-done-claims – Trước khi chấp nhận khẳng định ‘xong / đã phát hành / đã sửa’ của agent, hãy đối chiếu…
- team-composition-patterns – Thiết kế đội agent tối ưu với heuristic xác định quy mô, cấu hình có sẵn và cách chọn…
- dropbox-automation – Tự động hóa quản lý tệp, chia sẻ, tìm kiếm, tải lên, tải xuống và thao tác thư mục trên…
- promote – Nâng một mẫu đã được kiểm chứng từ bộ nhớ tự động (MEMORY.md) lên CLAUDE.md hoặc…