一键导入
orchestration-workflow
Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Tool-agnostic search — query construction, tool selection, source trust hierarchy.
Auto-continue through todos with idle detection and safety gates. Use for multi-step orchestration.
Level 2 — Pantheon-native context compression with priority scoring, semantic summarization, downstream-aware compression, budget allocation, and cross-references
Automated visual review pipeline — Playwright screenshots, self-analysis, fix loop, escalation. Used by Aphrodite for UI verification.
Multi-agent orchestration with model routing, category delegation, and sprint management. Use for coordinating Pantheon agents.
MCP security hardening — credential leakage prevention, input sanitization, and tool access control. Use for reviewing agent MCP configurations.
| name | orchestration-workflow |
| description | Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment |
| context | fork |
| globs | ["**/AGENTS.md","**/agents/*.agent.md"] |
| alwaysApply | false |
Practical walkthrough for using the multi-agent system end-to-end. This is your "how-to" guide for orchestrating features from planning through production deployment.
Scenario: You want to add JWT authentication to your app.
Time: ~6-8 hours total (spread across 1-2 days)
Team: All agents working together
Result: Complete feature with 95% coverage, security audit passed, ready to deploy
Open VS Code, start a chat with Copilot:
@athena: Plan JWT authentication with refresh tokens
Requirements:
- User login with email + password
- JWT access token (15 min expiry)
- Refresh token (7 day expiry)
- Secure token storage (httpOnly cookies)
- Token verification on protected routes
- Rate limiting (5 attempts/min)
- OWASP Top 10 compliant
Please create a detailed 3-4 phase implementation plan.
Athena researches patterns, calls Apollo for existing auth code, and creates:
📋 Plan: JWT Authentication
├─ Phase 1: Database Schema (Demeter)
│ ├─ Tasks: Create user + token tables
│ ├─ Test requirements: 5 test cases
│ └─ Risk: Zero-downtime migration
├─ Phase 2: Backend Services (Hermes)
│ ├─ Tasks: JWT service + endpoints
│ ├─ Test requirements: 8 test cases
│ └─ Risk: Token expiry edge cases
├─ Phase 3: Frontend Integration (Aphrodite)
│ ├─ Tasks: LoginForm + useAuth hook
│ ├─ Test requirements: 6 test cases
│ └─ Risk: Token refresh race condition
└─ FAQ: Answers to common questions
@athena: Please adjust plan because...Athena: ✅ Plan approved! Ready to orchestrate implementation
Zeus: Starting Phase 1 - Database Schema
Zeus delegates to Demeter:
@demeter: Implement database schema for JWT auth
Requirements:
- User table: id, email, hashed_password
- Token table: id, user_id, token, issued_at, expires_at, revoked_at
- Indexes: user(email), token(user_id, token)
TDD: RED → GREEN → REFACTOR
Coverage target: >80%
Demeter does:
Demeter delivers: Schema files + tests, >80% coverage
Themis reviews: Coverage, security, performance, tests → APPROVED
Background dispatch for independent phases (OpenCode v1.16.2+): If Phase 2 (backend) and Phase 3 (frontend) have no file dependencies, Zeus can dispatch both in background simultaneously and continue working while they execute. This eliminates the sequential wait.
Zeus: "Phase 1 complete! Coverage: >80% ✅ Security: ✅ Tests: passing ✅
Ready to continue to Phase 2?"
User: "continue"
Zeus delegates to Hermes:
@hermes: Implement backend services for JWT auth
Create:
1. JWTService: generate, verify, refresh JWT
2. AuthService: handle login/logout
3. Auth endpoints: POST /auth/login, POST /auth/refresh, GET /auth/verify
TDD: RED → GREEN → REFACTOR
Coverage target: >80%
Hermes does (TDD):
Hermes delivers: Services + tests, >80% coverage
Themis reviews: Coverage, security (OWASP), performance → APPROVED
Zeus: "Phase 2 complete! Coverage: >80% ✅ Security: OWASP ✅ Tests: passing ✅
Ready to continue to Phase 3?"
User: "continue"
Zeus delegates to Aphrodite:
@aphrodite: Implement frontend for JWT auth
Create:
1. LoginForm component
2. useAuth hook for state management
3. Protected route wrapper
TDD: RED → GREEN → REFACTOR
Coverage target: >80%
Aphrodite does (TDD):
Aphrodite delivers: Components + tests, >80% coverage
Themis reviews: Coverage, accessibility, security → APPROVED
Zeus: "Phase 3 complete! Coverage: >80% ✅ Accessibility: ✅ Tests: passing ✅
All phases approved!"
✅ JWT Authentication Complete
📊 Metrics:
- 3 phases: Database, Backend, Frontend
- >80% coverage across all layers
- Security: OWASP compliant ✅
- All tests passing ✅
🚀 Ready to commit
Zeus: "All phases approved! Ready to commit."
Suggested commit message:
feat: Add JWT authentication with refresh tokens
- Create User + Token database schema
- Implement JWTService + AuthService
- Add login, refresh, verify endpoints
- Create LoginForm + useAuth hook
- Full TDD: >80% coverage
- Security: OWASP Top 10 compliant
User: git add -A && git commit -m "..."
# Step 1: Plan
@athena: Plan [feature description]
# Step 2: Orchestrate
@zeus: Implement feature using plan
# Step 3: At pause points
# - Review phase results
# - Approve before proceeding
# Step 4: Commit
git add -A
git commit -m "feat: ..."
# Step 5: Deploy
git push origin [branch]
Solution: Implementer adds missing test cases, re-runs coverage, Themis re-reviews.
Solution: Relevant agent fixes (parameterized queries, input validation), re-audit, Themis approves.
Solution: Aphrodite improves ARIA labels, keyboard navigation, re-checks, Themis approves.
Discovery: @apollo: Find bug in authentication
Fix: @hermes: Fix the validation error
Review: @themis: Auto-invoked after fix
Result: Minimal change, minimal risk (~30 min)
Plan: @athena: Plan architecture
Orchestrate: @zeus: Implement using plan
Result: Complete feature, >80% coverage (1-2 days)
Discovery: @apollo: Find N+1 queries
Optimize: @demeter: Add indexes + optimize
Review: @themis: Auto-invoked
Result: 10x faster queries (~2 hours)
🎯 Plan First — Saves 2-3x rework time
🎯 Use Pause Points — You control when to proceed
🎯 Trust Themis — Code review catches issues early
🎯 Commit Atomically — One phase = one commit
🎯 Test First — RED tests before code
🎯 Coverage Matters — <80% = blocked, no exceptions
🎯 Security First — Themis enforces OWASP compliance
🎯 Background Dispatch — Use OpenCode v1.16.2+ background agents to run independent phases in parallel without polling
agent-coordination/SKILL.mdtdd-with-agents/SKILL.md@athena: Plan [your idea]Philosophy: Plan → Orchestrate → Review → Commit → Deploy Every phase has a pause point where YOU control the outcome.