omgkit 2.10.1 → 2.11.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/package.json +2 -1
- package/plugin/agents/autonomous-orchestrator.yaml +215 -0
- package/plugin/commands/auto/approve.md +258 -0
- package/plugin/commands/auto/checkpoint.md +253 -0
- package/plugin/commands/auto/init.md +236 -0
- package/plugin/commands/auto/next.md +278 -0
- package/plugin/commands/auto/reject.md +278 -0
- package/plugin/commands/auto/resume.md +233 -0
- package/plugin/commands/auto/start.md +212 -0
- package/plugin/commands/auto/status.md +212 -0
- package/plugin/commands/auto/verify.md +353 -0
- package/plugin/skills/autonomous/project-orchestration/SKILL.md +332 -0
- package/plugin/templates/autonomous/archetypes/api-service.yaml +78 -0
- package/plugin/templates/autonomous/archetypes/cli-tool.yaml +67 -0
- package/plugin/templates/autonomous/archetypes/fullstack-app.yaml +97 -0
- package/plugin/templates/autonomous/archetypes/library.yaml +64 -0
- package/plugin/templates/autonomous/archetypes/saas-mvp.yaml +417 -0
- package/plugin/templates/autonomous/decision-framework.yaml +337 -0
- package/plugin/templates/autonomous/discovery-questions.yaml +795 -0
- package/plugin/templates/autonomous/features-schema.yaml +254 -0
- package/plugin/templates/autonomous/memory-system.yaml +298 -0
- package/plugin/templates/autonomous/prd-template.md +251 -0
- package/plugin/templates/autonomous/state-schema.yaml +383 -0
- package/plugin/workflows/autonomous/discovery.yaml +232 -0
- package/plugin/workflows/autonomous/execution.yaml +275 -0
- package/plugin/workflows/autonomous/planning.yaml +244 -0
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
name: "SaaS MVP"
|
|
2
|
+
id: saas-mvp
|
|
3
|
+
description: "Multi-tenant SaaS application with authentication, core features, and optional payments"
|
|
4
|
+
estimated_duration: "2-4 weeks"
|
|
5
|
+
icon: "cloud"
|
|
6
|
+
|
|
7
|
+
# Default technology recommendations
|
|
8
|
+
defaults:
|
|
9
|
+
frontend: nextjs
|
|
10
|
+
backend: nextjs_api
|
|
11
|
+
database: postgresql
|
|
12
|
+
auth: nextauth
|
|
13
|
+
hosting: vercel
|
|
14
|
+
payments: stripe
|
|
15
|
+
styling: tailwindcss
|
|
16
|
+
components: shadcn
|
|
17
|
+
|
|
18
|
+
# Phases of development
|
|
19
|
+
phases:
|
|
20
|
+
#############################################################################
|
|
21
|
+
# PHASE 1: DISCOVERY
|
|
22
|
+
#############################################################################
|
|
23
|
+
- id: discovery
|
|
24
|
+
name: "Discovery & Requirements"
|
|
25
|
+
description: "Gather and document all requirements"
|
|
26
|
+
order: 1
|
|
27
|
+
checkpoint: true
|
|
28
|
+
checkpoint_message: |
|
|
29
|
+
Discovery is complete. Please review the generated PRD and technical specification.
|
|
30
|
+
|
|
31
|
+
Approve to proceed with planning, or provide feedback to refine requirements.
|
|
32
|
+
|
|
33
|
+
steps:
|
|
34
|
+
- id: requirements_gathering
|
|
35
|
+
name: "Requirements Gathering"
|
|
36
|
+
agent: planner
|
|
37
|
+
command: "/auto:init"
|
|
38
|
+
description: "Conduct structured discovery interview"
|
|
39
|
+
|
|
40
|
+
- id: prd_generation
|
|
41
|
+
name: "PRD Generation"
|
|
42
|
+
agent: planner
|
|
43
|
+
description: "Generate PRD from discovery answers"
|
|
44
|
+
|
|
45
|
+
- id: tech_spec
|
|
46
|
+
name: "Technical Specification"
|
|
47
|
+
agent: architect
|
|
48
|
+
description: "Create technical specification based on PRD"
|
|
49
|
+
|
|
50
|
+
outputs:
|
|
51
|
+
- ".omgkit/generated/prd.md"
|
|
52
|
+
- ".omgkit/generated/technical-spec.md"
|
|
53
|
+
- ".omgkit/state.yaml"
|
|
54
|
+
|
|
55
|
+
#############################################################################
|
|
56
|
+
# PHASE 2: PLANNING
|
|
57
|
+
#############################################################################
|
|
58
|
+
- id: planning
|
|
59
|
+
name: "Architecture & Design"
|
|
60
|
+
description: "Design the system architecture and data models"
|
|
61
|
+
order: 2
|
|
62
|
+
checkpoint: true
|
|
63
|
+
checkpoint_message: |
|
|
64
|
+
Architecture and design phase is complete. Review:
|
|
65
|
+
- Database schema
|
|
66
|
+
- API design
|
|
67
|
+
- System architecture
|
|
68
|
+
|
|
69
|
+
Approve to begin implementation.
|
|
70
|
+
|
|
71
|
+
steps:
|
|
72
|
+
- id: database_design
|
|
73
|
+
name: "Database Schema Design"
|
|
74
|
+
agent: database-admin
|
|
75
|
+
workflow: schema-design
|
|
76
|
+
description: "Design the database schema"
|
|
77
|
+
|
|
78
|
+
- id: api_design
|
|
79
|
+
name: "API Design"
|
|
80
|
+
agent: api-designer
|
|
81
|
+
workflow: api-design
|
|
82
|
+
description: "Design the REST/GraphQL API"
|
|
83
|
+
|
|
84
|
+
- id: architecture
|
|
85
|
+
name: "System Architecture"
|
|
86
|
+
agent: architect
|
|
87
|
+
description: "Define system architecture and component structure"
|
|
88
|
+
|
|
89
|
+
- id: sprint_planning
|
|
90
|
+
name: "Sprint Planning"
|
|
91
|
+
agent: sprint-master
|
|
92
|
+
description: "Break down work into sprints"
|
|
93
|
+
|
|
94
|
+
outputs:
|
|
95
|
+
- ".omgkit/generated/schema.sql"
|
|
96
|
+
- ".omgkit/generated/openapi.yaml"
|
|
97
|
+
- ".omgkit/generated/architecture.md"
|
|
98
|
+
- ".omgkit/generated/sprint-plan.md"
|
|
99
|
+
|
|
100
|
+
#############################################################################
|
|
101
|
+
# PHASE 3: FOUNDATION
|
|
102
|
+
#############################################################################
|
|
103
|
+
- id: foundation
|
|
104
|
+
name: "Project Foundation"
|
|
105
|
+
description: "Set up project structure and core infrastructure"
|
|
106
|
+
order: 3
|
|
107
|
+
|
|
108
|
+
features:
|
|
109
|
+
- id: project_setup
|
|
110
|
+
name: "Project Scaffolding"
|
|
111
|
+
auto: true
|
|
112
|
+
checkpoint: false
|
|
113
|
+
steps:
|
|
114
|
+
- agent: fullstack-developer
|
|
115
|
+
action: "Initialize project with chosen stack"
|
|
116
|
+
- agent: fullstack-developer
|
|
117
|
+
action: "Set up development environment"
|
|
118
|
+
- agent: fullstack-developer
|
|
119
|
+
action: "Configure linting, formatting, TypeScript"
|
|
120
|
+
- agent: tester
|
|
121
|
+
action: "Set up testing framework"
|
|
122
|
+
|
|
123
|
+
- id: database_setup
|
|
124
|
+
name: "Database Setup"
|
|
125
|
+
auto: true
|
|
126
|
+
checkpoint: false
|
|
127
|
+
steps:
|
|
128
|
+
- agent: database-admin
|
|
129
|
+
action: "Set up database connection"
|
|
130
|
+
- agent: database-admin
|
|
131
|
+
action: "Create initial migrations"
|
|
132
|
+
- agent: database-admin
|
|
133
|
+
action: "Set up ORM/query builder"
|
|
134
|
+
|
|
135
|
+
- id: authentication
|
|
136
|
+
name: "Authentication System"
|
|
137
|
+
checkpoint: true
|
|
138
|
+
checkpoint_message: "Authentication system complete. Review before proceeding."
|
|
139
|
+
workflows:
|
|
140
|
+
- authentication
|
|
141
|
+
- test
|
|
142
|
+
- code-review
|
|
143
|
+
steps:
|
|
144
|
+
- agent: fullstack-developer
|
|
145
|
+
action: "Implement authentication"
|
|
146
|
+
- agent: tester
|
|
147
|
+
action: "Write auth tests"
|
|
148
|
+
- agent: security-auditor
|
|
149
|
+
action: "Review auth security"
|
|
150
|
+
|
|
151
|
+
#############################################################################
|
|
152
|
+
# PHASE 4: CORE FEATURES
|
|
153
|
+
#############################################################################
|
|
154
|
+
- id: core
|
|
155
|
+
name: "Core Features"
|
|
156
|
+
description: "Implement main application features"
|
|
157
|
+
order: 4
|
|
158
|
+
dynamic: true # Features come from PRD
|
|
159
|
+
|
|
160
|
+
per_feature:
|
|
161
|
+
workflows:
|
|
162
|
+
- feature
|
|
163
|
+
- test
|
|
164
|
+
- code-review
|
|
165
|
+
|
|
166
|
+
checkpoint_conditions:
|
|
167
|
+
- pattern: "**/payment*/**"
|
|
168
|
+
message: "Payment feature complete. Security review required."
|
|
169
|
+
- pattern: "**/auth*/**"
|
|
170
|
+
message: "Auth-related feature complete. Security review required."
|
|
171
|
+
- flag: security-critical
|
|
172
|
+
message: "Security-critical feature. Review required."
|
|
173
|
+
- flag: user-data
|
|
174
|
+
message: "Feature handles user data. Privacy review required."
|
|
175
|
+
|
|
176
|
+
quality_gates:
|
|
177
|
+
- command: "npm run test"
|
|
178
|
+
required: true
|
|
179
|
+
- command: "npm run lint"
|
|
180
|
+
required: true
|
|
181
|
+
- command: "npm run typecheck"
|
|
182
|
+
required: true
|
|
183
|
+
|
|
184
|
+
#############################################################################
|
|
185
|
+
# PHASE 5: PAYMENTS (OPTIONAL)
|
|
186
|
+
#############################################################################
|
|
187
|
+
- id: payments
|
|
188
|
+
name: "Payment Integration"
|
|
189
|
+
description: "Integrate payment processing"
|
|
190
|
+
order: 5
|
|
191
|
+
condition: "has_payments"
|
|
192
|
+
checkpoint: true
|
|
193
|
+
checkpoint_message: |
|
|
194
|
+
Payment integration complete. This is a critical feature.
|
|
195
|
+
|
|
196
|
+
Please review:
|
|
197
|
+
- Stripe integration
|
|
198
|
+
- Subscription handling
|
|
199
|
+
- Webhook processing
|
|
200
|
+
- Security measures
|
|
201
|
+
|
|
202
|
+
features:
|
|
203
|
+
- id: stripe_setup
|
|
204
|
+
name: "Stripe Setup"
|
|
205
|
+
steps:
|
|
206
|
+
- agent: fullstack-developer
|
|
207
|
+
action: "Install and configure Stripe SDK"
|
|
208
|
+
- agent: fullstack-developer
|
|
209
|
+
action: "Set up webhook endpoint"
|
|
210
|
+
|
|
211
|
+
- id: checkout
|
|
212
|
+
name: "Checkout Flow"
|
|
213
|
+
steps:
|
|
214
|
+
- agent: fullstack-developer
|
|
215
|
+
action: "Implement checkout session creation"
|
|
216
|
+
- agent: fullstack-developer
|
|
217
|
+
action: "Handle successful payments"
|
|
218
|
+
|
|
219
|
+
- id: subscriptions
|
|
220
|
+
name: "Subscription Management"
|
|
221
|
+
condition: "business_model == subscription"
|
|
222
|
+
steps:
|
|
223
|
+
- agent: fullstack-developer
|
|
224
|
+
action: "Implement subscription creation"
|
|
225
|
+
- agent: fullstack-developer
|
|
226
|
+
action: "Handle subscription changes"
|
|
227
|
+
- agent: fullstack-developer
|
|
228
|
+
action: "Implement cancellation flow"
|
|
229
|
+
|
|
230
|
+
- id: billing_portal
|
|
231
|
+
name: "Customer Portal"
|
|
232
|
+
steps:
|
|
233
|
+
- agent: fullstack-developer
|
|
234
|
+
action: "Set up Stripe customer portal"
|
|
235
|
+
|
|
236
|
+
workflows:
|
|
237
|
+
- payment-integration
|
|
238
|
+
- test
|
|
239
|
+
- security-audit
|
|
240
|
+
|
|
241
|
+
#############################################################################
|
|
242
|
+
# PHASE 6: HARDENING
|
|
243
|
+
#############################################################################
|
|
244
|
+
- id: hardening
|
|
245
|
+
name: "Security & Performance"
|
|
246
|
+
description: "Harden the application for production"
|
|
247
|
+
order: 6
|
|
248
|
+
checkpoint: true
|
|
249
|
+
checkpoint_message: |
|
|
250
|
+
Hardening complete. Review security and performance reports before deployment.
|
|
251
|
+
|
|
252
|
+
steps:
|
|
253
|
+
- id: security_audit
|
|
254
|
+
name: "Security Audit"
|
|
255
|
+
agent: security-auditor
|
|
256
|
+
workflow: security-audit
|
|
257
|
+
|
|
258
|
+
- id: performance_optimization
|
|
259
|
+
name: "Performance Optimization"
|
|
260
|
+
agent: fullstack-developer
|
|
261
|
+
workflow: performance-optimization
|
|
262
|
+
|
|
263
|
+
- id: error_handling
|
|
264
|
+
name: "Error Handling & Logging"
|
|
265
|
+
agent: fullstack-developer
|
|
266
|
+
description: "Implement comprehensive error handling"
|
|
267
|
+
|
|
268
|
+
- id: monitoring_setup
|
|
269
|
+
name: "Monitoring Setup"
|
|
270
|
+
agent: fullstack-developer
|
|
271
|
+
description: "Set up monitoring and alerting"
|
|
272
|
+
|
|
273
|
+
#############################################################################
|
|
274
|
+
# PHASE 7: DEPLOYMENT
|
|
275
|
+
#############################################################################
|
|
276
|
+
- id: deployment
|
|
277
|
+
name: "Deployment"
|
|
278
|
+
description: "Deploy to production"
|
|
279
|
+
order: 7
|
|
280
|
+
checkpoint: true
|
|
281
|
+
checkpoint_message: |
|
|
282
|
+
Ready for deployment!
|
|
283
|
+
|
|
284
|
+
Pre-deployment checklist:
|
|
285
|
+
- All tests passing
|
|
286
|
+
- Security audit complete
|
|
287
|
+
- Performance optimized
|
|
288
|
+
- Monitoring configured
|
|
289
|
+
|
|
290
|
+
Approve to deploy to production.
|
|
291
|
+
|
|
292
|
+
steps:
|
|
293
|
+
- id: environment_setup
|
|
294
|
+
name: "Environment Setup"
|
|
295
|
+
agent: cicd-manager
|
|
296
|
+
description: "Configure production environment"
|
|
297
|
+
|
|
298
|
+
- id: ci_cd_setup
|
|
299
|
+
name: "CI/CD Pipeline"
|
|
300
|
+
agent: cicd-manager
|
|
301
|
+
description: "Set up deployment pipeline"
|
|
302
|
+
|
|
303
|
+
- id: staging_deploy
|
|
304
|
+
name: "Staging Deployment"
|
|
305
|
+
agent: cicd-manager
|
|
306
|
+
description: "Deploy to staging environment"
|
|
307
|
+
|
|
308
|
+
- id: production_deploy
|
|
309
|
+
name: "Production Deployment"
|
|
310
|
+
agent: cicd-manager
|
|
311
|
+
checkpoint: true
|
|
312
|
+
description: "Deploy to production"
|
|
313
|
+
|
|
314
|
+
# Quality gates that run automatically
|
|
315
|
+
quality_gates:
|
|
316
|
+
after_code_change:
|
|
317
|
+
- command: "npm run typecheck"
|
|
318
|
+
name: "Type Check"
|
|
319
|
+
required: true
|
|
320
|
+
- command: "npm run lint"
|
|
321
|
+
name: "Linting"
|
|
322
|
+
required: false # Warn but don't block
|
|
323
|
+
|
|
324
|
+
after_feature:
|
|
325
|
+
- command: "npm run test"
|
|
326
|
+
name: "Unit Tests"
|
|
327
|
+
required: true
|
|
328
|
+
- command: "npm run test:coverage"
|
|
329
|
+
name: "Coverage Check"
|
|
330
|
+
threshold: 80
|
|
331
|
+
required: false
|
|
332
|
+
|
|
333
|
+
before_checkpoint:
|
|
334
|
+
- command: "npm run build"
|
|
335
|
+
name: "Build"
|
|
336
|
+
required: true
|
|
337
|
+
- command: "npm run test"
|
|
338
|
+
name: "All Tests"
|
|
339
|
+
required: true
|
|
340
|
+
- command: "npm run security:scan"
|
|
341
|
+
name: "Security Scan"
|
|
342
|
+
required: true
|
|
343
|
+
|
|
344
|
+
before_deploy:
|
|
345
|
+
- all_tests_pass: true
|
|
346
|
+
- coverage_threshold: 80
|
|
347
|
+
- no_critical_vulnerabilities: true
|
|
348
|
+
- changelog_updated: true
|
|
349
|
+
|
|
350
|
+
# Autonomy configuration
|
|
351
|
+
autonomy:
|
|
352
|
+
default_level: 1 # Notify by default
|
|
353
|
+
|
|
354
|
+
rules:
|
|
355
|
+
# Full auto (Level 0)
|
|
356
|
+
- patterns:
|
|
357
|
+
- "*.md"
|
|
358
|
+
- "*.json"
|
|
359
|
+
- ".eslintrc*"
|
|
360
|
+
- ".prettierrc*"
|
|
361
|
+
level: 0
|
|
362
|
+
reason: "Configuration and documentation"
|
|
363
|
+
|
|
364
|
+
# Notify (Level 1)
|
|
365
|
+
- patterns:
|
|
366
|
+
- "**/*.test.*"
|
|
367
|
+
- "**/*.spec.*"
|
|
368
|
+
level: 1
|
|
369
|
+
reason: "Test files"
|
|
370
|
+
|
|
371
|
+
# Confirm (Level 2)
|
|
372
|
+
- actions:
|
|
373
|
+
- "npm install"
|
|
374
|
+
- "pnpm add"
|
|
375
|
+
level: 2
|
|
376
|
+
reason: "New dependencies"
|
|
377
|
+
|
|
378
|
+
- patterns:
|
|
379
|
+
- "**/api/**"
|
|
380
|
+
- "**/routes/**"
|
|
381
|
+
level: 2
|
|
382
|
+
reason: "API changes"
|
|
383
|
+
|
|
384
|
+
# Checkpoint (Level 3)
|
|
385
|
+
- patterns:
|
|
386
|
+
- "**/migrations/**"
|
|
387
|
+
- "**/schema.*"
|
|
388
|
+
level: 3
|
|
389
|
+
reason: "Database changes"
|
|
390
|
+
|
|
391
|
+
- patterns:
|
|
392
|
+
- "**/auth/**"
|
|
393
|
+
- "**/login/**"
|
|
394
|
+
- "**/signup/**"
|
|
395
|
+
level: 3
|
|
396
|
+
reason: "Authentication code"
|
|
397
|
+
|
|
398
|
+
- patterns:
|
|
399
|
+
- "**/payment*/**"
|
|
400
|
+
- "**/billing/**"
|
|
401
|
+
- "**/subscription*/**"
|
|
402
|
+
level: 3
|
|
403
|
+
reason: "Payment code"
|
|
404
|
+
|
|
405
|
+
# Block (Level 4)
|
|
406
|
+
- actions:
|
|
407
|
+
- "delete"
|
|
408
|
+
- "rm -rf"
|
|
409
|
+
- "drop table"
|
|
410
|
+
level: 4
|
|
411
|
+
reason: "Destructive operations"
|
|
412
|
+
|
|
413
|
+
- patterns:
|
|
414
|
+
- ".env*"
|
|
415
|
+
- "**/secrets/**"
|
|
416
|
+
level: 4
|
|
417
|
+
reason: "Secrets and credentials"
|