omgkit 2.9.1 → 2.10.1

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 (60) hide show
  1. package/README.md +48 -1
  2. package/package.json +1 -1
  3. package/plugin/commands/workflow/1000x-innovation.md +61 -0
  4. package/plugin/commands/workflow/100x-architecture.md +60 -0
  5. package/plugin/commands/workflow/10x-improvement.md +63 -0
  6. package/plugin/commands/workflow/agent-development.md +60 -0
  7. package/plugin/commands/workflow/api-design.md +61 -0
  8. package/plugin/commands/workflow/api-testing.md +61 -0
  9. package/plugin/commands/workflow/authentication.md +60 -0
  10. package/plugin/commands/workflow/best-practices.md +61 -0
  11. package/plugin/commands/workflow/bug-fix.md +61 -0
  12. package/plugin/commands/workflow/code-review.md +52 -0
  13. package/plugin/commands/workflow/feature.md +73 -0
  14. package/plugin/commands/workflow/fine-tuning.md +60 -0
  15. package/plugin/commands/workflow/full-feature.md +70 -0
  16. package/plugin/commands/workflow/marketing.md +53 -0
  17. package/plugin/commands/workflow/migration.md +60 -0
  18. package/plugin/commands/workflow/model-evaluation.md +59 -0
  19. package/plugin/commands/workflow/optimization.md +60 -0
  20. package/plugin/commands/workflow/penetration-testing.md +60 -0
  21. package/plugin/commands/workflow/performance-optimization.md +60 -0
  22. package/plugin/commands/workflow/prompt-engineering.md +51 -0
  23. package/plugin/commands/workflow/rag-development.md +79 -0
  24. package/plugin/commands/workflow/refactor.md +59 -0
  25. package/plugin/commands/workflow/schema-design.md +70 -0
  26. package/plugin/commands/workflow/security-audit.md +61 -0
  27. package/plugin/commands/workflow/sprint-execution.md +65 -0
  28. package/plugin/commands/workflow/sprint-retrospective.md +61 -0
  29. package/plugin/commands/workflow/sprint-setup.md +64 -0
  30. package/plugin/commands/workflow/technical-docs.md +52 -0
  31. package/plugin/commands/workflow/technology-research.md +61 -0
  32. package/plugin/workflows/ai-engineering/agent-development.md +240 -0
  33. package/plugin/workflows/ai-engineering/fine-tuning.md +212 -0
  34. package/plugin/workflows/ai-engineering/model-evaluation.md +203 -0
  35. package/plugin/workflows/ai-engineering/prompt-engineering.md +192 -0
  36. package/plugin/workflows/ai-engineering/rag-development.md +203 -0
  37. package/plugin/workflows/api/api-design.md +152 -0
  38. package/plugin/workflows/api/api-testing.md +152 -0
  39. package/plugin/workflows/content/marketing.md +118 -0
  40. package/plugin/workflows/content/technical-docs.md +146 -0
  41. package/plugin/workflows/database/migration.md +153 -0
  42. package/plugin/workflows/database/optimization.md +136 -0
  43. package/plugin/workflows/database/schema-design.md +148 -0
  44. package/plugin/workflows/development/bug-fix.md +159 -0
  45. package/plugin/workflows/development/code-review.md +119 -0
  46. package/plugin/workflows/development/feature.md +171 -0
  47. package/plugin/workflows/development/refactor.md +155 -0
  48. package/plugin/workflows/fullstack/authentication.md +153 -0
  49. package/plugin/workflows/fullstack/full-feature.md +217 -0
  50. package/plugin/workflows/omega/1000x-innovation.md +167 -0
  51. package/plugin/workflows/omega/100x-architecture.md +150 -0
  52. package/plugin/workflows/omega/10x-improvement.md +228 -0
  53. package/plugin/workflows/quality/performance-optimization.md +157 -0
  54. package/plugin/workflows/research/best-practices.md +140 -0
  55. package/plugin/workflows/research/technology-research.md +130 -0
  56. package/plugin/workflows/security/penetration-testing.md +150 -0
  57. package/plugin/workflows/security/security-audit.md +176 -0
  58. package/plugin/workflows/sprint/sprint-execution.md +168 -0
  59. package/plugin/workflows/sprint/sprint-retrospective.md +168 -0
  60. package/plugin/workflows/sprint/sprint-setup.md +153 -0
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: marketing
3
+ description: Create marketing content and materials
4
+ category: content
5
+ complexity: low
6
+ estimated-time: 1-4 hours
7
+ agents:
8
+ - copywriter
9
+ - brainstormer
10
+ - researcher
11
+ skills: []
12
+ commands:
13
+ - /planning:brainstorm
14
+ - /planning:research
15
+ prerequisites:
16
+ - Product/feature defined
17
+ - Target audience known
18
+ ---
19
+
20
+ # Marketing Content Workflow
21
+
22
+ ## Overview
23
+
24
+ The Marketing Content workflow helps create compelling marketing materials including landing page copy, product descriptions, and promotional content.
25
+
26
+ ## When to Use
27
+
28
+ - Launching new products
29
+ - Creating landing pages
30
+ - Writing promotional content
31
+ - Developing messaging
32
+
33
+ ## Steps
34
+
35
+ ### Step 1: Research
36
+ **Agent:** researcher
37
+ **Command:** `/planning:research`
38
+ **Duration:** 30-60 minutes
39
+
40
+ Research phase:
41
+ - Target audience
42
+ - Competitor analysis
43
+ - Market positioning
44
+ - Key messages
45
+
46
+ **Output:** Research findings
47
+
48
+ ### Step 2: Ideation
49
+ **Agent:** brainstormer
50
+ **Command:** `/planning:brainstorm`
51
+ **Duration:** 30-60 minutes
52
+
53
+ Generate ideas:
54
+ - Messaging angles
55
+ - Headlines options
56
+ - Value propositions
57
+ - Call-to-actions
58
+
59
+ **Output:** Content ideas
60
+
61
+ ### Step 3: Copy Writing
62
+ **Agent:** copywriter
63
+ **Duration:** 1-2 hours
64
+
65
+ Write copy:
66
+ - Headlines
67
+ - Body copy
68
+ - Features/benefits
69
+ - CTAs
70
+
71
+ **Output:** Marketing copy
72
+
73
+ ### Step 4: Review
74
+ **Agent:** copywriter
75
+ **Duration:** 30-60 minutes
76
+
77
+ Review and refine:
78
+ - Tone consistency
79
+ - Clarity
80
+ - Persuasiveness
81
+ - Grammar
82
+
83
+ **Output:** Refined copy
84
+
85
+ ## Quality Gates
86
+
87
+ - [ ] Audience researched
88
+ - [ ] Ideas generated
89
+ - [ ] Copy written
90
+ - [ ] Copy reviewed
91
+
92
+ ## Copy Frameworks
93
+
94
+ ```
95
+ Marketing Copy Frameworks
96
+ =========================
97
+ AIDA:
98
+ - Attention: Hook
99
+ - Interest: Benefits
100
+ - Desire: Value
101
+ - Action: CTA
102
+
103
+ PAS:
104
+ - Problem: Pain point
105
+ - Agitate: Emphasize
106
+ - Solution: Your product
107
+ ```
108
+
109
+ ## Example Usage
110
+
111
+ ```bash
112
+ /workflow:marketing "product launch landing page"
113
+ /workflow:marketing "feature announcement email"
114
+ ```
115
+
116
+ ## Related Workflows
117
+
118
+ - `technical-docs` - For documentation
@@ -0,0 +1,146 @@
1
+ ---
2
+ name: technical-docs
3
+ description: Create comprehensive technical documentation
4
+ category: content
5
+ complexity: medium
6
+ estimated-time: 2-8 hours
7
+ agents:
8
+ - docs-manager
9
+ - architect
10
+ - copywriter
11
+ - code-reviewer
12
+ skills:
13
+ - writing-plans
14
+ commands:
15
+ - /planning:doc
16
+ - /dev:review
17
+ prerequisites:
18
+ - Codebase accessible
19
+ - Documentation scope defined
20
+ ---
21
+
22
+ # Technical Documentation Workflow
23
+
24
+ ## Overview
25
+
26
+ The Technical Documentation workflow helps create comprehensive, well-structured documentation including API references, architecture guides, and tutorials.
27
+
28
+ ## When to Use
29
+
30
+ - Documenting new features
31
+ - Creating API references
32
+ - Writing architecture guides
33
+ - Building tutorials
34
+
35
+ ## Steps
36
+
37
+ ### Step 1: Documentation Planning
38
+ **Agent:** docs-manager
39
+ **Duration:** 30-60 minutes
40
+
41
+ Plan documentation:
42
+ - Define scope
43
+ - Identify audiences
44
+ - Create outline
45
+ - Set standards
46
+
47
+ **Output:** Documentation plan
48
+
49
+ ### Step 2: API Documentation
50
+ **Agent:** docs-manager
51
+ **Duration:** 1-2 hours
52
+
53
+ Generate API docs:
54
+ - Extract from code
55
+ - Add descriptions
56
+ - Include examples
57
+ - Document errors
58
+
59
+ **Output:** API reference
60
+
61
+ ### Step 3: Architecture Guide
62
+ **Agent:** architect
63
+ **Duration:** 1-2 hours
64
+
65
+ Write architecture:
66
+ - System overview
67
+ - Component diagrams
68
+ - Design decisions
69
+ - Integration points
70
+
71
+ **Output:** Architecture guide
72
+
73
+ ### Step 4: Tutorials
74
+ **Agent:** docs-manager
75
+ **Duration:** 1-2 hours
76
+
77
+ Create tutorials:
78
+ - Getting started
79
+ - Step-by-step guides
80
+ - Code examples
81
+ - Common patterns
82
+
83
+ **Output:** Tutorial content
84
+
85
+ ### Step 5: Review
86
+ **Agent:** code-reviewer
87
+ **Command:** `/dev:review`
88
+ **Duration:** 30-60 minutes
89
+
90
+ Review documentation:
91
+ - Technical accuracy
92
+ - Completeness
93
+ - Working examples
94
+ - Clarity
95
+
96
+ **Output:** Review feedback
97
+
98
+ ### Step 6: Publishing
99
+ **Agent:** docs-manager
100
+ **Duration:** 30-60 minutes
101
+
102
+ Publish docs:
103
+ - Format for platform
104
+ - Add navigation
105
+ - Configure search
106
+ - Deploy
107
+
108
+ **Output:** Published docs
109
+
110
+ ## Quality Gates
111
+
112
+ - [ ] Documentation planned
113
+ - [ ] API documented
114
+ - [ ] Architecture explained
115
+ - [ ] Tutorials complete
116
+ - [ ] Review passed
117
+ - [ ] Docs published
118
+
119
+ ## Documentation Structure
120
+
121
+ ```
122
+ Documentation Structure
123
+ =======================
124
+ docs/
125
+ ├── getting-started/
126
+ │ ├── installation.md
127
+ │ └── quickstart.md
128
+ ├── guides/
129
+ │ ├── architecture.md
130
+ │ └── tutorials/
131
+ ├── api/
132
+ │ └── reference.md
133
+ └── changelog.md
134
+ ```
135
+
136
+ ## Example Usage
137
+
138
+ ```bash
139
+ /workflow:technical-docs "API documentation for v2"
140
+ /workflow:technical-docs "developer onboarding guide"
141
+ ```
142
+
143
+ ## Related Workflows
144
+
145
+ - `api-design` - For API specs
146
+ - `marketing` - For marketing content
@@ -0,0 +1,153 @@
1
+ ---
2
+ name: migration
3
+ description: Safe database migrations with rollback
4
+ category: database
5
+ complexity: high
6
+ estimated-time: 1-4 hours
7
+ agents:
8
+ - database-admin
9
+ - planner
10
+ - tester
11
+ skills:
12
+ - database-migration
13
+ commands:
14
+ - /planning:plan
15
+ - /dev:test
16
+ prerequisites:
17
+ - Schema changes defined
18
+ - Backup strategy ready
19
+ ---
20
+
21
+ # Database Migration Workflow
22
+
23
+ ## Overview
24
+
25
+ The Database Migration workflow ensures safe, zero-downtime database migrations with proper rollback capabilities.
26
+
27
+ ## When to Use
28
+
29
+ - Schema changes required
30
+ - Data transformations
31
+ - Index modifications
32
+ - Constraint updates
33
+
34
+ ## Steps
35
+
36
+ ### Step 1: Migration Planning
37
+ **Agent:** planner
38
+ **Command:** `/planning:plan "migration"`
39
+ **Duration:** 30-60 minutes
40
+
41
+ Plan migration:
42
+ - Identify changes
43
+ - Assess impact
44
+ - Plan rollback
45
+ - Schedule execution
46
+
47
+ **Output:** Migration plan
48
+
49
+ ### Step 2: Backup
50
+ **Agent:** database-admin
51
+ **Duration:** 15-30 minutes
52
+
53
+ Create backup:
54
+ - Full backup
55
+ - Verify backup
56
+ - Document state
57
+ - Test restore
58
+
59
+ **Output:** Backup completed
60
+
61
+ ### Step 3: Migration Script
62
+ **Agent:** database-admin
63
+ **Duration:** 30-60 minutes
64
+
65
+ Write migration:
66
+ - Create migration file
67
+ - Write up migration
68
+ - Write down migration
69
+ - Add validation
70
+
71
+ **Output:** Migration script
72
+
73
+ ### Step 4: Staging Test
74
+ **Agent:** tester
75
+ **Duration:** 30-60 minutes
76
+
77
+ Test in staging:
78
+ - Run migration
79
+ - Test application
80
+ - Verify data
81
+ - Test rollback
82
+
83
+ **Output:** Staging verified
84
+
85
+ ### Step 5: Production Migration
86
+ **Agent:** database-admin
87
+ **Duration:** 15-60 minutes
88
+
89
+ Execute migration:
90
+ - Run migration
91
+ - Monitor progress
92
+ - Verify completion
93
+ - Update status
94
+
95
+ **Output:** Migration complete
96
+
97
+ ### Step 6: Verification
98
+ **Agent:** tester
99
+ **Command:** `/dev:test`
100
+ **Duration:** 30-60 minutes
101
+
102
+ Verify migration:
103
+ - Application testing
104
+ - Data integrity
105
+ - Performance check
106
+ - Document completion
107
+
108
+ **Output:** Verification report
109
+
110
+ ## Quality Gates
111
+
112
+ - [ ] Migration planned
113
+ - [ ] Backup verified
114
+ - [ ] Rollback tested
115
+ - [ ] Staging validated
116
+ - [ ] Production migrated
117
+ - [ ] Verification passed
118
+
119
+ ## Migration Checklist
120
+
121
+ ```
122
+ Migration Checklist
123
+ ===================
124
+ PRE-MIGRATION:
125
+ [ ] Backup created and verified
126
+ [ ] Rollback script ready
127
+ [ ] Stakeholders notified
128
+ [ ] Maintenance window scheduled
129
+
130
+ MIGRATION:
131
+ [ ] Migration executed
132
+ [ ] Progress monitored
133
+ [ ] Errors handled
134
+ [ ] Completion verified
135
+
136
+ POST-MIGRATION:
137
+ [ ] Application tested
138
+ [ ] Data verified
139
+ [ ] Performance checked
140
+ [ ] Documentation updated
141
+ ```
142
+
143
+ ## Example Usage
144
+
145
+ ```bash
146
+ /workflow:migration "add user preferences table"
147
+ /workflow:migration "split orders table for sharding"
148
+ ```
149
+
150
+ ## Related Workflows
151
+
152
+ - `schema-design` - For initial design
153
+ - `database-optimization` - For performance
@@ -0,0 +1,136 @@
1
+ ---
2
+ name: database-optimization
3
+ description: Optimize database performance
4
+ category: database
5
+ complexity: medium
6
+ estimated-time: 2-6 hours
7
+ agents:
8
+ - database-admin
9
+ - tester
10
+ skills:
11
+ - database-optimization
12
+ commands:
13
+ - /quality:optimize
14
+ - /dev:test
15
+ prerequisites:
16
+ - Database accessible
17
+ - Performance metrics available
18
+ ---
19
+
20
+ # Database Optimization Workflow
21
+
22
+ ## Overview
23
+
24
+ The Database Optimization workflow systematically improves database performance through query optimization, indexing, and configuration tuning.
25
+
26
+ ## When to Use
27
+
28
+ - Slow query complaints
29
+ - Performance degradation
30
+ - Scaling preparation
31
+ - Regular maintenance
32
+
33
+ ## Steps
34
+
35
+ ### Step 1: Performance Profiling
36
+ **Agent:** database-admin
37
+ **Duration:** 30-60 minutes
38
+
39
+ Profile performance:
40
+ - Identify slow queries
41
+ - Analyze query patterns
42
+ - Check resource usage
43
+ - Review current indexes
44
+
45
+ **Output:** Performance profile
46
+
47
+ ### Step 2: Query Analysis
48
+ **Agent:** database-admin
49
+ **Duration:** 30-60 minutes
50
+
51
+ Analyze queries:
52
+ - EXPLAIN plans
53
+ - Index usage
54
+ - Full table scans
55
+ - N+1 queries
56
+
57
+ **Output:** Query analysis
58
+
59
+ ### Step 3: Index Optimization
60
+ **Agent:** database-admin
61
+ **Duration:** 30-60 minutes
62
+
63
+ Optimize indexes:
64
+ - Add missing indexes
65
+ - Remove unused indexes
66
+ - Composite indexes
67
+ - Covering indexes
68
+
69
+ **Output:** Index changes
70
+
71
+ ### Step 4: Query Optimization
72
+ **Agent:** database-admin
73
+ **Duration:** 1-2 hours
74
+
75
+ Optimize queries:
76
+ - Rewrite slow queries
77
+ - Add query hints
78
+ - Batch operations
79
+ - Caching strategies
80
+
81
+ **Output:** Optimized queries
82
+
83
+ ### Step 5: Configuration Tuning
84
+ **Agent:** database-admin
85
+ **Duration:** 30-60 minutes
86
+
87
+ Tune configuration:
88
+ - Memory allocation
89
+ - Connection pooling
90
+ - Cache sizes
91
+ - Timeout settings
92
+
93
+ **Output:** Configuration updates
94
+
95
+ ### Step 6: Verification
96
+ **Agent:** tester
97
+ **Command:** `/dev:test`
98
+ **Duration:** 30-60 minutes
99
+
100
+ Verify improvements:
101
+ - Re-run benchmarks
102
+ - Compare metrics
103
+ - Validate behavior
104
+ - Document results
105
+
106
+ **Output:** Optimization report
107
+
108
+ ## Quality Gates
109
+
110
+ - [ ] Slow queries identified
111
+ - [ ] Query plans analyzed
112
+ - [ ] Indexes optimized
113
+ - [ ] Queries improved
114
+ - [ ] Configuration tuned
115
+ - [ ] Improvements verified
116
+
117
+ ## Optimization Targets
118
+
119
+ | Metric | Target | Action |
120
+ |--------|--------|--------|
121
+ | Query time | <100ms | Index/rewrite |
122
+ | Connection pool | <80% | Scale up |
123
+ | Cache hit rate | >95% | Increase cache |
124
+ | I/O wait | <10% | Index/query |
125
+
126
+ ## Example Usage
127
+
128
+ ```bash
129
+ /workflow:database-optimization "orders table slow queries"
130
+ /workflow:database-optimization "overall database performance"
131
+ ```
132
+
133
+ ## Related Workflows
134
+
135
+ - `schema-design` - For structural changes
136
+ - `migration` - For schema updates
@@ -0,0 +1,148 @@
1
+ ---
2
+ name: schema-design
3
+ description: Design production-grade database schemas
4
+ category: database
5
+ complexity: medium
6
+ estimated-time: 2-8 hours
7
+ agents:
8
+ - database-admin
9
+ - planner
10
+ - tester
11
+ skills:
12
+ - database-schema-design
13
+ - postgresql
14
+ - mongodb
15
+ commands:
16
+ - /planning:plan
17
+ - /dev:feature
18
+ - /dev:test
19
+ prerequisites:
20
+ - Data requirements defined
21
+ - Database type selected
22
+ ---
23
+
24
+ # Schema Design Workflow
25
+
26
+ ## Overview
27
+
28
+ The Schema Design workflow helps create well-structured, normalized, and performant database schemas with proper indexing and relationships.
29
+
30
+ ## When to Use
31
+
32
+ - Starting new projects
33
+ - Adding new data models
34
+ - Redesigning data structures
35
+ - Optimizing existing schemas
36
+
37
+ ## Steps
38
+
39
+ ### Step 1: Requirements Gathering
40
+ **Agent:** planner
41
+ **Duration:** 30-60 minutes
42
+
43
+ Gather requirements:
44
+ - Entity identification
45
+ - Relationship mapping
46
+ - Data volume estimates
47
+ - Access patterns
48
+
49
+ **Output:** Data requirements
50
+
51
+ ### Step 2: Entity-Relationship Design
52
+ **Agent:** database-admin
53
+ **Duration:** 1-2 hours
54
+
55
+ Design ER model:
56
+ - Entity definitions
57
+ - Relationships
58
+ - Cardinality
59
+ - Constraints
60
+
61
+ **Output:** ER diagram
62
+
63
+ ### Step 3: Normalization
64
+ **Agent:** database-admin
65
+ **Duration:** 30-60 minutes
66
+
67
+ Normalize schema:
68
+ - Apply normal forms
69
+ - Eliminate redundancy
70
+ - Ensure data integrity
71
+ - Balance normalization vs performance
72
+
73
+ **Output:** Normalized schema
74
+
75
+ ### Step 4: Index Design
76
+ **Agent:** database-admin
77
+ **Duration:** 30-60 minutes
78
+
79
+ Design indexes:
80
+ - Primary keys
81
+ - Foreign keys
82
+ - Query-based indexes
83
+ - Composite indexes
84
+
85
+ **Output:** Index strategy
86
+
87
+ ### Step 5: Migration Creation
88
+ **Agent:** database-admin
89
+ **Duration:** 30-60 minutes
90
+
91
+ Create migrations:
92
+ - Write migration files
93
+ - Include rollback
94
+ - Test migrations
95
+ - Document changes
96
+
97
+ **Output:** Migration files
98
+
99
+ ### Step 6: Validation
100
+ **Agent:** tester
101
+ **Command:** `/dev:test`
102
+ **Duration:** 30-60 minutes
103
+
104
+ Validate schema:
105
+ - Test migrations
106
+ - Verify constraints
107
+ - Check relationships
108
+ - Performance baseline
109
+
110
+ **Output:** Validation report
111
+
112
+ ## Quality Gates
113
+
114
+ - [ ] Requirements documented
115
+ - [ ] ER diagram complete
116
+ - [ ] Schema normalized
117
+ - [ ] Indexes designed
118
+ - [ ] Migrations created
119
+ - [ ] Validation passed
120
+
121
+ ## Schema Design Principles
122
+
123
+ ```
124
+ Database Schema Principles
125
+ ==========================
126
+ 1. Single source of truth
127
+ 2. Appropriate normalization
128
+ 3. Proper data types
129
+ 4. Meaningful naming
130
+ 5. Consistent conventions
131
+ 6. Performance-aware indexing
132
+ 7. Referential integrity
133
+ 8. Soft delete consideration
134
+ 9. Audit trail support
135
+ 10. Future extensibility
136
+ ```
137
+
138
+ ## Example Usage
139
+
140
+ ```bash
141
+ /workflow:schema-design "e-commerce with users, products, orders"
142
+ /workflow:schema-design "multi-tenant SaaS application"
143
+ ```
144
+
145
+ ## Related Workflows
146
+
147
+ - `migration` - For schema changes
148
+ - `database-optimization` - For performance