omgkit 2.12.0 → 2.15.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/README.md +97 -12
- package/package.json +2 -2
- package/plugin/agents/api-designer.md +5 -0
- package/plugin/agents/architect.md +8 -0
- package/plugin/agents/brainstormer.md +4 -0
- package/plugin/agents/cicd-manager.md +6 -0
- package/plugin/agents/code-reviewer.md +6 -0
- package/plugin/agents/copywriter.md +2 -0
- package/plugin/agents/data-engineer.md +255 -0
- package/plugin/agents/database-admin.md +10 -0
- package/plugin/agents/debugger.md +10 -0
- package/plugin/agents/devsecops.md +314 -0
- package/plugin/agents/docs-manager.md +4 -0
- package/plugin/agents/domain-decomposer.md +181 -0
- package/plugin/agents/embedded-systems.md +397 -0
- package/plugin/agents/fullstack-developer.md +12 -0
- package/plugin/agents/game-systems-designer.md +375 -0
- package/plugin/agents/git-manager.md +10 -0
- package/plugin/agents/journal-writer.md +2 -0
- package/plugin/agents/ml-engineer.md +284 -0
- package/plugin/agents/observability-engineer.md +353 -0
- package/plugin/agents/oracle.md +9 -0
- package/plugin/agents/performance-engineer.md +290 -0
- package/plugin/agents/pipeline-architect.md +6 -0
- package/plugin/agents/planner.md +12 -0
- package/plugin/agents/platform-engineer.md +325 -0
- package/plugin/agents/project-manager.md +3 -0
- package/plugin/agents/researcher.md +5 -0
- package/plugin/agents/scientific-computing.md +426 -0
- package/plugin/agents/scout.md +3 -0
- package/plugin/agents/security-auditor.md +7 -0
- package/plugin/agents/sprint-master.md +17 -0
- package/plugin/agents/tester.md +10 -0
- package/plugin/agents/ui-ux-designer.md +12 -0
- package/plugin/agents/vulnerability-scanner.md +6 -0
- package/plugin/commands/data/pipeline.md +47 -0
- package/plugin/commands/data/quality.md +49 -0
- package/plugin/commands/domain/analyze.md +34 -0
- package/plugin/commands/domain/map.md +41 -0
- package/plugin/commands/game/balance.md +56 -0
- package/plugin/commands/game/optimize.md +62 -0
- package/plugin/commands/iot/provision.md +58 -0
- package/plugin/commands/ml/evaluate.md +47 -0
- package/plugin/commands/ml/train.md +48 -0
- package/plugin/commands/perf/benchmark.md +54 -0
- package/plugin/commands/perf/profile.md +49 -0
- package/plugin/commands/platform/blueprint.md +56 -0
- package/plugin/commands/security/audit.md +54 -0
- package/plugin/commands/security/scan.md +55 -0
- package/plugin/commands/sre/dashboard.md +53 -0
- package/plugin/registry.yaml +711 -0
- package/plugin/skills/ai-ml/experiment-tracking/SKILL.md +338 -0
- package/plugin/skills/ai-ml/feature-stores/SKILL.md +340 -0
- package/plugin/skills/ai-ml/llm-ops/SKILL.md +454 -0
- package/plugin/skills/ai-ml/ml-pipelines/SKILL.md +390 -0
- package/plugin/skills/ai-ml/model-monitoring/SKILL.md +398 -0
- package/plugin/skills/ai-ml/model-serving/SKILL.md +386 -0
- package/plugin/skills/event-driven/cqrs-patterns/SKILL.md +348 -0
- package/plugin/skills/event-driven/event-sourcing/SKILL.md +334 -0
- package/plugin/skills/event-driven/kafka-deep/SKILL.md +252 -0
- package/plugin/skills/event-driven/saga-orchestration/SKILL.md +335 -0
- package/plugin/skills/event-driven/schema-registry/SKILL.md +328 -0
- package/plugin/skills/event-driven/stream-processing/SKILL.md +313 -0
- package/plugin/skills/game/game-audio/SKILL.md +446 -0
- package/plugin/skills/game/game-networking/SKILL.md +490 -0
- package/plugin/skills/game/godot-patterns/SKILL.md +413 -0
- package/plugin/skills/game/shader-programming/SKILL.md +492 -0
- package/plugin/skills/game/unity-patterns/SKILL.md +488 -0
- package/plugin/skills/iot/device-provisioning/SKILL.md +405 -0
- package/plugin/skills/iot/edge-computing/SKILL.md +369 -0
- package/plugin/skills/iot/industrial-protocols/SKILL.md +438 -0
- package/plugin/skills/iot/mqtt-deep/SKILL.md +418 -0
- package/plugin/skills/iot/ota-updates/SKILL.md +426 -0
- package/plugin/skills/microservices/api-gateway-patterns/SKILL.md +201 -0
- package/plugin/skills/microservices/circuit-breaker-patterns/SKILL.md +246 -0
- package/plugin/skills/microservices/contract-testing/SKILL.md +284 -0
- package/plugin/skills/microservices/distributed-tracing/SKILL.md +246 -0
- package/plugin/skills/microservices/service-discovery/SKILL.md +304 -0
- package/plugin/skills/microservices/service-mesh/SKILL.md +181 -0
- package/plugin/skills/mobile-advanced/mobile-ci-cd/SKILL.md +407 -0
- package/plugin/skills/mobile-advanced/mobile-security/SKILL.md +403 -0
- package/plugin/skills/mobile-advanced/offline-first/SKILL.md +473 -0
- package/plugin/skills/mobile-advanced/push-notifications/SKILL.md +494 -0
- package/plugin/skills/mobile-advanced/react-native-deep/SKILL.md +374 -0
- package/plugin/skills/simulation/numerical-methods/SKILL.md +434 -0
- package/plugin/skills/simulation/parallel-computing/SKILL.md +382 -0
- package/plugin/skills/simulation/physics-engines/SKILL.md +377 -0
- package/plugin/skills/simulation/validation-verification/SKILL.md +479 -0
- package/plugin/skills/simulation/visualization-scientific/SKILL.md +365 -0
- package/plugin/templates/autonomous/archetypes/event-driven-app.yaml +460 -0
- package/plugin/templates/autonomous/archetypes/microservices-app.yaml +431 -0
- package/plugin/templates/autonomous/state-schema.yaml +1 -1
- package/plugin/workflows/ai-engineering/agent-development.md +3 -3
- package/plugin/workflows/ai-engineering/fine-tuning.md +3 -3
- package/plugin/workflows/ai-engineering/model-evaluation.md +3 -3
- package/plugin/workflows/ai-engineering/prompt-engineering.md +2 -2
- package/plugin/workflows/ai-engineering/rag-development.md +4 -4
- package/plugin/workflows/ai-ml/data-pipeline.md +188 -0
- package/plugin/workflows/ai-ml/experiment-cycle.md +203 -0
- package/plugin/workflows/ai-ml/feature-engineering.md +208 -0
- package/plugin/workflows/ai-ml/model-deployment.md +199 -0
- package/plugin/workflows/ai-ml/monitoring-setup.md +227 -0
- package/plugin/workflows/api/api-design.md +1 -1
- package/plugin/workflows/api/api-testing.md +2 -2
- package/plugin/workflows/content/technical-docs.md +1 -1
- package/plugin/workflows/database/migration.md +1 -1
- package/plugin/workflows/database/optimization.md +1 -1
- package/plugin/workflows/database/schema-design.md +3 -3
- package/plugin/workflows/development/bug-fix.md +3 -3
- package/plugin/workflows/development/code-review.md +2 -1
- package/plugin/workflows/development/feature.md +3 -3
- package/plugin/workflows/development/refactor.md +2 -2
- package/plugin/workflows/event-driven/consumer-groups.md +190 -0
- package/plugin/workflows/event-driven/event-storming.md +172 -0
- package/plugin/workflows/event-driven/replay-testing.md +186 -0
- package/plugin/workflows/event-driven/saga-implementation.md +206 -0
- package/plugin/workflows/event-driven/schema-evolution.md +173 -0
- package/plugin/workflows/fullstack/authentication.md +4 -4
- package/plugin/workflows/fullstack/full-feature.md +4 -4
- package/plugin/workflows/game-dev/content-pipeline.md +218 -0
- package/plugin/workflows/game-dev/platform-submission.md +263 -0
- package/plugin/workflows/game-dev/playtesting.md +237 -0
- package/plugin/workflows/game-dev/prototype-to-production.md +205 -0
- package/plugin/workflows/microservices/contract-first.md +151 -0
- package/plugin/workflows/microservices/distributed-tracing.md +166 -0
- package/plugin/workflows/microservices/domain-decomposition.md +123 -0
- package/plugin/workflows/microservices/integration-testing.md +149 -0
- package/plugin/workflows/microservices/service-mesh-setup.md +153 -0
- package/plugin/workflows/microservices/service-scaffolding.md +151 -0
- package/plugin/workflows/omega/1000x-innovation.md +2 -2
- package/plugin/workflows/omega/100x-architecture.md +2 -2
- package/plugin/workflows/omega/10x-improvement.md +2 -2
- package/plugin/workflows/quality/performance-optimization.md +2 -2
- package/plugin/workflows/research/best-practices.md +1 -1
- package/plugin/workflows/research/technology-research.md +1 -1
- package/plugin/workflows/security/penetration-testing.md +3 -3
- package/plugin/workflows/security/security-audit.md +3 -3
- package/plugin/workflows/sprint/sprint-execution.md +2 -2
- package/plugin/workflows/sprint/sprint-retrospective.md +1 -1
- package/plugin/workflows/sprint/sprint-setup.md +1 -1
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
name: "Microservices Application"
|
|
2
|
+
id: microservices-app
|
|
3
|
+
description: "Distributed system with independently deployable services, API gateway, and container orchestration"
|
|
4
|
+
estimated_duration: "8-16 weeks"
|
|
5
|
+
icon: "cubes"
|
|
6
|
+
|
|
7
|
+
# Default technology recommendations
|
|
8
|
+
defaults:
|
|
9
|
+
language: typescript
|
|
10
|
+
framework: nestjs
|
|
11
|
+
gateway: kong
|
|
12
|
+
discovery: kubernetes_dns
|
|
13
|
+
containers: docker
|
|
14
|
+
orchestration: kubernetes
|
|
15
|
+
tracing: jaeger
|
|
16
|
+
metrics: prometheus
|
|
17
|
+
cicd: github_actions
|
|
18
|
+
|
|
19
|
+
# Alternative technology stacks
|
|
20
|
+
alternatives:
|
|
21
|
+
language:
|
|
22
|
+
- id: typescript
|
|
23
|
+
name: "TypeScript/Node.js"
|
|
24
|
+
description: "Fast development, good ecosystem"
|
|
25
|
+
- id: go
|
|
26
|
+
name: "Go"
|
|
27
|
+
description: "High performance, low resource usage"
|
|
28
|
+
- id: java
|
|
29
|
+
name: "Java (Spring Boot)"
|
|
30
|
+
description: "Enterprise-grade, Spring Cloud ecosystem"
|
|
31
|
+
- id: python
|
|
32
|
+
name: "Python (FastAPI)"
|
|
33
|
+
description: "Rapid development, async support"
|
|
34
|
+
|
|
35
|
+
framework:
|
|
36
|
+
- id: nestjs
|
|
37
|
+
name: "NestJS"
|
|
38
|
+
description: "Modular architecture, built-in microservices"
|
|
39
|
+
- id: express
|
|
40
|
+
name: "Express.js"
|
|
41
|
+
description: "Lightweight, flexible"
|
|
42
|
+
- id: spring_boot
|
|
43
|
+
name: "Spring Boot"
|
|
44
|
+
description: "Full-featured enterprise framework"
|
|
45
|
+
- id: fastapi
|
|
46
|
+
name: "FastAPI"
|
|
47
|
+
description: "Modern Python with automatic docs"
|
|
48
|
+
|
|
49
|
+
gateway:
|
|
50
|
+
- id: kong
|
|
51
|
+
name: "Kong"
|
|
52
|
+
description: "Powerful API gateway with plugins"
|
|
53
|
+
- id: traefik
|
|
54
|
+
name: "Traefik"
|
|
55
|
+
description: "Cloud-native, auto-discovery"
|
|
56
|
+
- id: nginx
|
|
57
|
+
name: "Nginx"
|
|
58
|
+
description: "High performance reverse proxy"
|
|
59
|
+
- id: aws_api_gateway
|
|
60
|
+
name: "AWS API Gateway"
|
|
61
|
+
description: "Managed, serverless option"
|
|
62
|
+
|
|
63
|
+
orchestration:
|
|
64
|
+
- id: kubernetes
|
|
65
|
+
name: "Kubernetes"
|
|
66
|
+
description: "Industry standard container orchestration"
|
|
67
|
+
- id: docker_swarm
|
|
68
|
+
name: "Docker Swarm"
|
|
69
|
+
description: "Simpler orchestration"
|
|
70
|
+
- id: ecs
|
|
71
|
+
name: "AWS ECS"
|
|
72
|
+
description: "Managed container service"
|
|
73
|
+
- id: nomad
|
|
74
|
+
name: "HashiCorp Nomad"
|
|
75
|
+
description: "Flexible workload orchestration"
|
|
76
|
+
|
|
77
|
+
# Phases of development
|
|
78
|
+
phases:
|
|
79
|
+
- id: discovery
|
|
80
|
+
name: "Domain Discovery"
|
|
81
|
+
description: "Identify bounded contexts, service boundaries, and domain decomposition"
|
|
82
|
+
order: 1
|
|
83
|
+
checkpoint: true
|
|
84
|
+
checkpoint_message: |
|
|
85
|
+
Domain discovery complete. Review:
|
|
86
|
+
- Bounded contexts and service boundaries
|
|
87
|
+
- Service dependency map
|
|
88
|
+
- Data ownership strategy
|
|
89
|
+
- Communication patterns
|
|
90
|
+
|
|
91
|
+
Approve to proceed with architecture design.
|
|
92
|
+
|
|
93
|
+
steps:
|
|
94
|
+
- id: domain_analysis
|
|
95
|
+
name: "Domain Analysis"
|
|
96
|
+
agent: researcher
|
|
97
|
+
description: "Analyze business domain using DDD principles"
|
|
98
|
+
|
|
99
|
+
- id: bounded_contexts
|
|
100
|
+
name: "Bounded Contexts"
|
|
101
|
+
agent: architect
|
|
102
|
+
description: "Identify bounded contexts and service boundaries"
|
|
103
|
+
|
|
104
|
+
- id: service_mapping
|
|
105
|
+
name: "Service Mapping"
|
|
106
|
+
agent: architect
|
|
107
|
+
description: "Map service dependencies and interactions"
|
|
108
|
+
|
|
109
|
+
- id: data_strategy
|
|
110
|
+
name: "Data Strategy"
|
|
111
|
+
agent: architect
|
|
112
|
+
description: "Define data ownership per service"
|
|
113
|
+
|
|
114
|
+
outputs:
|
|
115
|
+
- ".omgkit/generated/domain-model.md"
|
|
116
|
+
- ".omgkit/generated/service-map.md"
|
|
117
|
+
- ".omgkit/generated/data-ownership.md"
|
|
118
|
+
|
|
119
|
+
- id: architecture
|
|
120
|
+
name: "Architecture Design"
|
|
121
|
+
description: "Design system architecture, contracts, and communication patterns"
|
|
122
|
+
order: 2
|
|
123
|
+
checkpoint: true
|
|
124
|
+
checkpoint_message: |
|
|
125
|
+
Architecture design complete. Review:
|
|
126
|
+
- Service contracts (OpenAPI specs)
|
|
127
|
+
- API Gateway routing
|
|
128
|
+
- Communication patterns
|
|
129
|
+
- Deployment strategy
|
|
130
|
+
|
|
131
|
+
Approve to begin foundation setup.
|
|
132
|
+
|
|
133
|
+
steps:
|
|
134
|
+
- id: service_contracts
|
|
135
|
+
name: "Service Contracts"
|
|
136
|
+
agent: api-designer
|
|
137
|
+
description: "Define OpenAPI specs for each service"
|
|
138
|
+
|
|
139
|
+
- id: gateway_design
|
|
140
|
+
name: "Gateway Design"
|
|
141
|
+
agent: architect
|
|
142
|
+
description: "Design API Gateway routing and policies"
|
|
143
|
+
|
|
144
|
+
- id: communication_patterns
|
|
145
|
+
name: "Communication Patterns"
|
|
146
|
+
agent: architect
|
|
147
|
+
description: "Define sync/async communication"
|
|
148
|
+
|
|
149
|
+
- id: deployment_strategy
|
|
150
|
+
name: "Deployment Strategy"
|
|
151
|
+
agent: architect
|
|
152
|
+
description: "Design deployment and scaling approach"
|
|
153
|
+
|
|
154
|
+
outputs:
|
|
155
|
+
- ".omgkit/generated/architecture.md"
|
|
156
|
+
- ".omgkit/generated/api-contracts/"
|
|
157
|
+
- ".omgkit/generated/deployment-strategy.md"
|
|
158
|
+
|
|
159
|
+
- id: foundation
|
|
160
|
+
name: "Infrastructure Foundation"
|
|
161
|
+
description: "Set up containerization, orchestration, and shared infrastructure"
|
|
162
|
+
order: 3
|
|
163
|
+
checkpoint: false
|
|
164
|
+
|
|
165
|
+
steps:
|
|
166
|
+
- id: monorepo_setup
|
|
167
|
+
name: "Monorepo Setup"
|
|
168
|
+
agent: fullstack-developer
|
|
169
|
+
description: "Initialize monorepo structure"
|
|
170
|
+
|
|
171
|
+
- id: docker_config
|
|
172
|
+
name: "Docker Configuration"
|
|
173
|
+
agent: fullstack-developer
|
|
174
|
+
description: "Create Dockerfiles for services"
|
|
175
|
+
|
|
176
|
+
- id: kubernetes_manifests
|
|
177
|
+
name: "Kubernetes Manifests"
|
|
178
|
+
agent: fullstack-developer
|
|
179
|
+
description: "Create K8s deployments, services"
|
|
180
|
+
|
|
181
|
+
- id: gateway_setup
|
|
182
|
+
name: "API Gateway Setup"
|
|
183
|
+
agent: fullstack-developer
|
|
184
|
+
description: "Configure API gateway"
|
|
185
|
+
|
|
186
|
+
- id: shared_libraries
|
|
187
|
+
name: "Shared Libraries"
|
|
188
|
+
agent: fullstack-developer
|
|
189
|
+
description: "Create shared code packages"
|
|
190
|
+
|
|
191
|
+
outputs:
|
|
192
|
+
- "docker-compose.yml"
|
|
193
|
+
- "k8s/"
|
|
194
|
+
- "packages/shared/"
|
|
195
|
+
- "services/"
|
|
196
|
+
|
|
197
|
+
- id: core_services
|
|
198
|
+
name: "Core Services"
|
|
199
|
+
description: "Implement individual microservices"
|
|
200
|
+
order: 4
|
|
201
|
+
checkpoint: true
|
|
202
|
+
checkpoint_message: |
|
|
203
|
+
Core services implemented. Review:
|
|
204
|
+
- Service implementations
|
|
205
|
+
- API endpoints
|
|
206
|
+
- Health checks
|
|
207
|
+
- Database schemas
|
|
208
|
+
|
|
209
|
+
Approve to proceed with integration.
|
|
210
|
+
|
|
211
|
+
steps:
|
|
212
|
+
- id: service_scaffolding
|
|
213
|
+
name: "Service Scaffolding"
|
|
214
|
+
agent: fullstack-developer
|
|
215
|
+
description: "Create service boilerplates"
|
|
216
|
+
|
|
217
|
+
- id: service_implementation
|
|
218
|
+
name: "Service Implementation"
|
|
219
|
+
agent: fullstack-developer
|
|
220
|
+
description: "Implement business logic per service"
|
|
221
|
+
|
|
222
|
+
- id: database_per_service
|
|
223
|
+
name: "Database Per Service"
|
|
224
|
+
agent: database-admin
|
|
225
|
+
description: "Set up databases for each service"
|
|
226
|
+
|
|
227
|
+
- id: health_checks
|
|
228
|
+
name: "Health Checks"
|
|
229
|
+
agent: fullstack-developer
|
|
230
|
+
description: "Implement health and readiness probes"
|
|
231
|
+
|
|
232
|
+
- id: service_tests
|
|
233
|
+
name: "Service Tests"
|
|
234
|
+
agent: tester
|
|
235
|
+
description: "Unit tests for each service"
|
|
236
|
+
|
|
237
|
+
outputs:
|
|
238
|
+
- "services/*/src/"
|
|
239
|
+
- "services/*/tests/"
|
|
240
|
+
|
|
241
|
+
- id: integration
|
|
242
|
+
name: "Service Integration"
|
|
243
|
+
description: "Inter-service communication, tracing, and resilience"
|
|
244
|
+
order: 5
|
|
245
|
+
checkpoint: true
|
|
246
|
+
checkpoint_message: |
|
|
247
|
+
Integration complete. Review:
|
|
248
|
+
- Inter-service communication
|
|
249
|
+
- Distributed tracing
|
|
250
|
+
- Circuit breakers
|
|
251
|
+
- Error handling
|
|
252
|
+
|
|
253
|
+
Approve to proceed with testing.
|
|
254
|
+
|
|
255
|
+
steps:
|
|
256
|
+
- id: service_communication
|
|
257
|
+
name: "Service Communication"
|
|
258
|
+
agent: fullstack-developer
|
|
259
|
+
description: "Implement inter-service calls"
|
|
260
|
+
|
|
261
|
+
- id: distributed_tracing
|
|
262
|
+
name: "Distributed Tracing"
|
|
263
|
+
agent: fullstack-developer
|
|
264
|
+
description: "Set up Jaeger/Zipkin tracing"
|
|
265
|
+
|
|
266
|
+
- id: circuit_breakers
|
|
267
|
+
name: "Circuit Breakers"
|
|
268
|
+
agent: fullstack-developer
|
|
269
|
+
description: "Implement resilience patterns"
|
|
270
|
+
|
|
271
|
+
- id: retry_policies
|
|
272
|
+
name: "Retry Policies"
|
|
273
|
+
agent: fullstack-developer
|
|
274
|
+
description: "Configure retry and timeout policies"
|
|
275
|
+
|
|
276
|
+
outputs:
|
|
277
|
+
- "services/*/src/clients/"
|
|
278
|
+
- "packages/resilience/"
|
|
279
|
+
|
|
280
|
+
- id: testing
|
|
281
|
+
name: "Comprehensive Testing"
|
|
282
|
+
description: "Integration tests, contract tests, and chaos engineering"
|
|
283
|
+
order: 6
|
|
284
|
+
checkpoint: false
|
|
285
|
+
|
|
286
|
+
steps:
|
|
287
|
+
- id: integration_tests
|
|
288
|
+
name: "Integration Tests"
|
|
289
|
+
agent: tester
|
|
290
|
+
description: "Cross-service integration tests"
|
|
291
|
+
|
|
292
|
+
- id: contract_tests
|
|
293
|
+
name: "Contract Tests"
|
|
294
|
+
agent: tester
|
|
295
|
+
description: "Consumer-driven contract tests (Pact)"
|
|
296
|
+
|
|
297
|
+
- id: e2e_tests
|
|
298
|
+
name: "E2E Tests"
|
|
299
|
+
agent: tester
|
|
300
|
+
description: "End-to-end flow tests"
|
|
301
|
+
|
|
302
|
+
- id: load_tests
|
|
303
|
+
name: "Load Tests"
|
|
304
|
+
agent: tester
|
|
305
|
+
description: "Performance and load testing"
|
|
306
|
+
|
|
307
|
+
outputs:
|
|
308
|
+
- "tests/integration/"
|
|
309
|
+
- "tests/contracts/"
|
|
310
|
+
- "tests/e2e/"
|
|
311
|
+
- "tests/load/"
|
|
312
|
+
|
|
313
|
+
- id: devops
|
|
314
|
+
name: "DevOps & Deployment"
|
|
315
|
+
description: "CI/CD pipelines, monitoring, and production deployment"
|
|
316
|
+
order: 7
|
|
317
|
+
checkpoint: true
|
|
318
|
+
checkpoint_message: |
|
|
319
|
+
DevOps setup complete. Review:
|
|
320
|
+
- CI/CD pipelines per service
|
|
321
|
+
- Monitoring dashboards
|
|
322
|
+
- Alerting rules
|
|
323
|
+
- Deployment procedures
|
|
324
|
+
|
|
325
|
+
This is the final checkpoint.
|
|
326
|
+
|
|
327
|
+
steps:
|
|
328
|
+
- id: cicd_pipelines
|
|
329
|
+
name: "CI/CD Pipelines"
|
|
330
|
+
agent: cicd-manager
|
|
331
|
+
description: "Create pipelines per service"
|
|
332
|
+
|
|
333
|
+
- id: monitoring
|
|
334
|
+
name: "Monitoring Setup"
|
|
335
|
+
agent: fullstack-developer
|
|
336
|
+
description: "Prometheus metrics, Grafana dashboards"
|
|
337
|
+
|
|
338
|
+
- id: alerting
|
|
339
|
+
name: "Alerting"
|
|
340
|
+
agent: fullstack-developer
|
|
341
|
+
description: "Configure alerts for SLOs"
|
|
342
|
+
|
|
343
|
+
- id: deployment_docs
|
|
344
|
+
name: "Deployment Documentation"
|
|
345
|
+
agent: docs-manager
|
|
346
|
+
description: "Document deployment procedures"
|
|
347
|
+
|
|
348
|
+
outputs:
|
|
349
|
+
- ".github/workflows/"
|
|
350
|
+
- "monitoring/"
|
|
351
|
+
- "docs/deployment/"
|
|
352
|
+
|
|
353
|
+
# Autonomy rules for this archetype
|
|
354
|
+
autonomy_rules:
|
|
355
|
+
- pattern: "**/gateway/**"
|
|
356
|
+
level: 3
|
|
357
|
+
reason: "API Gateway is critical infrastructure"
|
|
358
|
+
- pattern: "**/k8s/**"
|
|
359
|
+
level: 3
|
|
360
|
+
reason: "Kubernetes manifests affect deployment"
|
|
361
|
+
- pattern: "**/kubernetes/**"
|
|
362
|
+
level: 3
|
|
363
|
+
reason: "Kubernetes config is critical"
|
|
364
|
+
- pattern: "**/shared/**"
|
|
365
|
+
level: 3
|
|
366
|
+
reason: "Shared libraries affect all services"
|
|
367
|
+
- pattern: "**/services/*/src/**"
|
|
368
|
+
level: 2
|
|
369
|
+
reason: "Service implementation needs review"
|
|
370
|
+
- pattern: "Dockerfile*"
|
|
371
|
+
level: 2
|
|
372
|
+
reason: "Container configuration"
|
|
373
|
+
- pattern: "**/migrations/**"
|
|
374
|
+
level: 3
|
|
375
|
+
reason: "Database migrations critical"
|
|
376
|
+
- pattern: ".env*"
|
|
377
|
+
level: 4
|
|
378
|
+
reason: "Environment secrets"
|
|
379
|
+
|
|
380
|
+
# Quality gates
|
|
381
|
+
quality_gates:
|
|
382
|
+
after_feature:
|
|
383
|
+
- "npm test"
|
|
384
|
+
- "npm run lint"
|
|
385
|
+
- "docker build --check"
|
|
386
|
+
before_checkpoint:
|
|
387
|
+
- "all service tests pass"
|
|
388
|
+
- "integration tests pass"
|
|
389
|
+
- "contract tests pass"
|
|
390
|
+
before_deploy:
|
|
391
|
+
- "load tests pass"
|
|
392
|
+
- "security scan clean"
|
|
393
|
+
- "all services healthy"
|
|
394
|
+
|
|
395
|
+
# Microservices-specific discovery questions
|
|
396
|
+
discovery_additions:
|
|
397
|
+
- category: "Domain"
|
|
398
|
+
questions:
|
|
399
|
+
- "What are the main business domains/capabilities?"
|
|
400
|
+
- "How many services do you envision?"
|
|
401
|
+
- "What are the bounded contexts?"
|
|
402
|
+
- "Which services have the most dependencies?"
|
|
403
|
+
- "Any existing monolith to decompose?"
|
|
404
|
+
|
|
405
|
+
- category: "Communication"
|
|
406
|
+
questions:
|
|
407
|
+
- "Synchronous (REST/gRPC) or asynchronous (events)?"
|
|
408
|
+
- "Need for event-driven patterns?"
|
|
409
|
+
- "API versioning strategy?"
|
|
410
|
+
- "Rate limiting requirements?"
|
|
411
|
+
|
|
412
|
+
- category: "Data"
|
|
413
|
+
questions:
|
|
414
|
+
- "Database per service or shared?"
|
|
415
|
+
- "Data consistency requirements (eventual ok?)?"
|
|
416
|
+
- "Need for distributed transactions?"
|
|
417
|
+
- "Data replication strategy?"
|
|
418
|
+
|
|
419
|
+
- category: "Infrastructure"
|
|
420
|
+
questions:
|
|
421
|
+
- "Cloud provider preference?"
|
|
422
|
+
- "Existing Kubernetes cluster?"
|
|
423
|
+
- "Container registry?"
|
|
424
|
+
- "Service mesh needed (Istio, Linkerd)?"
|
|
425
|
+
|
|
426
|
+
- category: "Team"
|
|
427
|
+
questions:
|
|
428
|
+
- "Team structure (aligned with services)?"
|
|
429
|
+
- "Deployment ownership model?"
|
|
430
|
+
- "On-call rotation?"
|
|
431
|
+
- "Experience with K8s?"
|
|
@@ -14,7 +14,7 @@ schema:
|
|
|
14
14
|
type:
|
|
15
15
|
type: string
|
|
16
16
|
required: true
|
|
17
|
-
enum: [saas, api, cli, library, fullstack, mobile, ai, desktop, iot, game, simulation]
|
|
17
|
+
enum: [saas, api, cli, library, fullstack, mobile, ai, desktop, iot, game, simulation, microservices, event_driven]
|
|
18
18
|
description: Type of project being built
|
|
19
19
|
|
|
20
20
|
archetype:
|
|
@@ -12,9 +12,9 @@ agents:
|
|
|
12
12
|
- tester
|
|
13
13
|
- security-auditor
|
|
14
14
|
skills:
|
|
15
|
-
- ai-agents
|
|
16
|
-
- ai-architecture
|
|
17
|
-
- guardrails-safety
|
|
15
|
+
- ai-engineering/ai-agents
|
|
16
|
+
- ai-engineering/ai-architecture
|
|
17
|
+
- ai-engineering/guardrails-safety
|
|
18
18
|
commands:
|
|
19
19
|
- /planning:research
|
|
20
20
|
- /planning:plan-detailed
|
|
@@ -10,9 +10,9 @@ agents:
|
|
|
10
10
|
- fullstack-developer
|
|
11
11
|
- tester
|
|
12
12
|
skills:
|
|
13
|
-
- finetuning
|
|
14
|
-
- dataset-engineering
|
|
15
|
-
- evaluation-methodology
|
|
13
|
+
- ai-engineering/finetuning
|
|
14
|
+
- ai-engineering/dataset-engineering
|
|
15
|
+
- ai-engineering/evaluation-methodology
|
|
16
16
|
commands:
|
|
17
17
|
- /planning:plan
|
|
18
18
|
- /dev:feature
|
|
@@ -9,9 +9,9 @@ agents:
|
|
|
9
9
|
- planner
|
|
10
10
|
- tester
|
|
11
11
|
skills:
|
|
12
|
-
- ai-system-evaluation
|
|
13
|
-
- evaluation-methodology
|
|
14
|
-
- dataset-engineering
|
|
12
|
+
- ai-engineering/ai-system-evaluation
|
|
13
|
+
- ai-engineering/evaluation-methodology
|
|
14
|
+
- ai-engineering/dataset-engineering
|
|
15
15
|
commands:
|
|
16
16
|
- /planning:plan
|
|
17
17
|
- /dev:test
|
|
@@ -11,10 +11,10 @@ agents:
|
|
|
11
11
|
- fullstack-developer
|
|
12
12
|
- tester
|
|
13
13
|
skills:
|
|
14
|
-
- rag-systems
|
|
15
|
-
- dataset-engineering
|
|
16
|
-
- evaluation-methodology
|
|
17
|
-
- ai-architecture
|
|
14
|
+
- ai-engineering/rag-systems
|
|
15
|
+
- ai-engineering/dataset-engineering
|
|
16
|
+
- ai-engineering/evaluation-methodology
|
|
17
|
+
- ai-engineering/ai-architecture
|
|
18
18
|
commands:
|
|
19
19
|
- /planning:research
|
|
20
20
|
- /planning:plan
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Build production data pipelines for ML training and inference
|
|
3
|
+
triggers:
|
|
4
|
+
- manual
|
|
5
|
+
- ml:data
|
|
6
|
+
agents:
|
|
7
|
+
- data-engineer
|
|
8
|
+
- ml-engineer
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Data Pipeline Workflow
|
|
12
|
+
|
|
13
|
+
Create robust data pipelines for ML systems.
|
|
14
|
+
|
|
15
|
+
## Prerequisites
|
|
16
|
+
- [ ] Data sources identified
|
|
17
|
+
- [ ] Data requirements defined
|
|
18
|
+
- [ ] Storage infrastructure available
|
|
19
|
+
|
|
20
|
+
## Phase 1: Data Source Integration
|
|
21
|
+
|
|
22
|
+
### Step 1.1: Identify Data Sources
|
|
23
|
+
```yaml
|
|
24
|
+
agent: data-engineer
|
|
25
|
+
action: catalog
|
|
26
|
+
sources:
|
|
27
|
+
- databases: PostgreSQL, MySQL, MongoDB
|
|
28
|
+
- data_lakes: S3, GCS, ADLS
|
|
29
|
+
- streaming: Kafka, Kinesis
|
|
30
|
+
- apis: REST, GraphQL
|
|
31
|
+
- files: CSV, Parquet, JSON
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Step 1.2: Create Data Connectors
|
|
35
|
+
```yaml
|
|
36
|
+
agent: data-engineer
|
|
37
|
+
action: implement
|
|
38
|
+
connectors:
|
|
39
|
+
- Source connectors
|
|
40
|
+
- Schema inference
|
|
41
|
+
- Incremental extraction
|
|
42
|
+
- Change data capture
|
|
43
|
+
tools:
|
|
44
|
+
- Airbyte
|
|
45
|
+
- Fivetran
|
|
46
|
+
- Custom extractors
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Phase 2: Data Transformation
|
|
50
|
+
|
|
51
|
+
### Step 2.1: Design Transformation DAG
|
|
52
|
+
```yaml
|
|
53
|
+
agent: data-engineer
|
|
54
|
+
action: design
|
|
55
|
+
pipeline_tool:
|
|
56
|
+
- Airflow
|
|
57
|
+
- Prefect
|
|
58
|
+
- Dagster
|
|
59
|
+
- dbt
|
|
60
|
+
transformations:
|
|
61
|
+
- Cleaning
|
|
62
|
+
- Normalization
|
|
63
|
+
- Feature engineering
|
|
64
|
+
- Aggregations
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Step 2.2: Implement Transformations
|
|
68
|
+
```yaml
|
|
69
|
+
agent: data-engineer
|
|
70
|
+
action: implement
|
|
71
|
+
best_practices:
|
|
72
|
+
- Idempotent operations
|
|
73
|
+
- Incremental processing
|
|
74
|
+
- Schema validation
|
|
75
|
+
- Data lineage tracking
|
|
76
|
+
frameworks:
|
|
77
|
+
- Spark
|
|
78
|
+
- Pandas
|
|
79
|
+
- dbt
|
|
80
|
+
- Polars
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Phase 3: Data Quality
|
|
84
|
+
|
|
85
|
+
### Step 3.1: Define Quality Rules
|
|
86
|
+
```yaml
|
|
87
|
+
agent: data-engineer
|
|
88
|
+
action: define
|
|
89
|
+
quality_dimensions:
|
|
90
|
+
- Completeness: No null required fields
|
|
91
|
+
- Accuracy: Values in valid ranges
|
|
92
|
+
- Consistency: Cross-field validation
|
|
93
|
+
- Timeliness: Data freshness
|
|
94
|
+
- Uniqueness: No duplicates
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Step 3.2: Implement Quality Checks
|
|
98
|
+
```yaml
|
|
99
|
+
agent: data-engineer
|
|
100
|
+
action: implement
|
|
101
|
+
tools:
|
|
102
|
+
- Great Expectations
|
|
103
|
+
- dbt tests
|
|
104
|
+
- Soda
|
|
105
|
+
- Custom validators
|
|
106
|
+
checks:
|
|
107
|
+
- Schema validation
|
|
108
|
+
- Statistical checks
|
|
109
|
+
- Anomaly detection
|
|
110
|
+
- Referential integrity
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Phase 4: Feature Store Integration
|
|
114
|
+
|
|
115
|
+
### Step 4.1: Define Features
|
|
116
|
+
```yaml
|
|
117
|
+
agent: ml-engineer
|
|
118
|
+
action: define
|
|
119
|
+
feature_types:
|
|
120
|
+
- Batch features (offline)
|
|
121
|
+
- Streaming features (online)
|
|
122
|
+
- On-demand features
|
|
123
|
+
metadata:
|
|
124
|
+
- Feature name
|
|
125
|
+
- Data type
|
|
126
|
+
- Description
|
|
127
|
+
- Owner
|
|
128
|
+
- Freshness SLA
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Step 4.2: Implement Feature Pipeline
|
|
132
|
+
```yaml
|
|
133
|
+
agent: data-engineer
|
|
134
|
+
action: implement
|
|
135
|
+
feature_store:
|
|
136
|
+
- Feast
|
|
137
|
+
- Tecton
|
|
138
|
+
- Vertex AI Feature Store
|
|
139
|
+
capabilities:
|
|
140
|
+
- Batch ingestion
|
|
141
|
+
- Stream ingestion
|
|
142
|
+
- Point-in-time correctness
|
|
143
|
+
- Online serving
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Phase 5: Pipeline Orchestration
|
|
147
|
+
|
|
148
|
+
### Step 5.1: Configure Scheduling
|
|
149
|
+
```yaml
|
|
150
|
+
agent: data-engineer
|
|
151
|
+
action: configure
|
|
152
|
+
scheduling:
|
|
153
|
+
batch_pipeline:
|
|
154
|
+
schedule: "0 2 * * *" # Daily at 2 AM
|
|
155
|
+
depends_on: source_data_available
|
|
156
|
+
streaming_pipeline:
|
|
157
|
+
trigger: continuous
|
|
158
|
+
checkpoint: s3://checkpoints/
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Step 5.2: Monitoring and Alerting
|
|
162
|
+
```yaml
|
|
163
|
+
agent: data-engineer
|
|
164
|
+
action: configure
|
|
165
|
+
monitoring:
|
|
166
|
+
- Pipeline success/failure
|
|
167
|
+
- Data quality metrics
|
|
168
|
+
- Processing latency
|
|
169
|
+
- Data freshness
|
|
170
|
+
alerts:
|
|
171
|
+
- Pipeline failure
|
|
172
|
+
- Quality threshold breach
|
|
173
|
+
- SLA violation
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## Outputs
|
|
177
|
+
- [ ] Data connectors
|
|
178
|
+
- [ ] Transformation DAG
|
|
179
|
+
- [ ] Quality checks
|
|
180
|
+
- [ ] Feature pipelines
|
|
181
|
+
- [ ] Monitoring dashboards
|
|
182
|
+
|
|
183
|
+
## Quality Gates
|
|
184
|
+
- All quality checks pass
|
|
185
|
+
- Pipeline runs successfully
|
|
186
|
+
- Data freshness within SLA
|
|
187
|
+
- No data loss
|
|
188
|
+
- Lineage tracked
|