omgkit 2.10.0 → 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/commands/workflow/1000x-innovation.md +61 -0
- package/plugin/commands/workflow/100x-architecture.md +60 -0
- package/plugin/commands/workflow/10x-improvement.md +63 -0
- package/plugin/commands/workflow/agent-development.md +60 -0
- package/plugin/commands/workflow/api-design.md +61 -0
- package/plugin/commands/workflow/api-testing.md +61 -0
- package/plugin/commands/workflow/authentication.md +60 -0
- package/plugin/commands/workflow/best-practices.md +61 -0
- package/plugin/commands/workflow/bug-fix.md +61 -0
- package/plugin/commands/workflow/code-review.md +52 -0
- package/plugin/commands/workflow/feature.md +73 -0
- package/plugin/commands/workflow/fine-tuning.md +60 -0
- package/plugin/commands/workflow/full-feature.md +70 -0
- package/plugin/commands/workflow/marketing.md +53 -0
- package/plugin/commands/workflow/migration.md +60 -0
- package/plugin/commands/workflow/model-evaluation.md +59 -0
- package/plugin/commands/workflow/optimization.md +60 -0
- package/plugin/commands/workflow/penetration-testing.md +60 -0
- package/plugin/commands/workflow/performance-optimization.md +60 -0
- package/plugin/commands/workflow/prompt-engineering.md +51 -0
- package/plugin/commands/workflow/rag-development.md +79 -0
- package/plugin/commands/workflow/refactor.md +59 -0
- package/plugin/commands/workflow/schema-design.md +70 -0
- package/plugin/commands/workflow/security-audit.md +61 -0
- package/plugin/commands/workflow/sprint-execution.md +65 -0
- package/plugin/commands/workflow/sprint-retrospective.md +61 -0
- package/plugin/commands/workflow/sprint-setup.md +64 -0
- package/plugin/commands/workflow/technical-docs.md +52 -0
- package/plugin/commands/workflow/technology-research.md +61 -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,244 @@
|
|
|
1
|
+
# Planning Workflow
|
|
2
|
+
# Design phase of autonomous project development
|
|
3
|
+
|
|
4
|
+
name: Planning
|
|
5
|
+
id: planning
|
|
6
|
+
description: Design system architecture, schema, and API from PRD
|
|
7
|
+
category: autonomous
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
|
|
10
|
+
# Workflow metadata
|
|
11
|
+
metadata:
|
|
12
|
+
phase: planning
|
|
13
|
+
order: 2
|
|
14
|
+
checkpoint: true
|
|
15
|
+
depends_on: [discovery]
|
|
16
|
+
estimated_duration: "15-30 minutes"
|
|
17
|
+
|
|
18
|
+
# Input requirements
|
|
19
|
+
inputs:
|
|
20
|
+
prd:
|
|
21
|
+
type: file
|
|
22
|
+
path: ".omgkit/generated/prd.md"
|
|
23
|
+
required: true
|
|
24
|
+
description: Product Requirements Document
|
|
25
|
+
|
|
26
|
+
technical_spec:
|
|
27
|
+
type: file
|
|
28
|
+
path: ".omgkit/generated/technical-spec.md"
|
|
29
|
+
required: true
|
|
30
|
+
description: Technical Specification
|
|
31
|
+
|
|
32
|
+
# Output artifacts
|
|
33
|
+
outputs:
|
|
34
|
+
- path: ".omgkit/generated/schema.sql"
|
|
35
|
+
description: Database schema
|
|
36
|
+
required: true
|
|
37
|
+
condition: "has_database"
|
|
38
|
+
|
|
39
|
+
- path: ".omgkit/generated/api-spec.md"
|
|
40
|
+
description: API specification
|
|
41
|
+
required: true
|
|
42
|
+
condition: "has_api"
|
|
43
|
+
|
|
44
|
+
- path: ".omgkit/generated/features.yaml"
|
|
45
|
+
description: Feature breakdown with implementation details
|
|
46
|
+
required: true
|
|
47
|
+
|
|
48
|
+
- path: ".omgkit/generated/wireframes.md"
|
|
49
|
+
description: UI wireframes
|
|
50
|
+
required: false
|
|
51
|
+
condition: "has_frontend"
|
|
52
|
+
|
|
53
|
+
# Workflow steps
|
|
54
|
+
steps:
|
|
55
|
+
- id: analyze_prd
|
|
56
|
+
name: Analyze PRD
|
|
57
|
+
description: Extract requirements from PRD
|
|
58
|
+
actions:
|
|
59
|
+
- Read PRD thoroughly
|
|
60
|
+
- Extract all features
|
|
61
|
+
- Identify data entities
|
|
62
|
+
- Map user flows
|
|
63
|
+
- Note integration points
|
|
64
|
+
|
|
65
|
+
- id: design_data_model
|
|
66
|
+
name: Design Data Model
|
|
67
|
+
description: Create database schema
|
|
68
|
+
condition: "has_database"
|
|
69
|
+
actions:
|
|
70
|
+
- Identify entities from features
|
|
71
|
+
- Define relationships
|
|
72
|
+
- Add timestamps and soft delete
|
|
73
|
+
- Create indexes
|
|
74
|
+
- Write schema.sql
|
|
75
|
+
output: ".omgkit/generated/schema.sql"
|
|
76
|
+
autonomy_level: 2
|
|
77
|
+
review_prompt: |
|
|
78
|
+
Review the database schema:
|
|
79
|
+
- Are all entities represented?
|
|
80
|
+
- Are relationships correct?
|
|
81
|
+
- Are indexes appropriate?
|
|
82
|
+
|
|
83
|
+
- id: design_api
|
|
84
|
+
name: Design API
|
|
85
|
+
description: Create API specification
|
|
86
|
+
condition: "has_api"
|
|
87
|
+
actions:
|
|
88
|
+
- Define endpoints for each feature
|
|
89
|
+
- Specify request/response formats
|
|
90
|
+
- Add authentication requirements
|
|
91
|
+
- Document error responses
|
|
92
|
+
- Write api-spec.md
|
|
93
|
+
output: ".omgkit/generated/api-spec.md"
|
|
94
|
+
autonomy_level: 2
|
|
95
|
+
review_prompt: |
|
|
96
|
+
Review the API specification:
|
|
97
|
+
- Are all CRUD operations covered?
|
|
98
|
+
- Is authentication handled?
|
|
99
|
+
- Are error codes defined?
|
|
100
|
+
|
|
101
|
+
- id: design_ui
|
|
102
|
+
name: Design UI Structure
|
|
103
|
+
description: Create wireframes and component list
|
|
104
|
+
condition: "has_frontend"
|
|
105
|
+
actions:
|
|
106
|
+
- Map user flows to pages
|
|
107
|
+
- Define component hierarchy
|
|
108
|
+
- Create ASCII wireframes
|
|
109
|
+
- List required components
|
|
110
|
+
- Write wireframes.md
|
|
111
|
+
output: ".omgkit/generated/wireframes.md"
|
|
112
|
+
autonomy_level: 1
|
|
113
|
+
|
|
114
|
+
- id: break_down_features
|
|
115
|
+
name: Break Down Features
|
|
116
|
+
description: Create detailed feature breakdown
|
|
117
|
+
actions:
|
|
118
|
+
- For each P0 feature:
|
|
119
|
+
- Define implementation steps
|
|
120
|
+
- List files to create/modify
|
|
121
|
+
- Specify tests needed
|
|
122
|
+
- Estimate complexity
|
|
123
|
+
- For each P1 feature:
|
|
124
|
+
- Define high-level approach
|
|
125
|
+
- List dependencies
|
|
126
|
+
- Write features.yaml
|
|
127
|
+
output: ".omgkit/generated/features.yaml"
|
|
128
|
+
schema: "plugin/templates/autonomous/features-schema.yaml"
|
|
129
|
+
|
|
130
|
+
- id: define_implementation_order
|
|
131
|
+
name: Define Implementation Order
|
|
132
|
+
description: Sequence features based on dependencies
|
|
133
|
+
actions:
|
|
134
|
+
- Build dependency graph
|
|
135
|
+
- Topological sort features
|
|
136
|
+
- Group by phase
|
|
137
|
+
- Identify parallel opportunities
|
|
138
|
+
|
|
139
|
+
- id: estimate_complexity
|
|
140
|
+
name: Estimate Complexity
|
|
141
|
+
description: Assess implementation complexity
|
|
142
|
+
actions:
|
|
143
|
+
- Rate each feature (trivial to very_high)
|
|
144
|
+
- Identify risk areas
|
|
145
|
+
- Flag potential blockers
|
|
146
|
+
- Note areas needing research
|
|
147
|
+
|
|
148
|
+
- id: update_state
|
|
149
|
+
name: Update State
|
|
150
|
+
description: Mark planning phase complete
|
|
151
|
+
actions:
|
|
152
|
+
- Update state.yaml
|
|
153
|
+
- Set phase to foundation
|
|
154
|
+
- Record planning decisions
|
|
155
|
+
- Set checkpoint pending
|
|
156
|
+
|
|
157
|
+
- id: checkpoint
|
|
158
|
+
name: Planning Checkpoint
|
|
159
|
+
description: Pause for design review
|
|
160
|
+
checkpoint: true
|
|
161
|
+
artifacts_to_review:
|
|
162
|
+
- ".omgkit/generated/schema.sql"
|
|
163
|
+
- ".omgkit/generated/api-spec.md"
|
|
164
|
+
- ".omgkit/generated/features.yaml"
|
|
165
|
+
actions:
|
|
166
|
+
- Display planning summary
|
|
167
|
+
- Show schema and API highlights
|
|
168
|
+
- Show feature breakdown
|
|
169
|
+
- Request approval to proceed
|
|
170
|
+
|
|
171
|
+
# Templates used
|
|
172
|
+
templates:
|
|
173
|
+
schema:
|
|
174
|
+
source: "plugin/templates/autonomous/schema-template.sql"
|
|
175
|
+
variables:
|
|
176
|
+
- entities
|
|
177
|
+
- relationships
|
|
178
|
+
- indexes
|
|
179
|
+
|
|
180
|
+
api_spec:
|
|
181
|
+
source: "plugin/templates/autonomous/api-spec-template.md"
|
|
182
|
+
variables:
|
|
183
|
+
- endpoints
|
|
184
|
+
- auth_type
|
|
185
|
+
- error_codes
|
|
186
|
+
|
|
187
|
+
features:
|
|
188
|
+
source: "plugin/templates/autonomous/features-schema.yaml"
|
|
189
|
+
variables:
|
|
190
|
+
- features
|
|
191
|
+
- priorities
|
|
192
|
+
- dependencies
|
|
193
|
+
|
|
194
|
+
# Quality checks
|
|
195
|
+
quality_checks:
|
|
196
|
+
- name: schema_valid
|
|
197
|
+
check: SQL syntax is valid
|
|
198
|
+
required: true
|
|
199
|
+
condition: "has_database"
|
|
200
|
+
|
|
201
|
+
- name: api_complete
|
|
202
|
+
check: All P0 features have endpoints
|
|
203
|
+
required: true
|
|
204
|
+
condition: "has_api"
|
|
205
|
+
|
|
206
|
+
- name: features_sequenced
|
|
207
|
+
check: No circular dependencies
|
|
208
|
+
required: true
|
|
209
|
+
|
|
210
|
+
- name: complexity_assessed
|
|
211
|
+
check: All features have complexity rating
|
|
212
|
+
required: true
|
|
213
|
+
|
|
214
|
+
# Decision points
|
|
215
|
+
decisions:
|
|
216
|
+
- id: database_indexing
|
|
217
|
+
description: Index strategy for primary queries
|
|
218
|
+
autonomy_level: 2
|
|
219
|
+
options:
|
|
220
|
+
- name: Minimal indexes
|
|
221
|
+
description: Only primary keys and foreign keys
|
|
222
|
+
- name: Query-optimized
|
|
223
|
+
description: Indexes based on expected query patterns
|
|
224
|
+
- name: Full coverage
|
|
225
|
+
description: Index all frequently queried columns
|
|
226
|
+
|
|
227
|
+
- id: api_versioning
|
|
228
|
+
description: API versioning strategy
|
|
229
|
+
autonomy_level: 2
|
|
230
|
+
options:
|
|
231
|
+
- name: URL path
|
|
232
|
+
description: /api/v1/resource
|
|
233
|
+
- name: Header
|
|
234
|
+
description: API-Version header
|
|
235
|
+
- name: No versioning
|
|
236
|
+
description: Single version initially
|
|
237
|
+
|
|
238
|
+
# Success criteria
|
|
239
|
+
success_criteria:
|
|
240
|
+
- Database schema covers all entities
|
|
241
|
+
- API endpoints cover all features
|
|
242
|
+
- Features have implementation details
|
|
243
|
+
- Dependencies are mapped
|
|
244
|
+
- Complexity is estimated
|