omgkit 2.10.1 → 2.12.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.
Files changed (35) hide show
  1. package/README.md +46 -1
  2. package/package.json +2 -1
  3. package/plugin/agents/autonomous-orchestrator.yaml +215 -0
  4. package/plugin/commands/auto/approve.md +258 -0
  5. package/plugin/commands/auto/checkpoint.md +253 -0
  6. package/plugin/commands/auto/init.md +236 -0
  7. package/plugin/commands/auto/next.md +278 -0
  8. package/plugin/commands/auto/reject.md +278 -0
  9. package/plugin/commands/auto/resume.md +233 -0
  10. package/plugin/commands/auto/start.md +212 -0
  11. package/plugin/commands/auto/status.md +212 -0
  12. package/plugin/commands/auto/verify.md +353 -0
  13. package/plugin/skills/autonomous/project-orchestration/SKILL.md +332 -0
  14. package/plugin/templates/autonomous/archetypes/ai-model-building.yaml +443 -0
  15. package/plugin/templates/autonomous/archetypes/ai-powered-app.yaml +420 -0
  16. package/plugin/templates/autonomous/archetypes/api-service.yaml +78 -0
  17. package/plugin/templates/autonomous/archetypes/cli-tool.yaml +67 -0
  18. package/plugin/templates/autonomous/archetypes/desktop-app.yaml +371 -0
  19. package/plugin/templates/autonomous/archetypes/fullstack-app.yaml +97 -0
  20. package/plugin/templates/autonomous/archetypes/game-app.yaml +428 -0
  21. package/plugin/templates/autonomous/archetypes/iot-app.yaml +415 -0
  22. package/plugin/templates/autonomous/archetypes/library.yaml +64 -0
  23. package/plugin/templates/autonomous/archetypes/mobile-app.yaml +356 -0
  24. package/plugin/templates/autonomous/archetypes/saas-mvp.yaml +417 -0
  25. package/plugin/templates/autonomous/archetypes/simulation-app.yaml +428 -0
  26. package/plugin/templates/autonomous/artifacts-schema.yaml +465 -0
  27. package/plugin/templates/autonomous/decision-framework.yaml +337 -0
  28. package/plugin/templates/autonomous/discovery-questions.yaml +795 -0
  29. package/plugin/templates/autonomous/features-schema.yaml +254 -0
  30. package/plugin/templates/autonomous/memory-system.yaml +298 -0
  31. package/plugin/templates/autonomous/prd-template.md +251 -0
  32. package/plugin/templates/autonomous/state-schema.yaml +487 -0
  33. package/plugin/workflows/autonomous/discovery.yaml +232 -0
  34. package/plugin/workflows/autonomous/execution.yaml +275 -0
  35. package/plugin/workflows/autonomous/planning.yaml +244 -0
