Task decomposition, delegation protocol, and integration patterns for the IT Leader orchestrator agent
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Task decomposition, delegation protocol, and integration patterns for the IT Leader orchestrator agent
version
1.0.0
author
opencode-agent-kit
IT Leader Orchestration
Use this skill when acting as the IT Leader (primary orchestrator) to break down complex requirements, delegate with clear contracts, and integrate subagent outputs.
@{subagent} {ID}: {description}
Contract:
- Input: {API contracts, data models, existing patterns}
- Output: {files, behaviors, verification criteria}
- Constraints: {what NOT to do, files NOT to touch}
- Dependencies: {tasks that must complete first}
Phase 3: Delegation Protocol
Contract-First Rule
Never delegate in parallel without a shared contract. If two subagents need the same API schema, define it first and give both the same contract.
Delegation Order
Design first — @designer before implementation when UX decisions are needed
Database first — @database when schema changes are needed
Backend first — API endpoints before frontend integration
Frontend — After backend contract is defined
Review — @reviewer or @sonarqube after implementation
Prohibited Patterns
❌ Delegate 5 tasks simultaneously to 5 agents without contracts
❌ Let frontend and backend define the same API contract independently
❌ Skip security review on auth/payment flows
❌ Change requirements mid-delegation without re-contracting
Phase 4: Integration & Verification
After all subagents complete:
API contract alignment — Frontend calls must match backend endpoints
Data type compatibility — TypeScript interfaces match DTOs
Error handling consistency — Both layers handle errors the same way
Auth boundaries — Protected routes enforced on both sides
File path integrity — No broken imports or missing files
Test coverage — At minimum: happy path + error path