skills/agent_orchestration/SKILL.md
--- name: agent_orchestration router_kit: AIKit description: Transform clarified user requests into structured delegation prompts optimized for specialist agents (cto-architect, strategic-cto-mentor, cv-ml-architect). Use after clarification is complete, before routing to specialist agents. Ensures agents receive complete context for effective work. metadata: skillport: category: auto-healed tags: [agent orchestration, agents, algorithms, artificial intelligence, automation, chatbots,
npx skillsauth add vuralserhat86/antigravity-agentic-skills skills/agent_orchestrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates structured, context-rich prompts for specialist agents that maximize their effectiveness and minimize back-and-forth.
Specialist agents work best with:
Without this structure, agents may:
Every delegation prompt follows this format:
## CONTEXT
### Business Goal
[What business outcome this serves]
### Current State
[Relevant existing systems, constraints, decisions]
### Key Constraints
- [Constraint 1: e.g., "Budget: < $10K/month infrastructure"]
- [Constraint 2: e.g., "Timeline: MVP in 8 weeks"]
- [Constraint 3: e.g., "Team: 3 senior engineers, Python/React expertise"]
### Background Information
[Any relevant context from clarification or previous agents]
---
## TASK
### Primary Deliverable
[Exactly what output is expected]
### Format Requirements
[Structure, sections, level of detail expected]
### Scope Boundaries
- **In scope**: [What to cover]
- **Out of scope**: [What to explicitly exclude]
---
## REQUIREMENTS
### Must-Haves
- [Critical requirement 1]
- [Critical requirement 2]
### Nice-to-Haves
- [Optional enhancement 1]
- [Optional enhancement 2]
### Quality Criteria
- [Criterion 1: e.g., "Architecture must support 10x growth"]
- [Criterion 2: e.g., "Trade-offs explicitly documented"]
### Integration Points
- [What this output feeds into: e.g., "Will be validated by strategic-cto-mentor"]
- [What depends on this: e.g., "Development team will implement from this"]
---
## ADDITIONAL CONTEXT
[Any other relevant information, links to documentation, previous decisions, etc.]
See the prompt-templates folder for pre-built templates:
Business Goal: Be specific about outcomes, not activities
Current State: Include what exists and what's working
Constraints: Be explicit about non-negotiables
Primary Deliverable: One clear output
Format Requirements: Specify structure
Scope Boundaries: Prevent scope creep
Must-Haves vs Nice-to-Haves: Force prioritization
Quality Criteria: Measurable success
Integration Points: Connect the workflow
Bad: Copying entire conversation history into delegation Good: Distill to relevant context only
Bad: "Design a good system" Good: "Design a notification system architecture that supports 100K users, uses our existing PostgreSQL database, and costs < $2K/month"
Bad: Letting agent assume unlimited budget/time Good: Explicitly stating constraints, even if flexible
Bad: No mention of what happens next Good: "This design will be validated by strategic-cto-mentor before implementation begins"
## CONTEXT
### Business Goal
Enable customers to receive real-time notifications for order status changes, reducing support tickets about "where's my order" by 60%.
### Current State
- Monolithic Node.js backend, PostgreSQL database
- Notifications currently sent via email batch (hourly)
- 50K active users, expecting 200K in 12 months
- Mobile app (React Native) and web app (React)
### Key Constraints
- Budget: < $3K/month additional infrastructure
- Timeline: MVP in 6 weeks, full rollout in 10 weeks
- Team: 2 backend engineers, 1 mobile engineer
- Must integrate with existing authentication system
### Background Information
User research shows 73% of support tickets are order status questions. Push notifications tested well in user interviews.
---
## TASK
### Primary Deliverable
System architecture design for real-time notification system
### Format Requirements
Standard 7-section architecture document:
1. Executive Summary
2. System Architecture (with diagrams)
3. Technology Stack Justification
4. Implementation Roadmap
5. Risk Assessment
6. Code Examples (WebSocket integration)
7. Deployment Strategy
### Scope Boundaries
- **In scope**: Backend notification service, mobile push integration, delivery tracking
- **Out of scope**: Email notifications (keep existing), SMS notifications (Phase 2)
---
## REQUIREMENTS
### Must-Haves
- Real-time delivery (< 5 second latency)
- Support for 200K users with 20% daily active
- Push notifications on iOS and Android
- Fallback to email if push fails
### Nice-to-Haves
- Notification preferences per user
- Read receipts / delivery confirmation
- Rich notifications with images
### Quality Criteria
- p95 latency < 5 seconds from event to notification
- 99.9% delivery success rate
- Infrastructure cost < $3K/month at 200K users
### Integration Points
- Will be validated by strategic-cto-mentor before implementation
- Development team will implement from this architecture
- Must integrate with existing user service for preferences
---
## ADDITIONAL CONTEXT
Previous attempt at WebSockets failed due to connection management complexity. Team prefers managed solutions where possible. AWS is our cloud provider.
For complex multi-agent systems, simple prompt handoff isn't enough.
## CONTEXT section.memory.md file for persisting decisions across sessions.Before sending delegation prompt, verify:
[ ] Business goal is outcome-focused, not activity-focused
[ ] All critical constraints are explicitly stated
[ ] Task is specific with clear deliverable
[ ] Format requirements are defined
[ ] Scope boundaries prevent scope creep
[ ] Must-haves are truly must-haves (not nice-to-haves in disguise)
[ ] Quality criteria are measurable
[ ] Integration points explain the workflow context
[ ] No vague terms or buzzwords remain
ML Architect Delegation Template
Kaynak: Multi-Agent Patterns (Microsoft)
| Aşama | Doğrulama | |-------|-----------| | 1 | Mimari diyagramı net, roller ayrışık | | 2 | Prompt'lar "Delegation Structure" formatında | | 3 | Router doğru ajana yönlendiriyor (>90% accuracy) | | 4 | Sonsuz döngü veya bağlam kaybı yok |
tools
Production-tested setup for Zustand state management in React. Includes patterns for persistence, devtools, and TypeScript patterns. Prevents hydration mismatches and render loops.
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
--- name: websocket_engineer router_kit: FullStackKit description: WebSocket specialist for real-time communication systems. Invoke for Socket.IO, WebSocket servers, bidirectional messaging, presence systems. Keywords: WebSocket, Socket.IO, real-time, pub/sub, Redis. triggers: - WebSocket - Socket.IO - real-time communication - bidirectional messaging - pub/sub - server push - live updates - chat systems - presence tracking role: specialist scope: implementation output-format:
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.