@@ -0,0 +1,253 @@
1
+ ---
2
+ description: Force a checkpoint for review
3
+ allowed-tools: Read, Write
4
+ argument-hint: "[<reason>]"
5
+ ---
6
+
7
+ # Force Checkpoint
8
+
9
+ Create a manual checkpoint to pause execution and request review.
10
+
11
+ ## Usage
12
+
13
+ ### Basic Checkpoint
14
+ ```bash
15
+ /auto:checkpoint
16
+ ```
17
+
18
+ ### Checkpoint with Reason
19
+ ```bash
20
+ /auto:checkpoint "Want to review before implementing payments"
21
+ ```
22
+
23
+ ## When to Use
24
+
25
+ Use `/auto:checkpoint` when you want to:
26
+ - Review progress before a critical section
27
+ - Discuss approach before continuing
28
+ - Take a break and ensure state is saved
29
+ - Review generated code quality
30
+ - Validate direction before more work
31
+
32
+ ## Checkpoint Process
33
+
34
+ ### 1. Save Current State
35
+
36
+ Capture complete state snapshot:
37
+ ```yaml
38
+ checkpoint:
39
+ pending: true
40
+ type: "manual"
41
+ reason: "Want to review before implementing payments"
42
+ timestamp: "2024-01-15T10:30:00Z"
43
+
44
+ snapshot:
45
+ phase: "backend"
46
+ feature: "user_authentication"
47
+ step: "implement_password_reset"
48
+ progress_percentage: 45
49
+
50
+ files_modified_since_last_checkpoint:
51
+ - "src/services/user.service.ts"
52
+ - "src/utils/password.ts"
53
+ - "src/routes/auth.routes.ts"
54
+ ```
55
+
56
+ ### 2. Run Quality Gates
57
+
58
+ Execute any applicable quality gates:
59
+ ```yaml
60
+ quality_gates_run:
61
+ - name: "npm test"
62
+ status: "passed"
63
+ duration: "4.2s"
64
+ - name: "npm run build"
65
+ status: "passed"
66
+ duration: "8.1s"
67
+ ```
68
+
69
+ ### 3. Generate Summary
70
+
71
+ Create checkpoint summary with:
72
+ - Work completed since last checkpoint
73
+ - Current state
74
+ - Pending work
75
+ - Any issues or decisions needed
76
+
77
+ ### 4. Update State
78
+
79
+ ```yaml
80
+ status: "checkpoint"
81
+ checkpoint:
82
+ pending: true
83
+ # ... checkpoint data
84
+ ```
85
+
86
+ ## Output
87
+
88
+ ```
89
+ ## Checkpoint Created ⏸️
90
+
91
+ **Reason:** Want to review before implementing payments
92
+ **Time:** 2024-01-15 10:30:00
93
+
94
+ ### Progress Summary
95
+
96
+ **Overall:** [████████░░░░░░░░░░░░] 45%
97
+
98
+ **Current Position:**
99
+ - Phase: Backend (3 of 7)
100
+ - Feature: User Authentication (5 of 7 steps)
101
+ - Next: Password Reset Implementation
102
+
103
+ ### Work Completed Since Last Checkpoint
104
+
105
+ #### Files Created (3)
106
+ - `src/services/user.service.ts` - User service with CRUD
107
+ - `src/utils/password.ts` - Password hashing utilities
108
+ - `src/utils/password.test.ts` - Password utility tests
109
+
110
+ #### Files Modified (2)
111
+ - `src/routes/auth.routes.ts` - Added login/register routes
112
+ - `src/app.ts` - Registered auth routes
113
+
114
+ #### Tests Added (8)
115
+ - User service tests: 5 passing
116
+ - Password utility tests: 3 passing
117
+
118
+ ### Quality Gates
119
+
120
+ | Gate | Status | Details |
121
+ |------|--------|---------|
122
+ | npm test | ✅ Pass | 8/8 tests |
123
+ | npm build | ✅ Pass | No errors |
124
+ | Coverage | ⚠️ 78% | Target: 80% |
125
+
126
+ ### Code Statistics
127
+
128
+ ```
129
+ Files Changed: 5
130
+ Lines Added: 342
131
+ Lines Removed: 12
132
+ Test Coverage: 78%
133
+ ```
134
+
135
+ ### Pending Work
136
+
137
+ **Remaining in Current Feature:**
138
+ 1. ⏳ Implement password reset
139
+ 2. ⏳ Add email verification
140
+
141
+ **Next Features:**
142
+ - User Profile Management
143
+ - Session Management
144
+
145
+ ### Review Points
146
+
147
+ Before continuing, you may want to review:
148
+
149
+ 1. **Authentication Approach**
150
+ - Using JWT with 24h expiry
151
+ - Storing refresh tokens in database
152
+
153
+ 2. **Password Security**
154
+ - bcrypt with cost factor 12
155
+ - Minimum 8 characters required
156
+
157
+ 3. **Upcoming: Payment Integration**
158
+ - Will use Stripe
159
+ - Need to discuss pricing tiers
160
+
161
+ ---
162
+
163
+ **Commands:**
164
+ - `/auto:approve` - Approve and continue
165
+ - `/auto:reject "feedback"` - Request changes
166
+ - `/auto:status --verbose` - Detailed status
167
+ - `/auto:verify` - Run full verification
168
+ ```
169
+
170
+ ## Checkpoint Types
171
+
172
+ ### Phase Checkpoint (Automatic)
173
+ Created automatically at phase boundaries:
174
+ ```yaml
175
+ checkpoint:
176
+ type: "phase"
177
+ phase: "planning"
178
+ description: "Planning phase complete"
179
+ ```
180
+
181
+ ### Quality Gate Checkpoint (Automatic)
182
+ Created when quality gate fails:
183
+ ```yaml
184
+ checkpoint:
185
+ type: "quality_gate"
186
+ gate: "coverage"
187
+ reason: "Coverage 76% below threshold 80%"
188
+ ```
189
+
190
+ ### Decision Checkpoint (Automatic)
191
+ Created when high-autonomy decision needed:
192
+ ```yaml
193
+ checkpoint:
194
+ type: "decision"
195
+ decision_id: "payment_provider"
196
+ level: 3
197
+ ```
198
+
199
+ ### Manual Checkpoint (User Initiated)
200
+ Created via `/auto:checkpoint`:
201
+ ```yaml
202
+ checkpoint:
203
+ type: "manual"
204
+ reason: "User requested review"
205
+ ```
206
+
207
+ ## Checkpoint History
208
+
209
+ View checkpoint history:
210
+ ```yaml
211
+ checkpoint_history:
212
+ - id: "cp_001"
213
+ type: "phase"
214
+ phase: "discovery"
215
+ timestamp: "2024-01-15T09:00:00Z"
216
+ approved_at: "2024-01-15T09:05:00Z"
217
+
218
+ - id: "cp_002"
219
+ type: "phase"
220
+ phase: "planning"
221
+ timestamp: "2024-01-15T09:30:00Z"
222
+ approved_at: "2024-01-15T09:45:00Z"
223
+
224
+ - id: "cp_003"
225
+ type: "manual"
226
+ reason: "Review before payments"
227
+ timestamp: "2024-01-15T10:30:00Z"
228
+ status: "pending"
229
+ ```
230
+
231
+ ## Checkpoint Files
232
+
233
+ Each checkpoint creates:
234
+ ```
235
+ .omgkit/checkpoints/
236
+ ├── cp_001_discovery.yaml
237
+ ├── cp_002_planning.yaml
238
+ └── cp_003_manual.yaml
239
+ ```
240
+
241
+ Checkpoint file contains full state snapshot for potential rollback.
242
+
243
+ ## Rollback to Checkpoint
244
+
245
+ If needed, can rollback to previous checkpoint:
246
+ ```bash
247
+ /auto:resume --from-checkpoint cp_002
248
+ ```
249
+
250
+ This restores:
251
+ - State to checkpoint moment
252
+ - Allows re-execution from that point
253
+ - Previous work preserved in git history
@@ -0,0 +1,236 @@
1
+ ---
2
+ description: Initialize autonomous project with guided discovery brainstorming
3
+ allowed-tools: Task, Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
4
+ argument-hint: <project idea or name>
5
+ ---
6
+
7
+ # Autonomous Project Initialization
8
+
9
+ Initialize and discover requirements for: **$ARGUMENTS**
10
+
11
+ ## Your Role
12
+
13
+ You are conducting a **Big-Tech level requirements discovery session**. Your goal is to deeply understand what the user wants to build before any code is written.
14
+
15
+ ## Process Overview
16
+
17
+ 1. **Welcome & Context** - Understand the initial idea
18
+ 2. **Stage 1: Vision** - Why are we building this?
19
+ 3. **Stage 2: Users** - Who will use it?
20
+ 4. **Stage 3: Features** - What will it do?
21
+ 5. **Stage 4: Technical** - How will it be built?
22
+ 6. **Stage 5: Risks** - What could go wrong?
23
+ 7. **Generate PRD** - Synthesize into formal document
24
+ 8. **Initialize State** - Set up project structure
25
+
26
+ ## Discovery Interview Guidelines
27
+
28
+ ### How to Ask Questions
29
+
30
+ 1. **Present options clearly** - Use the format:
31
+ ```
32
+ A. Option Name - Description
33
+ B. Option Name - Description
34
+ C. Option Name - Description
35
+ D. Other - [Your custom answer]
36
+ ```
37
+
38
+ 2. **Allow open-ended responses** - Always include "Other" option
39
+
40
+ 3. **Ask follow-up questions** - Dig deeper on important answers
41
+
42
+ 4. **Summarize understanding** - Confirm before moving on
43
+
44
+ 5. **Be conversational** - This is a dialogue, not an interrogation
45
+
46
+ ### Question Flow
47
+
48
+ Load questions from: `plugin/templates/autonomous/discovery-questions.yaml`
49
+
50
+ For each stage:
51
+ 1. Introduce the stage and its purpose
52
+ 2. Ask questions one at a time (or in logical groups)
53
+ 3. Adapt based on previous answers
54
+ 4. Summarize before moving to next stage
55
+
56
+ ### Adaptive Logic
57
+
58
+ - If **project_type = api** → Skip frontend questions
59
+ - If **project_type = cli** → Skip frontend and database scaling questions
60
+ - If **business_model = open_source** → Skip payment questions
61
+ - If **timeline = asap** → Focus only on MVP-essential questions
62
+ - If **user_scale = massive** → Add scalability deep-dive
63
+
64
+ ## Stage 1: Vision & Strategic Context
65
+
66
+ Ask about:
67
+ - Problem being solved (with follow-ups)
68
+ - Solution vision
69
+ - Project type (SaaS, API, CLI, Library, Fullstack, Mobile)
70
+ - Business model
71
+ - What makes it different
72
+ - Timeline and constraints
73
+
74
+ ## Stage 2: Users & Personas
75
+
76
+ Ask about:
77
+ - Primary user role and technical level
78
+ - What they want to achieve
79
+ - Their frustrations with current solutions
80
+ - Secondary user types
81
+ - Expected user scale
82
+ - Geographic distribution
83
+
84
+ ## Stage 3: Features & Scope
85
+
86
+ Ask about:
87
+ - Core features (P0 must-haves)
88
+ - Feature categories (auth, payments, notifications, etc.)
89
+ - Nice-to-have features (P2)
90
+ - What's explicitly OUT of scope
91
+ - Non-functional requirements (performance, security, accessibility)
92
+ - Success metrics
93
+
94
+ ## Stage 4: Technical Context
95
+
96
+ Ask about:
97
+ - Frontend framework preference
98
+ - Backend language/framework preference
99
+ - Database preference
100
+ - Authentication approach
101
+ - Hosting preference
102
+ - Payment provider (if applicable)
103
+ - External integrations
104
+ - Data requirements
105
+
106
+ ## Stage 5: Risk Assessment
107
+
108
+ Ask about:
109
+ - Biggest technical risk
110
+ - Biggest market/business risk
111
+ - Key assumptions
112
+ - Validation approach
113
+ - MVP definition
114
+ - Launch criteria
115
+
116
+ ## After Discovery
117
+
118
+ ### 1. Generate PRD
119
+
120
+ Create comprehensive PRD at `.omgkit/generated/prd.md`:
121
+ - Use template from `plugin/templates/autonomous/prd-template.md`
122
+ - Fill in all sections from discovery answers
123
+ - Include all feature specifications
124
+ - Document technical decisions
125
+
126
+ ### 2. Generate Technical Spec
127
+
128
+ Create technical specification at `.omgkit/generated/technical-spec.md`:
129
+ - Technology stack decisions with rationale
130
+ - High-level architecture
131
+ - Data model overview
132
+ - API surface overview
133
+ - Security considerations
134
+
135
+ ### 3. Recommend Archetype
136
+
137
+ Based on project_type, recommend appropriate archetype:
138
+ - saas-mvp → SaaS Platform
139
+ - api-service → API Service
140
+ - cli-tool → CLI Tool
141
+ - library → Library/SDK
142
+ - fullstack-app → Full-Stack Application
143
+
144
+ ### 4. Initialize State
145
+
146
+ Create `.omgkit/state.yaml`:
147
+ ```yaml
148
+ version: 1
149
+ project:
150
+ name: "[project name]"
151
+ type: "[project type]"
152
+ archetype: "[recommended archetype]"
153
+ created_at: "[timestamp]"
154
+
155
+ phase: "discovery"
156
+ status: "checkpoint"
157
+
158
+ checkpoint:
159
+ pending: true
160
+ type: "phase"
161
+ description: "Discovery complete. Review PRD before planning."
162
+
163
+ progress:
164
+ phases_completed: ["discovery"]
165
+ features_completed: []
166
+ ```
167
+
168
+ ### 5. Save Discovery Answers
169
+
170
+ Save raw answers at `.omgkit/generated/discovery-answers.yaml` for reference.
171
+
172
+ ### 6. Initialize Memory
173
+
174
+ Create initial memory structure:
175
+ ```
176
+ .omgkit/memory/
177
+ ├── context/
178
+ │ └── project-brief.md
179
+ ├── decisions/
180
+ └── journal/
181
+ └── [date]-discovery.md
182
+ ```
183
+
184
+ ## Output Format
185
+
186
+ After completing discovery:
187
+
188
+ ```
189
+ ## Discovery Complete!
190
+
191
+ I've gathered comprehensive requirements for [Project Name].
192
+
193
+ ### Summary
194
+ - **Project Type:** [type]
195
+ - **Business Model:** [model]
196
+ - **Timeline:** [timeline]
197
+ - **Primary User:** [user]
198
+
199
+ ### Key Features (P0)
200
+ 1. [Feature 1]
201
+ 2. [Feature 2]
202
+ 3. [Feature 3]
203
+
204
+ ### Technical Stack (Recommended)
205
+ - Frontend: [framework]
206
+ - Backend: [framework]
207
+ - Database: [database]
208
+ - Hosting: [platform]
209
+
210
+ ### Generated Artifacts
211
+ - `.omgkit/generated/prd.md` - Full PRD
212
+ - `.omgkit/generated/technical-spec.md` - Technical specification
213
+ - `.omgkit/generated/discovery-answers.yaml` - Raw answers
214
+ - `.omgkit/state.yaml` - Project state
215
+
216
+ ### Next Steps
217
+ 1. Review the PRD carefully
218
+ 2. Run `/auto:approve` to proceed to planning
219
+ 3. Or provide feedback to refine requirements
220
+
221
+ **CHECKPOINT:** Please review the PRD and approve to continue.
222
+ ```
223
+
224
+ ## Important Notes
225
+
226
+ 1. **Never rush** - Take time to fully understand requirements
227
+ 2. **Ask clarifying questions** - Don't assume
228
+ 3. **Capture everything** - Better to have too much info than too little
229
+ 4. **Be specific** - Vague requirements lead to vague implementations
230
+ 5. **Confirm understanding** - Summarize back to the user
231
+ 6. **Stay conversational** - This is a collaborative discovery
232
+
233
+ ## Example Interaction
234
+
235
+ ```
236
+ User: /auto:init freelancer invoicing app