omgkit 2.22.11 → 2.24.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.
@@ -0,0 +1,175 @@
1
+ ---
2
+ name: workflow:trunk-based
3
+ description: Execute the complete trunk-based development workflow from branch creation to merge, with automated checks and Claude review.
4
+ category: workflow
5
+ ---
6
+
7
+ # /workflow:trunk-based
8
+
9
+ Execute the complete trunk-based development workflow with guidance at each step.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ # Start new feature
15
+ /workflow:trunk-based start "feature description"
16
+
17
+ # Continue workflow (auto-detects current phase)
18
+ /workflow:trunk-based
19
+
20
+ # Check workflow status
21
+ /workflow:trunk-based status
22
+
23
+ # Skip to specific phase
24
+ /workflow:trunk-based --phase=review
25
+ ```
26
+
27
+ ## Workflow Phases
28
+
29
+ ### 1. Start Feature
30
+
31
+ ```bash
32
+ /workflow:trunk-based start "add user authentication"
33
+ ```
34
+
35
+ **Actions:**
36
+ - Checkout and pull latest main
37
+ - Create feature branch: `feature/add-user-authentication`
38
+ - Initialize branch tracking
39
+
40
+ ### 2. Development
41
+
42
+ ```bash
43
+ /workflow:trunk-based dev
44
+ ```
45
+
46
+ **Actions:**
47
+ - Run pre-commit hooks
48
+ - Validate commit message format
49
+ - Track branch age
50
+
51
+ ### 3. Pre-Push
52
+
53
+ ```bash
54
+ /workflow:trunk-based push
55
+ ```
56
+
57
+ **Actions:**
58
+ - Run tests
59
+ - Security scan
60
+ - Build verification
61
+ - Push to remote
62
+
63
+ ### 4. Create PR
64
+
65
+ ```bash
66
+ /workflow:trunk-based pr
67
+ ```
68
+
69
+ **Actions:**
70
+ - Generate PR title from commits
71
+ - Apply template
72
+ - Set labels
73
+ - Assign reviewers
74
+
75
+ ### 5. Review
76
+
77
+ ```bash
78
+ /workflow:trunk-based review
79
+ ```
80
+
81
+ **Actions:**
82
+ - Trigger Claude auto-review
83
+ - Check for critical issues
84
+ - Summarize feedback
85
+
86
+ ### 6. Merge
87
+
88
+ ```bash
89
+ /workflow:trunk-based merge
90
+ ```
91
+
92
+ **Actions:**
93
+ - Verify all checks passed
94
+ - Squash merge to main
95
+ - Delete feature branch
96
+ - Trigger deployment
97
+
98
+ ## Auto-Detection
99
+
100
+ When run without arguments, detects current phase:
101
+
102
+ ```bash
103
+ /workflow:trunk-based
104
+
105
+ # Output:
106
+ # Trunk-Based Workflow Status
107
+ # ---------------------------
108
+ # Branch: feature/add-auth
109
+ # Phase: review (4/6)
110
+ # Age: 1 day (max: 2 days)
111
+ #
112
+ # Next steps:
113
+ # 1. Address review feedback
114
+ # 2. Request re-review
115
+ # 3. Merge when approved
116
+ ```
117
+
118
+ ## Config Integration
119
+
120
+ Reads settings from `.omgkit/workflow.yaml`:
121
+
122
+ ```yaml
123
+ git:
124
+ workflow: trunk-based
125
+ max_branch_age_days: 2
126
+
127
+ pr:
128
+ squash_merge: true
129
+
130
+ review:
131
+ auto_review: true
132
+ ```
133
+
134
+ ## Examples
135
+
136
+ ### Complete Flow
137
+
138
+ ```bash
139
+ # 1. Start feature
140
+ /workflow:trunk-based start "add dark mode"
141
+
142
+ # 2. Make changes...
143
+ # 3. Commit
144
+ /git:commit
145
+
146
+ # 4. Push and create PR
147
+ /workflow:trunk-based push
148
+ /workflow:trunk-based pr
149
+
150
+ # 5. Review
151
+ /workflow:trunk-based review
152
+
153
+ # 6. Merge
154
+ /workflow:trunk-based merge
155
+ ```
156
+
157
+ ### Quick Status Check
158
+
159
+ ```bash
160
+ /workflow:trunk-based status
161
+
162
+ # Output:
163
+ # Current Phase: development
164
+ # Branch Age: 4 hours
165
+ # Commits: 3
166
+ # Tests: passing
167
+ # Ready for: push
168
+ ```
169
+
170
+ ## Related Commands
171
+
172
+ - `/workflow:init` - Initialize workflow config
173
+ - `/git:commit` - Commit with conventions
174
+ - `/git:pr` - Create pull request
175
+ - `/dev:review` - Claude code review
@@ -1,9 +1,9 @@
1
1
  # OMGKIT Component Registry
2
2
  # Single Source of Truth for Agents, Skills, Commands, Workflows, and MCPs
3
- # Version: 2.22.10
4
- # Updated: 2026-01-03
3
+ # Version: 2.24.0
4
+ # Updated: 2026-01-06
5
5
 
6
- version: "2.22.10"
6
+ version: "2.24.0"
7
7
 
8
8
  # =============================================================================
9
9
  # OPTIMIZED ALIGNMENT PRINCIPLE (OAP)
@@ -686,6 +686,7 @@ command_namespaces:
686
686
  - domain # Domain analysis
687
687
  - game # Game development
688
688
  - git # Version control
689
+ - hooks # Git hooks management
689
690
  - iot # IoT operations
690
691
  - ml # Machine learning
691
692
  - omega # Omega principles
@@ -703,7 +704,7 @@ command_namespaces:
703
704
  - security # Security operations
704
705
  - sprint # Sprint management
705
706
  - sre # Site reliability
706
- - workflow # Workflow triggers
707
+ - workflow # Workflow triggers and automation
707
708
 
708
709
  # =============================================================================
709
710
  # WORKFLOW DEFINITIONS
@@ -929,6 +930,18 @@ workflows:
929
930
  skills: []
930
931
  commands: [/planning:brainstorm, /planning:research]
931
932
 
933
+ # ---------------------------------------------------------------------------
934
+ # GIT WORKFLOWS
935
+ # ---------------------------------------------------------------------------
936
+ git/trunk-based:
937
+ agents: [git-manager, code-reviewer, tester, fullstack-developer]
938
+ skills:
939
+ - devops/workflow-config
940
+ - devops/git-hooks
941
+ - devops/feature-flags
942
+ - methodology/finishing-development-branch
943
+ commands: [/workflow:trunk-based, /workflow:init, /workflow:status, /hooks:setup, /hooks:run, /git:commit, /git:pr, /dev:review]
944
+
932
945
  # ---------------------------------------------------------------------------
933
946
  # ML SYSTEMS WORKFLOWS (Harvard CS 329S + Chip Huyen)
934
947
  # ---------------------------------------------------------------------------