pantheon-opencode 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +37 -0
- package/LICENSE +21 -0
- package/README.md +1013 -0
- package/bin/pantheon-init.mjs +183 -0
- package/commands/pantheon-audit.md +25 -0
- package/commands/pantheon-bg.md +10 -0
- package/commands/pantheon-consolidate.md +11 -0
- package/commands/pantheon-deepwork.md +128 -0
- package/commands/pantheon-doc.md +10 -0
- package/commands/pantheon-focus.md +9 -0
- package/commands/pantheon-forget.md +58 -0
- package/commands/pantheon-hash.md +11 -0
- package/commands/pantheon-optimize.md +79 -0
- package/commands/pantheon-remember.md +44 -0
- package/commands/pantheon-search.md +48 -0
- package/commands/pantheon-status.md +71 -0
- package/commands/pantheon-todo.md +11 -0
- package/commands/pantheon.md +49 -0
- package/docs/AGENT-MCP.md +194 -0
- package/docs/ARCHITECTURE.md +384 -0
- package/docs/BRANCH-PROTECTION.md +142 -0
- package/docs/INDEX.md +81 -0
- package/docs/INSTALLATION.md +217 -0
- package/docs/MCP.md +238 -0
- package/docs/MEMORY.md +471 -0
- package/docs/MIGRATION-MEMORY-BANK.md +139 -0
- package/docs/PLATFORMS.md +5 -0
- package/docs/QUICKSTART.md +49 -0
- package/docs/README.md +18 -0
- package/docs/RELEASING.md +256 -0
- package/docs/SETUP.md +5 -0
- package/docs/UPGRADING.md +41 -0
- package/docs/mcp-recommendations.md +439 -0
- package/docs/mcp-tools.md +156 -0
- package/docs/mcp-user-guide.md +204 -0
- package/docs/persistence-mcp.md +111 -0
- package/package.json +72 -0
- package/pantheon.schema.json +158 -0
- package/scripts/__init__.py +0 -0
- package/scripts/_pantheon_paths.py +68 -0
- package/scripts/check-version-consistency.sh +23 -0
- package/scripts/code_mode_server.py +202 -0
- package/scripts/doctor.mjs +763 -0
- package/scripts/generate-prompts.sh +222 -0
- package/scripts/generate-routing-docs.mjs +104 -0
- package/scripts/hash_verify.py +192 -0
- package/scripts/init-pantheon-mcp.sh +118 -0
- package/scripts/install/agents-md.mjs +214 -0
- package/scripts/install/health-check.mjs +196 -0
- package/scripts/install/migrate.mjs +209 -0
- package/scripts/install/opencode.mjs +645 -0
- package/scripts/install/shared.mjs +655 -0
- package/scripts/install/venv.mjs +116 -0
- package/scripts/install-mcp.mjs +885 -0
- package/scripts/install.mjs +26 -0
- package/scripts/manifest.mjs +622 -0
- package/scripts/mcp_persistence_server.py +459 -0
- package/scripts/mcp_resources_server.py +206 -0
- package/scripts/memory_cache.py +78 -0
- package/scripts/memory_mcp_server.py +605 -0
- package/scripts/paths.py +64 -0
- package/scripts/prune_context.py +72 -0
- package/scripts/release-bundle.mjs +109 -0
- package/scripts/scrub-secrets.py +282 -0
- package/scripts/scrub_secrets.py +281 -0
- package/scripts/test-context-compression.sh +166 -0
- package/scripts/themis_heuristic_scan.py +287 -0
- package/scripts/todo_enforcer.py +242 -0
- package/scripts/uninstall.mjs +1057 -0
- package/scripts/validate-routing.mjs +160 -0
- package/scripts/validate_agent_frontmatter.py +226 -0
- package/scripts/versioning.mjs +254 -0
- package/skills-lock.json +16 -0
- package/src/agents/aphrodite.md +162 -0
- package/src/agents/apollo.md +109 -0
- package/src/agents/athena.md +226 -0
- package/src/agents/demeter.md +146 -0
- package/src/agents/gaia.md +82 -0
- package/src/agents/hephaestus.md +105 -0
- package/src/agents/hermes.md +302 -0
- package/src/agents/iris.md +99 -0
- package/src/agents/mnemosyne.md +226 -0
- package/src/agents/nyx.md +87 -0
- package/src/agents/prometheus.md +199 -0
- package/src/agents/talos.md +93 -0
- package/src/agents/themis.md +187 -0
- package/src/agents/zeus.md +209 -0
- package/src/instructions/agent-return-format.instructions.md +26 -0
- package/src/instructions/backend-standards.instructions.md +45 -0
- package/src/instructions/documentation-standards.instructions.md +53 -0
- package/src/instructions/frontend-standards.instructions.md +46 -0
- package/src/instructions/memory-protocol.instructions.md +67 -0
- package/src/instructions/yagni.instructions.md +21 -0
- package/src/instructions/zeus-anti-stall.instructions.md +72 -0
- package/src/instructions/zeus-communication-rules.instructions.md +15 -0
- package/src/instructions/zeus-council-synthesis.instructions.md +105 -0
- package/src/instructions/zeus-timeout-retry.instructions.md +127 -0
- package/src/mcp/_pantheon_paths.py +67 -0
- package/src/mcp/code_mode_server.py +202 -0
- package/src/mcp/init-pantheon-mcp.sh +118 -0
- package/src/mcp/install-mcp.mjs +885 -0
- package/src/mcp/mcp_persistence_server.py +458 -0
- package/src/mcp/mcp_resources_server.py +205 -0
- package/src/mcp/memory_mcp_server.py +604 -0
- package/src/mcp/requirements-mcp-core.txt +5 -0
- package/src/mcp/requirements-mcp.txt +5 -0
- package/src/plugin.ts +19 -0
- package/src/plugins/tui/dist/tui.js +143 -0
- package/src/plugins/tui/dist/tui.tsx +144 -0
- package/src/plugins/tui/package.json +32 -0
- package/src/plugins/tui/src/index.tsx +144 -0
- package/src/plugins/tui/tsdown.config.ts +22 -0
- package/src/routing.yml +499 -0
- package/src/skills/README.md +230 -0
- package/src/skills/agent-coordination/SKILL.md +95 -0
- package/src/skills/artifact-management/SKILL.md +118 -0
- package/src/skills/auto-continue/SKILL.md +280 -0
- package/src/skills/code-review-checklist/SKILL.md +139 -0
- package/src/skills/context-compression/SKILL.md +861 -0
- package/src/skills/git-workflow-and-versioning/SKILL.md +32 -0
- package/src/skills/incremental-implementation/SKILL.md +27 -0
- package/src/skills/memory-bank/SKILL.md +165 -0
- package/src/skills/orchestration-workflow/SKILL.md +311 -0
- package/src/skills/security-hardening/SKILL.md +36 -0
- package/src/skills/session-goal/SKILL.md +138 -0
- package/src/skills/spec-driven-development/SKILL.md +23 -0
- package/src/skills/tdd-with-agents/SKILL.md +170 -0
- package/src/skills/visual-review-pipeline/SKILL.md +200 -0
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# Skills Reference — Pantheon
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Skills are reference modules loaded on demand by agents. Each skill provides domain-specific knowledge — architecture patterns, security checklists, optimization strategies, and implementation guides. Agents load skills when their task matches the skill's description, keeping context focused and token-efficient.
|
|
6
|
+
|
|
7
|
+
There are **37 skills** divided into **9 domains**.
|
|
8
|
+
|
|
9
|
+
## Skills by Domain
|
|
10
|
+
|
|
11
|
+
### Domain 1: Orchestration & Workflow
|
|
12
|
+
|
|
13
|
+
1. **agent-coordination** — `skills/agent-coordination/SKILL.md`
|
|
14
|
+
- Master guide to the multi-agent system with category routing, model selection, and sprint management for rapid, TDD-driven feature development.
|
|
15
|
+
- Used by: Zeus, Athena
|
|
16
|
+
|
|
17
|
+
2. **artifact-management** — `skills/artifact-management/SKILL.md`
|
|
18
|
+
- Complete guide to the artifact trail system — plans directory structure, templates, and best practices for documenting feature implementations.
|
|
19
|
+
- Used by: Zeus, Mnemosyne
|
|
20
|
+
|
|
21
|
+
3. **memory-bank** — `skills/memory-bank/SKILL.md`
|
|
22
|
+
- Complete guide to Pantheon memory bank — structure, rules, optimization, session→active-context graduation, and compression strategies.
|
|
23
|
+
- Used by: Mnemosyne, All agents
|
|
24
|
+
|
|
25
|
+
- Audit a repository for token waste — find redundant context files, measure baseline, and recommend optimizations.
|
|
26
|
+
- Used by: Mnemosyne, Zeus
|
|
27
|
+
|
|
28
|
+
- Load prompts from external files with path expansion so prompt content stays version-controlled and reusable.
|
|
29
|
+
- Used by: All agents
|
|
30
|
+
|
|
31
|
+
### Domain 2: AI & Machine Learning
|
|
32
|
+
|
|
33
|
+
4. **rag-pipelines** — `skills/rag-pipelines/SKILL.md`
|
|
34
|
+
- RAG architecture, chunking strategies, embedding models, vector store selection, retrieval optimization, context window management, hallucination mitigation, and evaluation frameworks (faithfulness, answer relevance).
|
|
35
|
+
- Used by: Hephaestus
|
|
36
|
+
|
|
37
|
+
5. **streaming-patterns** — `skills/streaming-patterns/SKILL.md`
|
|
38
|
+
- Server-Sent Events (SSE), WebSocket connections, LLM token streaming, chunked transfer encoding, backpressure handling, reconnection strategies, and real-time update patterns for observability pipelines.
|
|
39
|
+
- Used by: Nyx
|
|
40
|
+
|
|
41
|
+
6. **agent-evaluation** — `skills/agent-evaluation/SKILL.md`
|
|
42
|
+
- Hallucination detection (factual consistency, faithfulness), output quality scoring (relevance, coherence, helpfulness), behavioral testing (edge cases, adversarial inputs), automated red-teaming, regression benchmarking, and human-in-the-loop evaluation workflows.
|
|
43
|
+
- Used by: Hephaestus, Themis
|
|
44
|
+
|
|
45
|
+
- Prompt injection attack taxonomy (direct, indirect, jailbreaking, leakage), detection strategies (classifier-based, LLM-as-judge, pattern matching), input sanitization, output guardrails, content filters, rate limiting on LLM calls, and red-teaming methodologies.
|
|
46
|
+
- Used by: Themis, Hephaestus
|
|
47
|
+
|
|
48
|
+
- NLU pipeline design (intent classification, entity extraction, slot filling), dialogue state management, Rasa framework integration, multi-turn conversation patterns, context windowing, fallback handling, and conversation testing strategies.
|
|
49
|
+
- Used by: Hephaestus
|
|
50
|
+
|
|
51
|
+
### Domain 3: Backend Development
|
|
52
|
+
|
|
53
|
+
12. **fastapi-async-patterns** — `skills/fastapi-async-patterns/SKILL.md`
|
|
54
|
+
- Async FastAPI endpoint design, dependency injection, service/repository pattern, Pydantic validation, error handling middleware, rate limiting, background tasks, file uploads, WebSocket support, and Gemini integration.
|
|
55
|
+
- Used by: Hermes
|
|
56
|
+
|
|
57
|
+
13. **api-design-patterns** — `skills/api-design-patterns/SKILL.md`
|
|
58
|
+
- RESTful API design principles, HTTP method semantics, status code selection, pagination strategies (cursor, offset), filtering and sorting, error response formats, OpenAPI/Swagger documentation, versioning, and HATEOAS considerations.
|
|
59
|
+
- Used by: Hermes
|
|
60
|
+
|
|
61
|
+
### Domain 4: Frontend Development
|
|
62
|
+
|
|
63
|
+
14. **frontend-analyzer** — `skills/frontend-analyzer/SKILL.md`
|
|
64
|
+
- React/Next.js component architecture analysis, typography system extraction, color palette identification, layout pattern recognition ( flexbox, grid, spacing), responsive breakpoint mapping, font stack detection, and design token inventory.
|
|
65
|
+
- Used by: Aphrodite
|
|
66
|
+
|
|
67
|
+
15. **nextjs-seo-optimization** — `skills/nextjs-seo-optimization/SKILL.md`
|
|
68
|
+
- Next.js App Router metadata API, JSON-LD structured data (schema.org), auto-generated XML sitemaps, Open Graph and Twitter Card tags, canonical URL strategy, dynamic OG image generation, Core Web Vitals optimization for SEO, and i18n SEO patterns.
|
|
69
|
+
- Used by: Aphrodite
|
|
70
|
+
|
|
71
|
+
### Domain 5: Database & Storage
|
|
72
|
+
|
|
73
|
+
16. **database-migration** — `skills/database-migration/SKILL.md`
|
|
74
|
+
- Alembic migration workflows, zero-downtime migration strategies (expand-contract), backward-compatible schema changes, data migration with batch processing, rollback procedures, merge conflict resolution, and migration testing.
|
|
75
|
+
- Used by: Demeter
|
|
76
|
+
|
|
77
|
+
17. **database-optimization** — `skills/database-optimization/SKILL.md`
|
|
78
|
+
- Index analysis and recommendation (B-tree, GiST, GIN, BRIN), N+1 query detection using SQLAlchemy event listeners, query execution plan analysis (EXPLAIN ANALYZE), connection pooling configuration, caching layers, materialized views, read replica offloading, async query batching, and profiling.
|
|
79
|
+
- Used by: Demeter, Prometheus
|
|
80
|
+
|
|
81
|
+
### Domain 6: Quality & Security
|
|
82
|
+
|
|
83
|
+
18. **code-review-checklist** — `skills/code-review-checklist/SKILL.md`
|
|
84
|
+
- Systematic code review process with quality gates (trailing whitespace, hard tabs, wild imports), SOLID principles validation, error handling patterns (explicit vs silent), test coverage analysis, type safety verification, and structured feedback with severity levels.
|
|
85
|
+
- Used by: Themis
|
|
86
|
+
|
|
87
|
+
19. **security-audit-pro** — `skills/security-audit-pro/SKILL.md`
|
|
88
|
+
- Professional security audit — SAST, SCA, container security, SBOM, PII detection, and compliance (GDPR, LGPD, HIPAA).
|
|
89
|
+
- Used by: Themis, Hermes, Demeter
|
|
90
|
+
|
|
91
|
+
20. **tdd-with-agents** — `skills/tdd-with-agents/SKILL.md`
|
|
92
|
+
- TDD lifecycle enforcement (RED → GREEN → REFACTOR), test-first development across all layers, advanced testing patterns (E2E, load, mutation, contract, visual regression), coverage thresholds (>80%).
|
|
93
|
+
- Used by: Hermes, Aphrodite, Demeter, Themis
|
|
94
|
+
|
|
95
|
+
21. **docker-best-practices** — `skills/docker-best-practices/SKILL.md`
|
|
96
|
+
- Multi-stage Docker builds, layer caching optimization, .dockerignore patterns, non-root user execution, health check configuration, GPU container setup (CUDA), memory and CPU limits, secrets management (Docker secrets, not env vars), and docker-compose patterns for dev/prod parity.
|
|
97
|
+
- Used by: Prometheus
|
|
98
|
+
|
|
99
|
+
22. **mcp-server-development** — `skills/mcp-server-development/SKILL.md`
|
|
100
|
+
- Model Context Protocol (MCP) architecture, server creation with FastMCP/ Python SDK, tool definition and registration, resource exposure, prompt templates, transport layer configuration (stdio, SSE), authentication, error handling, and testing MCP servers.
|
|
101
|
+
- Used by: Hephaestus, Prometheus, Nyx
|
|
102
|
+
|
|
103
|
+
23. **agent-observability** — `skills/agent-observability/SKILL.md`
|
|
104
|
+
- OpenTelemetry instrumentation (traces, metrics, logs), LangSmith integration for LLM call tracing, Prometheus metric exposition, Grafana dashboard design, cost tracking per agent/feature, token usage attribution, structured JSON logging with correlation IDs, and alerting rules.
|
|
105
|
+
- Used by: Nyx, Prometheus
|
|
106
|
+
|
|
107
|
+
24. **cache-strategy** — `skills/cache-strategy/SKILL.md`
|
|
108
|
+
- Cache architecture patterns — Redis (read-through, write-through, write-behind), CDN, TTL strategies, invalidation patterns, session stores.
|
|
109
|
+
- Used by: Demeter, Hermes
|
|
110
|
+
|
|
111
|
+
### Domain 8: Domain Specialists
|
|
112
|
+
|
|
113
|
+
25. **remote-sensing-analysis** — `skills/remote-sensing-analysis/SKILL.md`
|
|
114
|
+
- Complete remote sensing pipeline: spectral indices (NDVI, EVI, NBR, NDWI, MNDWI), SAR processing, change detection algorithms, time series analysis, land use/land cover (LULC) product inter-comparison (MapBiomas, CGLS, ESRI, GLAD, ESA WorldCover), accuracy metrics (Kappa, OA, F1, Dice), and ML/DL model training for RS imagery.
|
|
115
|
+
- Used by: Gaia
|
|
116
|
+
|
|
117
|
+
26. **internet-search** — `skills/internet-search/SKILL.md`
|
|
118
|
+
- Web research methodology with source trust hierarchy (official docs > academic > community), structured API patterns for general web (DuckDuckGo, Wikipedia, Jina Reader), tech community (Stack Overflow, Hacker News, Reddit, Dev.to), official vendor docs, academic databases (Semantic Scholar, CrossRef, arXiv), GitHub search, package registries, and remote sensing data sources. All sources free, no API key required.
|
|
119
|
+
- Used by: Athena, Apollo, Gaia, Zeus
|
|
120
|
+
|
|
121
|
+
27. **prompt-improver** — `skills/prompt-improver/SKILL.md`
|
|
122
|
+
- Prompt analysis and optimization: clarity and specificity evaluation, context window management, output format specification, NLU optimization for intent/entity extraction, chain-of-thought prompting, token efficiency, few-shot example selection, and systematic prompt testing.
|
|
123
|
+
- Used by: All agents
|
|
124
|
+
|
|
125
|
+
28. **interview** — `skills/interview/SKILL.md`
|
|
126
|
+
- Turn a rough idea into a structured spec through a short Q&A interview. Ask 3–5 targeted questions one at a time, then produce a complete markdown spec with goals, requirements, constraints, and open questions.
|
|
127
|
+
- Used by: Athena, Zeus
|
|
128
|
+
- Domain: Planning
|
|
129
|
+
|
|
130
|
+
29. **session-goal** — `skills/session-goal/SKILL.md`
|
|
131
|
+
- Pin a session objective so all todos, delegation decisions, and verification steps stay aligned with a single stated goal. Prevents scope creep and drift across long multi-agent sessions.
|
|
132
|
+
- Used by: Zeus, Athena
|
|
133
|
+
- Domain: Orchestration
|
|
134
|
+
|
|
135
|
+
30. **auto-continue** — `skills/auto-continue/SKILL.md`
|
|
136
|
+
- Safe auto-continue pattern for multi-step orchestration — how to automatically work through todo lists without unnecessary interruptions while always stopping at mandatory safety gates (plan approval, phase review, git commit).
|
|
137
|
+
- Used by: Zeus, Hermes, Aphrodite, Demeter
|
|
138
|
+
- Domain: Orchestration
|
|
139
|
+
|
|
140
|
+
31. **metis-gap-analysis** — `skills/metis-gap-analysis/SKILL.md`
|
|
141
|
+
- Pre-plan gap analysis — catch hidden intentions, ambiguities, missing acceptance criteria, AI slop patterns, and edge cases before the plan is delivered to the user.
|
|
142
|
+
- Used by: Athena, Zeus
|
|
143
|
+
- Domain: Planning
|
|
144
|
+
|
|
145
|
+
32. **codemap** — `skills/codemap/SKILL.md`
|
|
146
|
+
- Hierarchical codebase map generation — directory trees, entry points, module relationships and dependency analysis.
|
|
147
|
+
- Used by: Apollo, Zeus
|
|
148
|
+
|
|
149
|
+
33. **init-deep** — `skills/init-deep/SKILL.md`
|
|
150
|
+
- Generate hierarchical AGENTS.md files throughout the project directory tree. Each directory gets context-specific instructions for agents working in that scope.
|
|
151
|
+
- Used by: Athena, Prometheus
|
|
152
|
+
- Domain: Planning
|
|
153
|
+
|
|
154
|
+
34. **handoff** — `skills/handoff/SKILL.md`
|
|
155
|
+
- Generate structured session handoff for continuing work in a new session. Captures current state, what was done, what remains, decisions, and relevant files.
|
|
156
|
+
- Used by: All agents
|
|
157
|
+
- Domain: Orchestration
|
|
158
|
+
|
|
159
|
+
35. **task-system** — `skills/task-system/SKILL.md`
|
|
160
|
+
- File-backed task management with dependencies (blockedBy/blocks), automatic parallel execution, and session persistence. For complex work with 3+ interdependent tasks.
|
|
161
|
+
- Used by: Zeus, Athena
|
|
162
|
+
- Domain: Orchestration
|
|
163
|
+
|
|
164
|
+
- Extract and pass learnings between implementation waves — conventions, successes, failures, gotchas, and commands. Temporary, scoped to feature, deleted after merge.
|
|
165
|
+
- Used by: All agents
|
|
166
|
+
- Domain: Utilities
|
|
167
|
+
|
|
168
|
+
- Plan feature architecture with component breakdown, data flow, and dependency mapping. Use before implementation to define contracts between layers.
|
|
169
|
+
- Used by: Athena, Zeus
|
|
170
|
+
- Domain: Planning
|
|
171
|
+
|
|
172
|
+
## Skills File Structure
|
|
173
|
+
|
|
174
|
+
Each skill follows a consistent layout:
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
skills/[skill-name]/
|
|
178
|
+
├── SKILL.md — main reference document (YAML frontmatter + content)
|
|
179
|
+
├── scripts/ — optional helper scripts (if any)
|
|
180
|
+
└── examples/ — optional example files, templates, or configs (if any)
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
The `SKILL.md` file contains YAML frontmatter with `name`, `description`, and platform metadata, followed by the full reference content in Markdown.
|
|
184
|
+
|
|
185
|
+
## How Skills Work
|
|
186
|
+
|
|
187
|
+
- **On-demand loading**: Skills are loaded when an agent's task matches the skill's description. The agent invokes the skill via the `skill` tool, injecting the domain knowledge into context.
|
|
188
|
+
- **Agent frontmatter**: Agents declare which skills they use via the `skills:` field in their `.agent.md` frontmatter. The platform uses this to determine relevance.
|
|
189
|
+
- **VS Code Copilot**: Automatically injects skill content when the agent detects a matching task description. Skills appear in the Available Skills list and can be loaded via `/skill` commands.
|
|
190
|
+
- **OpenCode platform**: Skills are listed in the system prompt's `<available_skills>` block. The agent invokes `skill` with the matching name to load the full content.
|
|
191
|
+
- **Other platforms**: Each platform loads skills differently. Refer to platform-specific documentation for integration details.
|
|
192
|
+
|
|
193
|
+
## Quick Reference Table
|
|
194
|
+
|
|
195
|
+
| # | Skill Name | Domain | Used By |
|
|
196
|
+
|---|------------|--------|---------|
|
|
197
|
+
| 1 | agent-coordination | Orchestration & Workflow | Zeus, Athena |
|
|
198
|
+
| 2 | artifact-management | Orchestration & Workflow | Zeus, Mnemosyne |
|
|
199
|
+
| 3 | memory-bank | Orchestration & Workflow | Mnemosyne, All agents |
|
|
200
|
+
| 6 | auto-continue | Orchestration | Zeus, Hermes, Aphrodite, Demeter |
|
|
201
|
+
| 7 | session-goal | Orchestration | Zeus, Athena |
|
|
202
|
+
| 8 | task-system | Orchestration | Zeus, Athena |
|
|
203
|
+
| 9 | rag-pipelines | AI & Machine Learning | Hephaestus |
|
|
204
|
+
|
|
205
|
+
| 12 | agent-evaluation | AI & Machine Learning | Hephaestus, Themis |
|
|
206
|
+
| 15 | fastapi-async-patterns | Backend Development | Hermes |
|
|
207
|
+
| 16 | api-design-patterns | Backend Development | Hermes |
|
|
208
|
+
| 17 | frontend-analyzer | Frontend Development | Aphrodite |
|
|
209
|
+
| 18 | nextjs-seo-optimization | Frontend Development | Aphrodite |
|
|
210
|
+
| 19 | database-migration | Database & Storage | Demeter |
|
|
211
|
+
| 20 | database-optimization | Database & Storage | Demeter, Prometheus |
|
|
212
|
+
| 21 | cache-strategy | Database & Storage | Demeter, Hermes |
|
|
213
|
+
| 22 | code-review-checklist | Quality & Security | Themis |
|
|
214
|
+
| 23 | security-audit-pro | Quality & Security | Themis, Hermes, Demeter |
|
|
215
|
+
| 24 | tdd-with-agents | Quality & Security | Hermes, Aphrodite, Demeter, Themis |
|
|
216
|
+
| 25 | docker-best-practices | Infrastructure & DevOps | Prometheus |
|
|
217
|
+
| 26 | mcp-server-development | Infrastructure & DevOps | Hephaestus, Prometheus, Nyx |
|
|
218
|
+
| 27 | agent-observability | Infrastructure & DevOps | Nyx, Prometheus |
|
|
219
|
+
| 28 | remote-sensing-analysis | Domain Specialists | Gaia |
|
|
220
|
+
| 29 | internet-search | Domain Specialists | Athena, Apollo, Gaia, Zeus |
|
|
221
|
+
| 30 | prompt-improver | Domain Specialists | All agents |
|
|
222
|
+
| 31 | interview | Planning | Athena, Zeus |
|
|
223
|
+
| 32 | metis-gap-analysis | Planning | Athena, Zeus |
|
|
224
|
+
| 33 | codemap | Planning | Apollo, Zeus |
|
|
225
|
+
| 34 | init-deep | Planning | Athena, Prometheus |
|
|
226
|
+
| 35 | handoff | Utilities | All agents |
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
[Main Documentation](../README.md)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-coordination
|
|
3
|
+
description: "Multi-agent orchestration with model routing, category delegation, and sprint management. Use for coordinating Pantheon agents."
|
|
4
|
+
context: fork
|
|
5
|
+
globs: []
|
|
6
|
+
alwaysApply: false
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Agent Coordination
|
|
10
|
+
|
|
11
|
+
Master guide to orchestrating the multi-agent system. Includes category routing, model selection, and sprint management for rapid, TDD-driven feature development.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Agent Hierarchy
|
|
16
|
+
|
|
17
|
+
See `AGENTS.md` for the full agent table.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Category Routing
|
|
22
|
+
|
|
23
|
+
Route tasks to optimized agents based on category instead of specifying agents manually:
|
|
24
|
+
|
|
25
|
+
| Category | Agent | Use For |
|
|
26
|
+
|----------|-------|---------|
|
|
27
|
+
| **Deep** | Athena, Hephaestus | Complex planning, AI pipelines |
|
|
28
|
+
| **Quick** | Talos, Apollo | Fast fixes, codebase search |
|
|
29
|
+
| **Ultrabrain** | Zeus | Multi-agent orchestration, model routing |
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Sprint Workflow
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
1. User describes feature
|
|
37
|
+
2. @athena creates PLAN with phases and agents
|
|
38
|
+
3. User approves PLAN (GATE 1)
|
|
39
|
+
4. Zeus dispatches agents to phases (parallel when possible)
|
|
40
|
+
5. Each agent: TDD cycle → writes IMPL artifact
|
|
41
|
+
6. @themis reviews all phases (GATE 2)
|
|
42
|
+
7. User reviews Themis findings
|
|
43
|
+
8. If approved → user commits (GATE 3)
|
|
44
|
+
9. @mnemosyne updates memory bank
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Parallel Execution Declaration
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
🔀 PARALLEL EXECUTION — Phase 2
|
|
53
|
+
Running simultaneously:
|
|
54
|
+
- @hermes → backend tests → .tmp/IMPL-phase2-hermes.md
|
|
55
|
+
- @aphrodite → frontend → .tmp/IMPL-phase2-aphrodite.md
|
|
56
|
+
- @demeter → migrations → .tmp/IMPL-phase2-demeter.md
|
|
57
|
+
Themis reviews all three after completion.
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Artifact Protocol
|
|
63
|
+
|
|
64
|
+
All phase outputs go to `.pantheon/memory-bank/.tmp/`. See `skill: artifact-management` for the complete protocol (who generates what, templates, lifecycle).
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Safety Gates
|
|
69
|
+
|
|
70
|
+
| Gate | When | Why |
|
|
71
|
+
|------|------|-----|
|
|
72
|
+
| **GATE 1** | After PLAN | User confirms scope |
|
|
73
|
+
| **GATE 2** | After Themis review | User sees changes |
|
|
74
|
+
| **GATE 3** | Before git commit | User controls history |
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Model Selection
|
|
79
|
+
|
|
80
|
+
Model routing is handled by Prometheus and the platform configuration. Zeus delegates model selection to the tier system (`fast` / `default` / `coding` / `premium`).
|
|
81
|
+
|
|
82
|
+
- **Deep tasks** → High-quality models (Claude, GPT-4)
|
|
83
|
+
- **Quick tasks** → Fast/cheap models (Haiku, 4o-mini)
|
|
84
|
+
- **Visual tasks** → Multimodal models (GPT-4V, Claude Vision)
|
|
85
|
+
- **Cost optimization** → Route to cheapest model that meets quality bar
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Anti-Patterns
|
|
90
|
+
|
|
91
|
+
- ❌ Zeus doing implementation work (orchestrates, doesn't code)
|
|
92
|
+
- ❌ Skipping TDD cycle (RED → GREEN → REFACTOR)
|
|
93
|
+
- ❌ Auto-committing without user approval
|
|
94
|
+
- ❌ Parallel phases with dependencies (order matters)
|
|
95
|
+
- ❌ Ignoring Themis CRITICAL findings
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: artifact-management
|
|
3
|
+
description: "Structured artifact trail for feature implementations — plans, implementations, reviews, and decisions."
|
|
4
|
+
context: fork
|
|
5
|
+
globs: []
|
|
6
|
+
alwaysApply: false
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Artifact Management
|
|
10
|
+
|
|
11
|
+
Structured artifact trail system for documenting feature implementations. Defines what, where, and how agents produce phase outputs.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Temp Folder
|
|
16
|
+
|
|
17
|
+
All ephemeral artifacts live in `.pantheon/memory-bank/.tmp/` — gitignored and wiped on sprint close.
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
.pantheon/memory-bank/
|
|
21
|
+
├── .tmp/ ← GITIGNORED — ephemeral artifacts
|
|
22
|
+
│ ├── PLAN-<feature>.md
|
|
23
|
+
│ ├── IMPL-phase1-hermes.md
|
|
24
|
+
│ ├── IMPL-phase1-aphrodite.md
|
|
25
|
+
│ └── REVIEW-<feature>.md
|
|
26
|
+
├── _notes/ ← COMMITTED — permanent ADRs
|
|
27
|
+
│ └── ADR-<topic>.md
|
|
28
|
+
├── 01-active-context.md
|
|
29
|
+
└── 02-progress-log.md
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Artifact Types
|
|
35
|
+
|
|
36
|
+
| Prefix | Location | Ephemeral? | Produced by |
|
|
37
|
+
|--------|----------|------------|-------------|
|
|
38
|
+
| `PLAN-` | `.tmp/` | ✅ | Athena |
|
|
39
|
+
| `IMPL-` | `.tmp/` | ✅ | Hermes/Aphrodite/Demeter |
|
|
40
|
+
| `REVIEW-` | `.tmp/` | ✅ | Themis |
|
|
41
|
+
| `DISC-` | `.tmp/` | ✅ | Apollo |
|
|
42
|
+
| `ADR-` | `_notes/` | ❌ Permanent | Any → Mnemosyne |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Who Generates
|
|
47
|
+
|
|
48
|
+
| Situation | Agent | Artifact |
|
|
49
|
+
|-----------|-------|----------|
|
|
50
|
+
| Planning | Athena | `PLAN-<feature>.md` |
|
|
51
|
+
| Implementation | Worker | `IMPL-phase<N>-<agent>.md` |
|
|
52
|
+
| Review | Themis | `REVIEW-<feature>.md` |
|
|
53
|
+
| Discovery | Apollo | `DISC-<topic>.md` |
|
|
54
|
+
| Decision | Any → Mnemosyne | `ADR-<topic>.md` |
|
|
55
|
+
|
|
56
|
+
> **Zeus does NOT generate artifacts.** He orchestrates agents that generate them.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Templates
|
|
61
|
+
|
|
62
|
+
### PLAN
|
|
63
|
+
```markdown
|
|
64
|
+
# PLAN-<feature>
|
|
65
|
+
**Date:** YYYY-MM-DD **Status:** Awaiting Approval
|
|
66
|
+
|
|
67
|
+
## Goal
|
|
68
|
+
[One sentence]
|
|
69
|
+
|
|
70
|
+
## Phases
|
|
71
|
+
1. Phase 1 — @hermes
|
|
72
|
+
2. Phase 2 — @aphrodite
|
|
73
|
+
|
|
74
|
+
## Risks
|
|
75
|
+
- [Risk]
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### IMPL
|
|
79
|
+
```markdown
|
|
80
|
+
# IMPL-<phase>-<agent>
|
|
81
|
+
**Date:** YYYY-MM-DD **Status:** Awaiting Themis Review
|
|
82
|
+
|
|
83
|
+
## What Was Implemented
|
|
84
|
+
- [file] — [what changed]
|
|
85
|
+
|
|
86
|
+
## Tests
|
|
87
|
+
- ✅ X tests / Coverage: Y%
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### REVIEW
|
|
91
|
+
```markdown
|
|
92
|
+
# REVIEW-<feature>
|
|
93
|
+
**Status:** APPROVED | NEEDS_REVISION | FAILED
|
|
94
|
+
|
|
95
|
+
## Verdict
|
|
96
|
+
[APPROVED | NEEDS_REVISION | FAILED]
|
|
97
|
+
|
|
98
|
+
## Issues
|
|
99
|
+
- CRITICAL: X / HIGH: Y / MEDIUM: Z
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Human Pause Points
|
|
105
|
+
|
|
106
|
+
1. **After PLAN** → user reads `.tmp/PLAN-<feature>.md` and approves
|
|
107
|
+
2. **After REVIEW** → user reads `.tmp/REVIEW-<feature>.md` and validates focus items
|
|
108
|
+
3. **Before git commit** → user executes manually
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Cleanup
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
@mnemosyne Close sprint # Wipes entire .tmp/
|
|
116
|
+
@mnemosyne Clean tmp # Wipes .tmp/ without closing sprint
|
|
117
|
+
@mnemosyne List artifacts # Check what's in .tmp/
|
|
118
|
+
```
|