omgkit 2.16.0 → 2.18.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/README.md +37 -3
- package/package.json +1 -1
- package/plugin/agents/brainstormer.md +1 -1
- package/plugin/agents/project-manager.md +31 -0
- package/plugin/commands/alignment/deps.md +213 -0
- package/plugin/commands/alignment/health.md +118 -0
- package/plugin/commands/git/cm.md +4 -0
- package/plugin/commands/sprint/sprint-new.md +1 -1
- package/plugin/registry.yaml +32 -45
- package/plugin/stdrules/BEFORE_COMMIT_RULES.md +367 -0
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
|
|
9
9
|
> **AI Team System for Claude Code**
|
|
10
|
-
> 33 Agents •
|
|
10
|
+
> 33 Agents • 113 Commands • 49 Workflows • 127 Skills • 10 Modes • 14 Archetypes
|
|
11
11
|
> *"Think Omega. Build Omega. Be Omega."*
|
|
12
12
|
|
|
13
13
|
OMGKIT transforms Claude Code into an autonomous AI development team with sprint management, specialized agents, and Omega-level thinking for 10x-1000x productivity improvements.
|
|
@@ -17,7 +17,7 @@ OMGKIT transforms Claude Code into an autonomous AI development team with sprint
|
|
|
17
17
|
| Component | Count | Description |
|
|
18
18
|
|-----------|-------|-------------|
|
|
19
19
|
| **Agents** | 33 | Specialized AI team members |
|
|
20
|
-
| **Commands** |
|
|
20
|
+
| **Commands** | 113 | Slash commands for every task |
|
|
21
21
|
| **Workflows** | 49 | Complete development processes |
|
|
22
22
|
| **Skills** | 127 | Domain expertise modules |
|
|
23
23
|
| **Modes** | 10 | Behavioral configurations |
|
|
@@ -127,7 +127,7 @@ After installation, use these commands in Claude Code:
|
|
|
127
127
|
| `architect` | System design, leverage multiplication |
|
|
128
128
|
| `sprint-master` | Sprint management, team orchestration |
|
|
129
129
|
|
|
130
|
-
## ⚡ Commands (
|
|
130
|
+
## ⚡ Commands (113)
|
|
131
131
|
|
|
132
132
|
### Development
|
|
133
133
|
```bash
|
|
@@ -198,6 +198,18 @@ After installation, use these commands in Claude Code:
|
|
|
198
198
|
/auto:resume # Resume from saved state
|
|
199
199
|
```
|
|
200
200
|
|
|
201
|
+
### Alignment & Dependencies ⭐
|
|
202
|
+
```bash
|
|
203
|
+
/alignment:health # Check system alignment health status
|
|
204
|
+
/alignment:deps <type:name> # Show dependency graph tree
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
The alignment commands help you understand and validate OMGKIT's component hierarchy:
|
|
208
|
+
- `agent:fullstack-developer` - Shows agent's skills, commands, and workflows
|
|
209
|
+
- `workflow:development/feature` - Shows workflow's agents, skills, commands
|
|
210
|
+
- `skill:methodology/writing-plans` - Shows which agents/workflows use this skill
|
|
211
|
+
- `command:/dev:feature` - Shows which agents trigger this command
|
|
212
|
+
|
|
201
213
|
## 🤖 Autonomous Development (14 Archetypes)
|
|
202
214
|
|
|
203
215
|
Build complete applications autonomously from idea to deployment.
|
|
@@ -412,6 +424,28 @@ omgkit uninstall # Remove plugin
|
|
|
412
424
|
omgkit help # Show help
|
|
413
425
|
```
|
|
414
426
|
|
|
427
|
+
## ✅ Before-Commit Validation
|
|
428
|
+
|
|
429
|
+
OMGKIT enforces strict quality standards with **4800+ automated tests**:
|
|
430
|
+
|
|
431
|
+
```bash
|
|
432
|
+
npm test # Run all validation tests before commit
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
### Quality Gates
|
|
436
|
+
|
|
437
|
+
| Category | Requirement |
|
|
438
|
+
|----------|-------------|
|
|
439
|
+
| **Agents** | 50+ lines, valid frontmatter, skills/commands arrays |
|
|
440
|
+
| **Commands** | 15+ lines, description, registered as slash command |
|
|
441
|
+
| **Skills** | 30+ lines, name/description if frontmatter present |
|
|
442
|
+
| **Workflows** | 50+ lines, description, agents array |
|
|
443
|
+
| **Registry** | Version sync, cross-reference validation |
|
|
444
|
+
| **Content** | No placeholder text (TODO:, FIXME:, etc.) |
|
|
445
|
+
|
|
446
|
+
All commands must be registered in `registry.yaml` under valid namespaces.
|
|
447
|
+
See [full documentation](https://omgkit.mintlify.app/resources/before-commit).
|
|
448
|
+
|
|
415
449
|
## 📁 Project Structure
|
|
416
450
|
|
|
417
451
|
After `omgkit init`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brainstormer
|
|
3
|
-
description: Creative exploration
|
|
3
|
+
description: Creative exploration agent specialized for ideation, brainstorming sessions, and systematic option generation for complex problems.
|
|
4
4
|
tools: Read, WebSearch, Glob
|
|
5
5
|
model: inherit
|
|
6
6
|
skills:
|
|
@@ -44,3 +44,34 @@ You coordinate and track progress.
|
|
|
44
44
|
- Track dependencies
|
|
45
45
|
- Manage blockers
|
|
46
46
|
- Report progress
|
|
47
|
+
|
|
48
|
+
## Project Tracking Process
|
|
49
|
+
|
|
50
|
+
### Daily Standup Template
|
|
51
|
+
```markdown
|
|
52
|
+
## Daily Update: [Date]
|
|
53
|
+
|
|
54
|
+
### Yesterday
|
|
55
|
+
- Completed: [List completed tasks]
|
|
56
|
+
- Agents involved: [Names]
|
|
57
|
+
|
|
58
|
+
### Today
|
|
59
|
+
- Planned: [List planned tasks]
|
|
60
|
+
- Assigned to: [Agent names]
|
|
61
|
+
|
|
62
|
+
### Blockers
|
|
63
|
+
- [Issue]: [Proposed resolution]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Sprint Planning
|
|
67
|
+
1. Review backlog
|
|
68
|
+
2. Estimate complexity
|
|
69
|
+
3. Assign to agents
|
|
70
|
+
4. Set success criteria
|
|
71
|
+
5. Track progress daily
|
|
72
|
+
|
|
73
|
+
## Decision Log
|
|
74
|
+
Track key decisions with:
|
|
75
|
+
- Context and options
|
|
76
|
+
- Decision rationale
|
|
77
|
+
- Owner and date
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Show the dependency graph tree for any OMGKIT component
|
|
3
|
+
argument-hint: <type:name>
|
|
4
|
+
allowed-tools: Read, Bash, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Dependency Graph Command
|
|
8
|
+
|
|
9
|
+
Display the dependency graph tree for any component in OMGKIT.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
/alignment:deps <type>:<name>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Where `<type>` is one of:
|
|
18
|
+
- `agent` - Show agent's skills, commands, and which workflows use it
|
|
19
|
+
- `workflow` - Show workflow's agents, skills, and commands
|
|
20
|
+
- `skill` - Show which agents and workflows use this skill
|
|
21
|
+
- `command` - Show which agents and workflows trigger this command
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
### View Agent Dependencies
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
/alignment:deps agent:fullstack-developer
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Output:
|
|
32
|
+
```
|
|
33
|
+
🔮 Dependency Graph: fullstack-developer
|
|
34
|
+
═══════════════════════════════════════════
|
|
35
|
+
|
|
36
|
+
📋 Agent: fullstack-developer
|
|
37
|
+
└── Full implementation with strict file ownership
|
|
38
|
+
|
|
39
|
+
🧠 Skills Used (5):
|
|
40
|
+
├── methodology/executing-plans
|
|
41
|
+
│ └── Skill for following implementation plans...
|
|
42
|
+
├── methodology/verification-before-completion
|
|
43
|
+
│ └── Skill for verifying work before marking done...
|
|
44
|
+
├── methodology/test-driven-development
|
|
45
|
+
│ └── Skill for TDD practices...
|
|
46
|
+
├── languages/typescript
|
|
47
|
+
│ └── TypeScript language expertise...
|
|
48
|
+
└── languages/javascript
|
|
49
|
+
└── JavaScript language expertise...
|
|
50
|
+
|
|
51
|
+
⚡ Commands Triggered (5):
|
|
52
|
+
├── /dev:feature
|
|
53
|
+
├── /dev:fix
|
|
54
|
+
├── /dev:fix-fast
|
|
55
|
+
├── /dev:fix-hard
|
|
56
|
+
└── /dev:tdd
|
|
57
|
+
|
|
58
|
+
📊 Used By Workflows (5):
|
|
59
|
+
├── development/feature
|
|
60
|
+
├── development/bug-fix
|
|
61
|
+
├── development/refactor
|
|
62
|
+
├── omega/10x-improvement
|
|
63
|
+
└── fullstack/full-feature
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### View Workflow Dependencies
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
/alignment:deps workflow:development/feature
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Output:
|
|
73
|
+
```
|
|
74
|
+
🔮 Dependency Graph: development/feature
|
|
75
|
+
═══════════════════════════════════════════
|
|
76
|
+
|
|
77
|
+
📋 Workflow: development/feature
|
|
78
|
+
└── Complete feature development from planning to deployment
|
|
79
|
+
|
|
80
|
+
🤖 Agents Orchestrated (5):
|
|
81
|
+
├── planner
|
|
82
|
+
│ ├── Skills: methodology/writing-plans, methodology/executing-plans...
|
|
83
|
+
│ └── Commands: /planning:plan, /planning:plan-detailed...
|
|
84
|
+
├── fullstack-developer
|
|
85
|
+
│ ├── Skills: methodology/executing-plans, languages/typescript...
|
|
86
|
+
│ └── Commands: /dev:feature, /dev:fix...
|
|
87
|
+
├── tester
|
|
88
|
+
│ ├── Skills: methodology/test-driven-development, testing/vitest...
|
|
89
|
+
│ └── Commands: /dev:test, /dev:tdd...
|
|
90
|
+
├── code-reviewer
|
|
91
|
+
│ ├── Skills: methodology/verification-before-completion...
|
|
92
|
+
│ └── Commands: /dev:review
|
|
93
|
+
└── git-manager
|
|
94
|
+
├── Skills: methodology/finishing-development-branch...
|
|
95
|
+
└── Commands: /git:commit, /git:pr...
|
|
96
|
+
|
|
97
|
+
🧠 Skills Applied (3):
|
|
98
|
+
├── methodology/writing-plans
|
|
99
|
+
├── methodology/executing-plans
|
|
100
|
+
└── methodology/test-driven-development
|
|
101
|
+
|
|
102
|
+
⚡ Commands Available (6):
|
|
103
|
+
├── /planning:plan
|
|
104
|
+
├── /dev:feature
|
|
105
|
+
├── /dev:test
|
|
106
|
+
├── /dev:review
|
|
107
|
+
├── /git:commit
|
|
108
|
+
└── /git:pr
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### View Skill Usage (Reverse Lookup)
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
/alignment:deps skill:methodology/writing-plans
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Output:
|
|
118
|
+
```
|
|
119
|
+
🔮 Usage Graph: methodology/writing-plans
|
|
120
|
+
═══════════════════════════════════════════
|
|
121
|
+
|
|
122
|
+
🧠 Skill: methodology/writing-plans
|
|
123
|
+
└── AI agent creates structured implementation plans...
|
|
124
|
+
|
|
125
|
+
🤖 Used By Agents (2):
|
|
126
|
+
├── planner
|
|
127
|
+
│ └── Task decomposition and implementation planning...
|
|
128
|
+
└── docs-manager
|
|
129
|
+
└── Documentation architect and maintainer...
|
|
130
|
+
|
|
131
|
+
📊 Used By Workflows (5):
|
|
132
|
+
├── development/feature
|
|
133
|
+
├── fullstack/full-feature
|
|
134
|
+
├── omega/10x-improvement
|
|
135
|
+
├── omega/100x-architecture
|
|
136
|
+
└── sprint/sprint-setup
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### View Command Usage (Reverse Lookup)
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
/alignment:deps command:/dev:feature
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Output:
|
|
146
|
+
```
|
|
147
|
+
🔮 Usage Graph: /dev:feature
|
|
148
|
+
═══════════════════════════════════════════
|
|
149
|
+
|
|
150
|
+
⚡ Command: /dev:feature
|
|
151
|
+
└── Build a complete feature based on requirements
|
|
152
|
+
|
|
153
|
+
🤖 Triggered By Agents (1):
|
|
154
|
+
└── fullstack-developer
|
|
155
|
+
|
|
156
|
+
📊 Available In Workflows (4):
|
|
157
|
+
├── development/feature
|
|
158
|
+
├── ai-engineering/rag-development
|
|
159
|
+
├── fullstack/full-feature
|
|
160
|
+
└── omega/10x-improvement
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Understanding the Graph
|
|
164
|
+
|
|
165
|
+
### Forward Dependencies (dependsOn)
|
|
166
|
+
Shows what components THIS component uses:
|
|
167
|
+
- Agent → Skills it applies, Commands it triggers
|
|
168
|
+
- Workflow → Agents it orchestrates, Skills applied, Commands available
|
|
169
|
+
- Skill → Commands or MCPs it may use
|
|
170
|
+
|
|
171
|
+
### Reverse Dependencies (usedBy)
|
|
172
|
+
Shows what components USE this component:
|
|
173
|
+
- Agent → Which workflows orchestrate it
|
|
174
|
+
- Skill → Which agents apply it, which workflows include it
|
|
175
|
+
- Command → Which agents trigger it, which workflows include it
|
|
176
|
+
|
|
177
|
+
## Use Cases
|
|
178
|
+
|
|
179
|
+
### 1. Impact Analysis
|
|
180
|
+
Before modifying a component, see what depends on it:
|
|
181
|
+
```bash
|
|
182
|
+
/alignment:deps skill:methodology/test-driven-development
|
|
183
|
+
# Shows all agents and workflows that would be affected
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### 2. Workflow Understanding
|
|
187
|
+
Understand what a workflow does and what it orchestrates:
|
|
188
|
+
```bash
|
|
189
|
+
/alignment:deps workflow:security/security-audit
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### 3. Skill Discovery
|
|
193
|
+
Find which agents have a particular skill:
|
|
194
|
+
```bash
|
|
195
|
+
/alignment:deps skill:security/owasp
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### 4. Command Tracing
|
|
199
|
+
Find which agents trigger a command:
|
|
200
|
+
```bash
|
|
201
|
+
/alignment:deps command:/git:commit
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Related Commands
|
|
205
|
+
|
|
206
|
+
- `/alignment:health` - Check overall system alignment health
|
|
207
|
+
- `/omega:principles` - View Omega principles
|
|
208
|
+
|
|
209
|
+
## See Also
|
|
210
|
+
|
|
211
|
+
- [Optimized Alignment Principle](/concepts/alignment-principle)
|
|
212
|
+
- [Agents Overview](/agents/overview)
|
|
213
|
+
- [Workflows Overview](/workflows/overview)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Check the alignment health status of the OMGKIT system
|
|
3
|
+
argument-hint:
|
|
4
|
+
allowed-tools: Read, Bash, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Alignment Health Check
|
|
8
|
+
|
|
9
|
+
Check the health status of OMGKIT's component alignment system.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
This command validates that:
|
|
14
|
+
1. **Registry Sync** - registry.yaml matches actual component files
|
|
15
|
+
2. **Dependency Integrity** - All references point to existing components
|
|
16
|
+
3. **Format Compliance** - All component IDs use correct formats
|
|
17
|
+
4. **Hierarchy Respect** - Components only reference appropriate levels
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
/alignment:health
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Output
|
|
26
|
+
|
|
27
|
+
The command provides a comprehensive health report:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
🔮 OMGKIT Alignment Health Report
|
|
31
|
+
=================================
|
|
32
|
+
|
|
33
|
+
Registry Sync Status: ✓ ALIGNED / ⚠ DRIFT DETECTED
|
|
34
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
35
|
+
|
|
36
|
+
📊 Component Counts:
|
|
37
|
+
Agents: 33 registered, 33 actual ✓
|
|
38
|
+
Skills: 127 actual ✓
|
|
39
|
+
Commands: 111 actual ✓
|
|
40
|
+
Workflows: 49 registered, 49 actual ✓
|
|
41
|
+
|
|
42
|
+
🔗 Dependency Health:
|
|
43
|
+
Agent→Skill refs: 153 valid ✓
|
|
44
|
+
Agent→Command refs: 172 valid ✓
|
|
45
|
+
Workflow→Agent refs: 156 valid ✓
|
|
46
|
+
|
|
47
|
+
Overall: ✓ HEALTHY
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## What Gets Checked
|
|
51
|
+
|
|
52
|
+
### 1. Component Count Validation
|
|
53
|
+
Verifies that the number of registered components matches actual files:
|
|
54
|
+
- All agents in registry exist as files
|
|
55
|
+
- All workflows in registry exist as files
|
|
56
|
+
- No orphaned entries (registry entries without files)
|
|
57
|
+
- No missing entries (files without registry entries)
|
|
58
|
+
|
|
59
|
+
### 2. Dependency Reference Validation
|
|
60
|
+
Verifies all dependency references are valid:
|
|
61
|
+
- Agent skill references point to existing skills
|
|
62
|
+
- Agent command references point to existing commands
|
|
63
|
+
- Workflow agent references point to existing agents
|
|
64
|
+
- Workflow skill references point to existing skills
|
|
65
|
+
- Workflow command references point to existing commands
|
|
66
|
+
|
|
67
|
+
### 3. Format Compliance
|
|
68
|
+
Verifies all component IDs use correct formats:
|
|
69
|
+
- Skills: `category/skill-name`
|
|
70
|
+
- Commands: `/namespace:command-name`
|
|
71
|
+
- Agents: `kebab-case`
|
|
72
|
+
- Workflows: `category/workflow-name`
|
|
73
|
+
|
|
74
|
+
### 4. Hierarchy Validation
|
|
75
|
+
Verifies the Optimized Alignment Principle:
|
|
76
|
+
- Level 0: MCPs (foundation)
|
|
77
|
+
- Level 1: Commands → use MCPs
|
|
78
|
+
- Level 2: Skills → use Commands, MCPs
|
|
79
|
+
- Level 3: Agents → use Skills, Commands, MCPs
|
|
80
|
+
- Level 4: Workflows → use Agents, Skills, Commands, MCPs
|
|
81
|
+
|
|
82
|
+
## Troubleshooting
|
|
83
|
+
|
|
84
|
+
If the health check reports issues:
|
|
85
|
+
|
|
86
|
+
### Registry Drift
|
|
87
|
+
```bash
|
|
88
|
+
# Check specific component
|
|
89
|
+
/alignment:deps agent:fullstack-developer
|
|
90
|
+
|
|
91
|
+
# Review the registry
|
|
92
|
+
cat plugin/registry.yaml | grep fullstack-developer
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Missing References
|
|
96
|
+
```bash
|
|
97
|
+
# Verify skill exists
|
|
98
|
+
ls plugin/skills/methodology/writing-plans/SKILL.md
|
|
99
|
+
|
|
100
|
+
# Verify command exists
|
|
101
|
+
ls plugin/commands/dev/feature.md
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Format Issues
|
|
105
|
+
Ensure component references follow the correct format:
|
|
106
|
+
- Skills must have category prefix: `methodology/writing-plans`
|
|
107
|
+
- Commands must have namespace: `/dev:feature`
|
|
108
|
+
- Agents must be kebab-case: `fullstack-developer`
|
|
109
|
+
|
|
110
|
+
## Related Commands
|
|
111
|
+
|
|
112
|
+
- `/alignment:deps <component>` - Show dependency graph for any component
|
|
113
|
+
- `/omega:principles` - View the Omega principles including alignment
|
|
114
|
+
|
|
115
|
+
## See Also
|
|
116
|
+
|
|
117
|
+
- [Optimized Alignment Principle](/concepts/alignment-principle)
|
|
118
|
+
- [Registry Documentation](/concepts/registry)
|
package/plugin/registry.yaml
CHANGED
|
@@ -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.
|
|
3
|
+
# Version: 2.18.0
|
|
4
4
|
# Updated: 2026-01-02
|
|
5
5
|
|
|
6
|
-
version: "2.
|
|
6
|
+
version: "2.17.0"
|
|
7
7
|
|
|
8
8
|
# =============================================================================
|
|
9
9
|
# OPTIMIZED ALIGNMENT PRINCIPLE (OAP)
|
|
@@ -449,21 +449,7 @@ agents:
|
|
|
449
449
|
# ---------------------------------------------------------------------------
|
|
450
450
|
# SPECIALIZED AGENTS
|
|
451
451
|
# ---------------------------------------------------------------------------
|
|
452
|
-
autonomous-orchestrator
|
|
453
|
-
file: agents/autonomous-orchestrator.yaml
|
|
454
|
-
description: State-driven autonomous project execution
|
|
455
|
-
skills:
|
|
456
|
-
- autonomous/project-orchestration
|
|
457
|
-
commands:
|
|
458
|
-
- /auto:init
|
|
459
|
-
- /auto:start
|
|
460
|
-
- /auto:status
|
|
461
|
-
- /auto:next
|
|
462
|
-
- /auto:approve
|
|
463
|
-
- /auto:reject
|
|
464
|
-
- /auto:verify
|
|
465
|
-
- /auto:checkpoint
|
|
466
|
-
- /auto:resume
|
|
452
|
+
# Note: autonomous-orchestrator uses YAML format and is handled separately
|
|
467
453
|
|
|
468
454
|
domain-decomposer:
|
|
469
455
|
file: agents/domain-decomposer.md
|
|
@@ -542,6 +528,7 @@ skill_categories:
|
|
|
542
528
|
# All valid command namespace prefixes
|
|
543
529
|
|
|
544
530
|
command_namespaces:
|
|
531
|
+
- alignment # Alignment and dependency graph
|
|
545
532
|
- auto # Autonomous orchestration
|
|
546
533
|
- context # Context management
|
|
547
534
|
- data # Data engineering
|
|
@@ -578,15 +565,15 @@ workflows:
|
|
|
578
565
|
commands: [/planning:plan, /dev:feature, /dev:test, /dev:review, /git:pr]
|
|
579
566
|
|
|
580
567
|
development/bug-fix:
|
|
581
|
-
agents: [debugger, fullstack-developer, tester,
|
|
568
|
+
agents: [debugger, fullstack-developer, tester, git-manager]
|
|
582
569
|
skills:
|
|
583
570
|
- methodology/systematic-debugging
|
|
584
571
|
- methodology/root-cause-tracing
|
|
585
572
|
- methodology/test-driven-development
|
|
586
|
-
commands: [/dev:fix, /dev:fix-hard, /dev:test, /git:cm]
|
|
573
|
+
commands: [/dev:fix, /dev:fix-hard, /dev:fix-test, /git:cm]
|
|
587
574
|
|
|
588
575
|
development/refactor:
|
|
589
|
-
agents: [
|
|
576
|
+
agents: [code-reviewer, fullstack-developer, tester, git-manager]
|
|
590
577
|
skills:
|
|
591
578
|
- methodology/verification-before-completion
|
|
592
579
|
- methodology/test-driven-development
|
|
@@ -618,31 +605,31 @@ workflows:
|
|
|
618
605
|
commands: [/planning:research, /planning:plan-detailed, /dev:feature, /dev:test, /quality:security-scan]
|
|
619
606
|
|
|
620
607
|
ai-engineering/fine-tuning:
|
|
621
|
-
agents: [
|
|
608
|
+
agents: [researcher, planner, fullstack-developer, tester]
|
|
622
609
|
skills:
|
|
623
610
|
- ai-engineering/finetuning
|
|
624
611
|
- ai-engineering/dataset-engineering
|
|
625
612
|
- ai-engineering/evaluation-methodology
|
|
626
|
-
commands: [/planning:plan, /
|
|
613
|
+
commands: [/planning:plan, /dev:feature, /dev:test]
|
|
627
614
|
|
|
628
615
|
ai-engineering/prompt-engineering:
|
|
629
|
-
agents: [researcher,
|
|
616
|
+
agents: [researcher, tester]
|
|
630
617
|
skills:
|
|
631
618
|
- ai-engineering/prompt-engineering
|
|
632
619
|
- ai-engineering/evaluation-methodology
|
|
633
|
-
commands: [/planning:research, /dev:
|
|
620
|
+
commands: [/planning:research, /dev:test]
|
|
634
621
|
|
|
635
622
|
ai-engineering/model-evaluation:
|
|
636
|
-
agents: [
|
|
623
|
+
agents: [researcher, planner, tester]
|
|
637
624
|
skills:
|
|
638
625
|
- ai-engineering/ai-system-evaluation
|
|
639
626
|
- ai-engineering/evaluation-methodology
|
|
640
627
|
- ai-engineering/dataset-engineering
|
|
641
|
-
commands: [/planning:plan, /
|
|
628
|
+
commands: [/planning:plan, /dev:test]
|
|
642
629
|
|
|
643
630
|
# Security workflows
|
|
644
631
|
security/security-audit:
|
|
645
|
-
agents: [security-auditor, fullstack-developer, docs-manager]
|
|
632
|
+
agents: [security-auditor, vulnerability-scanner, code-reviewer, fullstack-developer, docs-manager]
|
|
646
633
|
skills:
|
|
647
634
|
- security/owasp
|
|
648
635
|
- security/security-hardening
|
|
@@ -659,7 +646,7 @@ workflows:
|
|
|
659
646
|
|
|
660
647
|
# Database workflows
|
|
661
648
|
database/schema-design:
|
|
662
|
-
agents: [database-admin,
|
|
649
|
+
agents: [database-admin, planner, tester]
|
|
663
650
|
skills:
|
|
664
651
|
- databases/database-schema-design
|
|
665
652
|
- databases/postgresql
|
|
@@ -667,20 +654,20 @@ workflows:
|
|
|
667
654
|
commands: [/planning:plan, /dev:feature, /dev:test]
|
|
668
655
|
|
|
669
656
|
database/migration:
|
|
670
|
-
agents: [database-admin,
|
|
657
|
+
agents: [database-admin, planner, tester]
|
|
671
658
|
skills:
|
|
672
659
|
- databases/database-migration
|
|
673
|
-
commands: [/planning:plan, /dev:
|
|
660
|
+
commands: [/planning:plan, /dev:test]
|
|
674
661
|
|
|
675
662
|
database/optimization:
|
|
676
|
-
agents: [database-admin,
|
|
663
|
+
agents: [database-admin, tester]
|
|
677
664
|
skills:
|
|
678
665
|
- databases/database-optimization
|
|
679
|
-
commands: [/quality:optimize, /
|
|
666
|
+
commands: [/quality:optimize, /dev:test]
|
|
680
667
|
|
|
681
668
|
# API workflows
|
|
682
669
|
api/api-design:
|
|
683
|
-
agents: [api-designer,
|
|
670
|
+
agents: [api-designer, planner, docs-manager, code-reviewer]
|
|
684
671
|
skills:
|
|
685
672
|
- backend/api-architecture
|
|
686
673
|
commands: [/planning:plan, /quality:api-gen, /planning:doc, /dev:review]
|
|
@@ -694,21 +681,21 @@ workflows:
|
|
|
694
681
|
|
|
695
682
|
# Omega workflows
|
|
696
683
|
omega/10x-improvement:
|
|
697
|
-
agents: [oracle, brainstormer, fullstack-developer, tester]
|
|
684
|
+
agents: [oracle, architect, brainstormer, fullstack-developer, tester, journal-writer]
|
|
698
685
|
skills:
|
|
699
686
|
- omega/omega-thinking
|
|
700
687
|
- omega/omega-coding
|
|
701
688
|
commands: [/omega:10x, /planning:brainstorm, /dev:feature, /dev:test]
|
|
702
689
|
|
|
703
690
|
omega/100x-architecture:
|
|
704
|
-
agents: [oracle, architect, researcher]
|
|
691
|
+
agents: [oracle, architect, planner, researcher]
|
|
705
692
|
skills:
|
|
706
693
|
- omega/omega-architecture
|
|
707
694
|
- omega/omega-thinking
|
|
708
695
|
commands: [/omega:100x, /planning:plan-detailed]
|
|
709
696
|
|
|
710
697
|
omega/1000x-innovation:
|
|
711
|
-
agents: [oracle, researcher, brainstormer]
|
|
698
|
+
agents: [oracle, researcher, brainstormer, architect]
|
|
712
699
|
skills:
|
|
713
700
|
- omega/omega-thinking
|
|
714
701
|
- omega/omega-architecture
|
|
@@ -716,27 +703,27 @@ workflows:
|
|
|
716
703
|
|
|
717
704
|
# Sprint workflows
|
|
718
705
|
sprint/sprint-setup:
|
|
719
|
-
agents: [sprint-master, planner]
|
|
706
|
+
agents: [sprint-master, planner, project-manager]
|
|
720
707
|
skills:
|
|
721
708
|
- omega/omega-sprint
|
|
722
709
|
commands: [/sprint:vision-set, /sprint:backlog-add, /sprint:backlog-prioritize, /sprint:sprint-new, /sprint:sprint-start]
|
|
723
710
|
|
|
724
711
|
sprint/sprint-execution:
|
|
725
|
-
agents: [sprint-master, fullstack-developer, tester, debugger]
|
|
712
|
+
agents: [sprint-master, fullstack-developer, tester, debugger, project-manager]
|
|
726
713
|
skills:
|
|
727
714
|
- omega/omega-sprint
|
|
728
715
|
- methodology/executing-plans
|
|
729
716
|
commands: [/sprint:sprint-current, /sprint:team-run, /sprint:team-status, /dev:fix, /sprint:sprint-end]
|
|
730
717
|
|
|
731
718
|
sprint/sprint-retrospective:
|
|
732
|
-
agents: [sprint-master,
|
|
719
|
+
agents: [sprint-master, project-manager, journal-writer]
|
|
733
720
|
skills:
|
|
734
721
|
- omega/omega-sprint
|
|
735
722
|
commands: [/sprint:sprint-end, /planning:doc]
|
|
736
723
|
|
|
737
724
|
# Fullstack workflows
|
|
738
725
|
fullstack/full-feature:
|
|
739
|
-
agents: [planner,
|
|
726
|
+
agents: [planner, database-admin, api-designer, ui-ux-designer, fullstack-developer, tester, code-reviewer, git-manager]
|
|
740
727
|
skills:
|
|
741
728
|
- methodology/writing-plans
|
|
742
729
|
- databases/database-schema-design
|
|
@@ -745,7 +732,7 @@ workflows:
|
|
|
745
732
|
commands: [/planning:plan-detailed, /dev:feature, /dev:test, /dev:review, /git:pr]
|
|
746
733
|
|
|
747
734
|
fullstack/authentication:
|
|
748
|
-
agents: [
|
|
735
|
+
agents: [planner, fullstack-developer, security-auditor, tester]
|
|
749
736
|
skills:
|
|
750
737
|
- security/oauth
|
|
751
738
|
- security/better-auth
|
|
@@ -755,21 +742,21 @@ workflows:
|
|
|
755
742
|
|
|
756
743
|
# Quality workflows
|
|
757
744
|
quality/performance-optimization:
|
|
758
|
-
agents: [
|
|
745
|
+
agents: [fullstack-developer, tester]
|
|
759
746
|
skills:
|
|
760
747
|
- ai-engineering/inference-optimization
|
|
761
748
|
- databases/database-optimization
|
|
762
|
-
commands: [/quality:optimize, /
|
|
749
|
+
commands: [/quality:optimize, /dev:test]
|
|
763
750
|
|
|
764
751
|
# Research workflows
|
|
765
752
|
research/technology-research:
|
|
766
|
-
agents: [researcher,
|
|
753
|
+
agents: [researcher, oracle, docs-manager]
|
|
767
754
|
skills:
|
|
768
755
|
- methodology/research-validation
|
|
769
756
|
commands: [/planning:research, /planning:doc]
|
|
770
757
|
|
|
771
758
|
research/best-practices:
|
|
772
|
-
agents: [researcher, fullstack-developer]
|
|
759
|
+
agents: [researcher, planner, fullstack-developer]
|
|
773
760
|
skills:
|
|
774
761
|
- methodology/research-validation
|
|
775
762
|
commands: [/planning:research, /planning:plan, /dev:feature]
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
# OMGKIT Before-Commit Rules v1.0
|
|
2
|
+
|
|
3
|
+
> Comprehensive quality gates that MUST pass before any commit to OMGKIT.
|
|
4
|
+
> Run `npm test` to validate all rules automatically.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This document defines the mandatory validation checks that must pass before committing changes to OMGKIT. These rules ensure system integrity, documentation quality, and proper command registration.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## 1. Test Validation (MANDATORY)
|
|
15
|
+
|
|
16
|
+
All commits MUST pass the complete test suite:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm test
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Minimum Requirements:**
|
|
23
|
+
- All tests must pass (0 failures)
|
|
24
|
+
- Current baseline: 3700+ tests
|
|
25
|
+
- Coverage must not decrease
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 2. Registry Integrity
|
|
30
|
+
|
|
31
|
+
### 2.1 Registry Sync
|
|
32
|
+
|
|
33
|
+
The `registry.yaml` file must be synchronized with actual component files:
|
|
34
|
+
|
|
35
|
+
| Check | Description |
|
|
36
|
+
|-------|-------------|
|
|
37
|
+
| Agent Sync | All registered agents exist as `.md` files in `plugin/agents/` |
|
|
38
|
+
| Workflow Sync | All registered workflows exist as `.md` files in `plugin/workflows/` |
|
|
39
|
+
| Namespace Sync | All command namespaces in registry exist as directories |
|
|
40
|
+
| Category Sync | All skill categories in registry exist as directories |
|
|
41
|
+
|
|
42
|
+
**Validation Command:**
|
|
43
|
+
```bash
|
|
44
|
+
npm test -- tests/validation/registry-sync.test.js
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 2.2 Dependency Graph Integrity
|
|
48
|
+
|
|
49
|
+
All component references must be valid:
|
|
50
|
+
|
|
51
|
+
| Reference Type | Format | Example |
|
|
52
|
+
|----------------|--------|---------|
|
|
53
|
+
| Skill | `category/skill-name` | `methodology/writing-plans` |
|
|
54
|
+
| Command | `/namespace:command-name` | `/dev:feature` |
|
|
55
|
+
| Agent | `kebab-case` | `fullstack-developer` |
|
|
56
|
+
| Workflow | `category/workflow-name` | `development/feature` |
|
|
57
|
+
|
|
58
|
+
**Validation Command:**
|
|
59
|
+
```bash
|
|
60
|
+
npm test -- tests/validation/dependency-graph.test.js
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 3. Command Registration (CRITICAL)
|
|
66
|
+
|
|
67
|
+
### 3.1 Slash Command Requirements
|
|
68
|
+
|
|
69
|
+
Every command in OMGKIT MUST be registered as a Claude Code slash command. This means:
|
|
70
|
+
|
|
71
|
+
**File Location:**
|
|
72
|
+
- Commands must be in `plugin/commands/<namespace>/<command-name>.md`
|
|
73
|
+
- Namespace directory must exist
|
|
74
|
+
|
|
75
|
+
**Format Requirements:**
|
|
76
|
+
- Command ID format: `/namespace:command-name`
|
|
77
|
+
- All lowercase, hyphens for word separation
|
|
78
|
+
- Namespace must be registered in `registry.yaml` under `command_namespaces`
|
|
79
|
+
|
|
80
|
+
**Frontmatter Requirements:**
|
|
81
|
+
```yaml
|
|
82
|
+
---
|
|
83
|
+
description: Clear description of what the command does
|
|
84
|
+
argument-hint: <optional argument format>
|
|
85
|
+
allowed-tools: List, Of, Allowed, Tools
|
|
86
|
+
---
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### 3.2 Command Registration Checklist
|
|
90
|
+
|
|
91
|
+
| Requirement | Description |
|
|
92
|
+
|-------------|-------------|
|
|
93
|
+
| **File exists** | `plugin/commands/<namespace>/<name>.md` exists |
|
|
94
|
+
| **Namespace registered** | Namespace in `registry.yaml` `command_namespaces` |
|
|
95
|
+
| **Valid frontmatter** | Has `description` field |
|
|
96
|
+
| **Content present** | Body has usage instructions |
|
|
97
|
+
| **Format compliance** | Follows `/namespace:command-name` format |
|
|
98
|
+
|
|
99
|
+
### 3.3 Current Command Namespaces
|
|
100
|
+
|
|
101
|
+
All commands must belong to one of these registered namespaces:
|
|
102
|
+
|
|
103
|
+
| Namespace | Purpose |
|
|
104
|
+
|-----------|---------|
|
|
105
|
+
| `dev` | Development commands (feature, fix, test, tdd, review) |
|
|
106
|
+
| `planning` | Planning commands (plan, brainstorm, research, doc) |
|
|
107
|
+
| `git` | Git operations (commit, ship, pr, deploy) |
|
|
108
|
+
| `quality` | Quality commands (security-scan, refactor, optimize) |
|
|
109
|
+
| `omega` | Omega thinking (10x, 100x, 1000x, principles) |
|
|
110
|
+
| `sprint` | Sprint management (sprint-new, team-run, backlog) |
|
|
111
|
+
| `workflow` | Workflow triggers (feature, bug-fix, rag-development) |
|
|
112
|
+
| `auto` | Autonomous mode (init, start, approve, reject) |
|
|
113
|
+
| `context` | Context management (mode, index, load, checkpoint) |
|
|
114
|
+
| `design` | UI/UX design (screenshot, enhance, cro) |
|
|
115
|
+
| `alignment` | System alignment (health, deps) |
|
|
116
|
+
| `security` | Security commands (scan, audit) |
|
|
117
|
+
| `data` | Data commands (pipeline, quality) |
|
|
118
|
+
| `ml` | ML commands (train, evaluate) |
|
|
119
|
+
| `game` | Game dev commands (balance, optimize) |
|
|
120
|
+
| `iot` | IoT commands (provision) |
|
|
121
|
+
| `perf` | Performance commands (profile, benchmark) |
|
|
122
|
+
| `domain` | Domain modeling (analyze, map) |
|
|
123
|
+
| `platform` | Platform engineering (blueprint) |
|
|
124
|
+
| `sre` | SRE commands (dashboard) |
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 4. Documentation Quality Standards
|
|
129
|
+
|
|
130
|
+
### 4.1 Agent Documentation
|
|
131
|
+
|
|
132
|
+
**Minimum Requirements:**
|
|
133
|
+
|
|
134
|
+
| Field | Requirement |
|
|
135
|
+
|-------|-------------|
|
|
136
|
+
| File location | `plugin/agents/<agent-name>.md` |
|
|
137
|
+
| Frontmatter | `skills` and `commands` arrays |
|
|
138
|
+
| Description | 50-200 words explaining purpose |
|
|
139
|
+
| Responsibilities | 3-5 primary, 2-4 secondary |
|
|
140
|
+
| Minimum lines | 50+ lines of content |
|
|
141
|
+
|
|
142
|
+
**Required Sections:**
|
|
143
|
+
- Description/Overview
|
|
144
|
+
- Primary Responsibilities
|
|
145
|
+
- Skills Used
|
|
146
|
+
- Commands Triggered
|
|
147
|
+
- Usage Examples
|
|
148
|
+
|
|
149
|
+
### 4.2 Command Documentation
|
|
150
|
+
|
|
151
|
+
**Minimum Requirements:**
|
|
152
|
+
|
|
153
|
+
| Field | Requirement |
|
|
154
|
+
|-------|-------------|
|
|
155
|
+
| File location | `plugin/commands/<namespace>/<name>.md` |
|
|
156
|
+
| Frontmatter | `description`, `allowed-tools` |
|
|
157
|
+
| Description | Clear, actionable description |
|
|
158
|
+
| Minimum lines | 15+ lines of content |
|
|
159
|
+
|
|
160
|
+
**Required Frontmatter Fields:**
|
|
161
|
+
```yaml
|
|
162
|
+
---
|
|
163
|
+
description: What the command does (required)
|
|
164
|
+
argument-hint: Expected arguments (recommended)
|
|
165
|
+
allowed-tools: Comma-separated tool list (required)
|
|
166
|
+
---
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### 4.3 Skill Documentation
|
|
170
|
+
|
|
171
|
+
**Minimum Requirements:**
|
|
172
|
+
|
|
173
|
+
| Field | Requirement |
|
|
174
|
+
|-------|-------------|
|
|
175
|
+
| File location | `plugin/skills/<category>/<name>/SKILL.md` |
|
|
176
|
+
| Frontmatter | `name`, `description` |
|
|
177
|
+
| Description | Third-person, 50-150 words |
|
|
178
|
+
| Minimum lines | 30+ lines of content |
|
|
179
|
+
|
|
180
|
+
**Must Follow:** `plugin/stdrules/SKILL_STANDARDS.md`
|
|
181
|
+
|
|
182
|
+
### 4.4 Workflow Documentation
|
|
183
|
+
|
|
184
|
+
**Minimum Requirements:**
|
|
185
|
+
|
|
186
|
+
| Field | Requirement |
|
|
187
|
+
|-------|-------------|
|
|
188
|
+
| File location | `plugin/workflows/<category>/<name>.md` |
|
|
189
|
+
| Frontmatter | name, description, category, complexity, agents, skills, commands |
|
|
190
|
+
| Steps | Clear step-by-step process |
|
|
191
|
+
| Quality Gates | Completion checklist |
|
|
192
|
+
| Minimum lines | 50+ lines of content |
|
|
193
|
+
|
|
194
|
+
**Required Frontmatter Fields:**
|
|
195
|
+
```yaml
|
|
196
|
+
---
|
|
197
|
+
name: workflow-name
|
|
198
|
+
description: What the workflow accomplishes
|
|
199
|
+
category: workflow-category
|
|
200
|
+
complexity: low|medium|high|very-high
|
|
201
|
+
estimated-time: Time estimate
|
|
202
|
+
agents:
|
|
203
|
+
- agent-name
|
|
204
|
+
skills:
|
|
205
|
+
- category/skill-name
|
|
206
|
+
commands:
|
|
207
|
+
- /namespace:command-name
|
|
208
|
+
prerequisites:
|
|
209
|
+
- Prerequisite 1
|
|
210
|
+
---
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## 5. Content Quality Rules
|
|
216
|
+
|
|
217
|
+
### 5.1 Prohibited Content
|
|
218
|
+
|
|
219
|
+
- No placeholder text: `TODO`, `FIXME`, `XXX`, `HACK`
|
|
220
|
+
- No empty sections
|
|
221
|
+
- No broken internal links
|
|
222
|
+
- No duplicate content across components
|
|
223
|
+
|
|
224
|
+
### 5.2 Required Content Elements
|
|
225
|
+
|
|
226
|
+
**Code Blocks:**
|
|
227
|
+
- Must have language specifier
|
|
228
|
+
- Must be properly indented
|
|
229
|
+
- Must be functional examples
|
|
230
|
+
|
|
231
|
+
**Links:**
|
|
232
|
+
- Internal links must be relative
|
|
233
|
+
- External links must be valid
|
|
234
|
+
- All referenced files must exist
|
|
235
|
+
|
|
236
|
+
### 5.3 Formatting Standards
|
|
237
|
+
|
|
238
|
+
- Use proper Markdown heading hierarchy (h1 > h2 > h3)
|
|
239
|
+
- Use consistent list formatting
|
|
240
|
+
- Use tables for structured data
|
|
241
|
+
- Use code blocks for commands/examples
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 6. Cross-Reference Validation
|
|
246
|
+
|
|
247
|
+
### 6.1 Forward References (dependsOn)
|
|
248
|
+
|
|
249
|
+
All references in component frontmatter must point to existing components:
|
|
250
|
+
|
|
251
|
+
| Source | Reference Type | Target |
|
|
252
|
+
|--------|---------------|--------|
|
|
253
|
+
| Agent | skills | Skill files |
|
|
254
|
+
| Agent | commands | Command files |
|
|
255
|
+
| Workflow | agents | Agent files |
|
|
256
|
+
| Workflow | skills | Skill files |
|
|
257
|
+
| Workflow | commands | Command files |
|
|
258
|
+
|
|
259
|
+
### 6.2 Reverse References (usedBy)
|
|
260
|
+
|
|
261
|
+
The dependency graph must correctly compute:
|
|
262
|
+
|
|
263
|
+
| Component | usedBy |
|
|
264
|
+
|-----------|--------|
|
|
265
|
+
| Skill | Agents that use it, Workflows that include it |
|
|
266
|
+
| Command | Agents that trigger it, Workflows that include it |
|
|
267
|
+
| Agent | Workflows that orchestrate it |
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
## 7. Version Management
|
|
272
|
+
|
|
273
|
+
### 7.1 Version Bump Requirements
|
|
274
|
+
|
|
275
|
+
When releasing:
|
|
276
|
+
- Bump `package.json` version
|
|
277
|
+
- Bump `plugin/registry.yaml` version
|
|
278
|
+
- Update version comment in registry header
|
|
279
|
+
|
|
280
|
+
### 7.2 Changelog
|
|
281
|
+
|
|
282
|
+
Document changes in commit message following conventional commits:
|
|
283
|
+
- `feat:` New features
|
|
284
|
+
- `fix:` Bug fixes
|
|
285
|
+
- `docs:` Documentation changes
|
|
286
|
+
- `chore:` Maintenance tasks
|
|
287
|
+
- `refactor:` Code refactoring
|
|
288
|
+
- `test:` Test additions/changes
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## 8. Pre-Commit Checklist
|
|
293
|
+
|
|
294
|
+
### Quick Validation
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
# Run all tests
|
|
298
|
+
npm test
|
|
299
|
+
|
|
300
|
+
# Check specific validations
|
|
301
|
+
npm test -- tests/validation/registry-sync.test.js
|
|
302
|
+
npm test -- tests/validation/dependency-graph.test.js
|
|
303
|
+
npm test -- tests/validation/before-commit.test.js
|
|
304
|
+
npm test -- tests/validation/doc-quality.test.js
|
|
305
|
+
npm test -- tests/validation/command-registration.test.js
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Manual Checklist
|
|
309
|
+
|
|
310
|
+
- [ ] All tests pass (`npm test`)
|
|
311
|
+
- [ ] Registry.yaml synced with actual files
|
|
312
|
+
- [ ] All commands registered as slash commands
|
|
313
|
+
- [ ] All command namespaces in registry
|
|
314
|
+
- [ ] Documentation meets quality standards
|
|
315
|
+
- [ ] No broken internal links
|
|
316
|
+
- [ ] Dependency graph valid
|
|
317
|
+
- [ ] Version bumped (if releasing)
|
|
318
|
+
- [ ] Docs regenerated (`npm run docs:generate`)
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## 9. Automated Validation
|
|
323
|
+
|
|
324
|
+
### Test Files
|
|
325
|
+
|
|
326
|
+
| Test File | Purpose |
|
|
327
|
+
|-----------|---------|
|
|
328
|
+
| `registry-sync.test.js` | Registry matches actual files |
|
|
329
|
+
| `dependency-graph.test.js` | Dependency references valid |
|
|
330
|
+
| `before-commit.test.js` | All pre-commit rules |
|
|
331
|
+
| `doc-quality.test.js` | Documentation quality |
|
|
332
|
+
| `command-registration.test.js` | Command slash registration |
|
|
333
|
+
| `format.test.js` | Format compliance |
|
|
334
|
+
| `alignment.test.js` | Alignment principle |
|
|
335
|
+
|
|
336
|
+
### Running Validation
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
# Full validation
|
|
340
|
+
npm test
|
|
341
|
+
|
|
342
|
+
# Quick validation (key tests only)
|
|
343
|
+
npm test -- tests/validation/before-commit.test.js
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## 10. Enforcement
|
|
349
|
+
|
|
350
|
+
### CI/CD Integration
|
|
351
|
+
|
|
352
|
+
These rules are enforced in CI:
|
|
353
|
+
- All tests must pass before merge
|
|
354
|
+
- Documentation must be regenerated
|
|
355
|
+
- Version must be bumped for releases
|
|
356
|
+
|
|
357
|
+
### Local Development
|
|
358
|
+
|
|
359
|
+
Before committing:
|
|
360
|
+
1. Run `npm test`
|
|
361
|
+
2. Fix any failures
|
|
362
|
+
3. Re-run until all pass
|
|
363
|
+
4. Commit with proper message
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
|
|
367
|
+
*Think Omega. Build Omega. Be Omega.*
|