omgkit 1.0.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 (179) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +252 -0
  3. package/bin/omgkit.js +122 -0
  4. package/lib/.gitkeep +0 -0
  5. package/lib/cli.js +513 -0
  6. package/lib/index.js +35 -0
  7. package/package.json +52 -0
  8. package/plugin/.claude-plugin/.gitkeep +0 -0
  9. package/plugin/.claude-plugin/plugin.json +11 -0
  10. package/plugin/agents/.gitkeep +0 -0
  11. package/plugin/agents/api-designer.md +66 -0
  12. package/plugin/agents/architect.md +81 -0
  13. package/plugin/agents/brainstormer.md +60 -0
  14. package/plugin/agents/cicd-manager.md +50 -0
  15. package/plugin/agents/code-reviewer.md +45 -0
  16. package/plugin/agents/copywriter.md +48 -0
  17. package/plugin/agents/database-admin.md +49 -0
  18. package/plugin/agents/debugger.md +55 -0
  19. package/plugin/agents/docs-manager.md +52 -0
  20. package/plugin/agents/fullstack-developer.md +67 -0
  21. package/plugin/agents/git-manager.md +48 -0
  22. package/plugin/agents/journal-writer.md +51 -0
  23. package/plugin/agents/oracle.md +91 -0
  24. package/plugin/agents/pipeline-architect.md +52 -0
  25. package/plugin/agents/planner.md +60 -0
  26. package/plugin/agents/project-manager.md +43 -0
  27. package/plugin/agents/researcher.md +37 -0
  28. package/plugin/agents/scout.md +37 -0
  29. package/plugin/agents/security-auditor.md +53 -0
  30. package/plugin/agents/sprint-master.md +84 -0
  31. package/plugin/agents/tester.md +50 -0
  32. package/plugin/agents/ui-ux-designer.md +61 -0
  33. package/plugin/agents/vulnerability-scanner.md +53 -0
  34. package/plugin/commands/context/.gitkeep +0 -0
  35. package/plugin/commands/context/checkpoint.md +20 -0
  36. package/plugin/commands/context/index.md +17 -0
  37. package/plugin/commands/context/load.md +16 -0
  38. package/plugin/commands/context/mode.md +20 -0
  39. package/plugin/commands/context/spawn-collect.md +14 -0
  40. package/plugin/commands/context/spawn.md +20 -0
  41. package/plugin/commands/design/.gitkeep +0 -0
  42. package/plugin/commands/design/cro.md +27 -0
  43. package/plugin/commands/design/enhance.md +16 -0
  44. package/plugin/commands/design/fast.md +17 -0
  45. package/plugin/commands/design/good.md +23 -0
  46. package/plugin/commands/design/screenshot.md +21 -0
  47. package/plugin/commands/dev/.gitkeep +0 -0
  48. package/plugin/commands/dev/feature.md +25 -0
  49. package/plugin/commands/dev/fix-ci.md +23 -0
  50. package/plugin/commands/dev/fix-fast.md +19 -0
  51. package/plugin/commands/dev/fix-hard.md +25 -0
  52. package/plugin/commands/dev/fix-logs.md +21 -0
  53. package/plugin/commands/dev/fix-test.md +23 -0
  54. package/plugin/commands/dev/fix.md +22 -0
  55. package/plugin/commands/dev/review.md +31 -0
  56. package/plugin/commands/dev/tdd.md +29 -0
  57. package/plugin/commands/dev/test.md +25 -0
  58. package/plugin/commands/git/.gitkeep +0 -0
  59. package/plugin/commands/git/cm.md +13 -0
  60. package/plugin/commands/git/commit.md +31 -0
  61. package/plugin/commands/git/cp.md +14 -0
  62. package/plugin/commands/git/deploy.md +21 -0
  63. package/plugin/commands/git/pr.md +20 -0
  64. package/plugin/commands/git/ship.md +29 -0
  65. package/plugin/commands/omega/.gitkeep +0 -0
  66. package/plugin/commands/omega/1000x.md +41 -0
  67. package/plugin/commands/omega/100x.md +39 -0
  68. package/plugin/commands/omega/10x.md +47 -0
  69. package/plugin/commands/omega/dimensions.md +26 -0
  70. package/plugin/commands/omega/principles.md +43 -0
  71. package/plugin/commands/planning/.gitkeep +0 -0
  72. package/plugin/commands/planning/ask.md +21 -0
  73. package/plugin/commands/planning/brainstorm.md +33 -0
  74. package/plugin/commands/planning/doc.md +28 -0
  75. package/plugin/commands/planning/execute-plan.md +28 -0
  76. package/plugin/commands/planning/plan-detailed.md +32 -0
  77. package/plugin/commands/planning/plan-parallel.md +35 -0
  78. package/plugin/commands/planning/plan.md +39 -0
  79. package/plugin/commands/planning/research.md +39 -0
  80. package/plugin/commands/quality/.gitkeep +0 -0
  81. package/plugin/commands/quality/api-gen.md +25 -0
  82. package/plugin/commands/quality/lint.md +15 -0
  83. package/plugin/commands/quality/optimize.md +23 -0
  84. package/plugin/commands/quality/refactor.md +22 -0
  85. package/plugin/commands/quality/security-scan.md +28 -0
  86. package/plugin/commands/sprint/.gitkeep +0 -0
  87. package/plugin/commands/sprint/backlog-add.md +21 -0
  88. package/plugin/commands/sprint/backlog-prioritize.md +18 -0
  89. package/plugin/commands/sprint/backlog-show.md +25 -0
  90. package/plugin/commands/sprint/init.md +27 -0
  91. package/plugin/commands/sprint/sprint-current.md +22 -0
  92. package/plugin/commands/sprint/sprint-end.md +33 -0
  93. package/plugin/commands/sprint/sprint-new.md +31 -0
  94. package/plugin/commands/sprint/sprint-start.md +17 -0
  95. package/plugin/commands/sprint/team-ask.md +21 -0
  96. package/plugin/commands/sprint/team-run.md +29 -0
  97. package/plugin/commands/sprint/team-status.md +23 -0
  98. package/plugin/commands/sprint/vision-set.md +21 -0
  99. package/plugin/commands/sprint/vision-show.md +15 -0
  100. package/plugin/mcp/.gitkeep +0 -0
  101. package/plugin/mcp/.mcp.json +20 -0
  102. package/plugin/mcp/README.md +68 -0
  103. package/plugin/modes/.gitkeep +0 -0
  104. package/plugin/modes/autonomous.md +48 -0
  105. package/plugin/modes/brainstorm.md +33 -0
  106. package/plugin/modes/deep-research.md +41 -0
  107. package/plugin/modes/default.md +25 -0
  108. package/plugin/modes/implementation.md +35 -0
  109. package/plugin/modes/omega.md +38 -0
  110. package/plugin/modes/orchestration.md +41 -0
  111. package/plugin/modes/review.md +44 -0
  112. package/plugin/modes/token-efficient.md +37 -0
  113. package/plugin/skills/databases/.gitkeep +0 -0
  114. package/plugin/skills/databases/mongodb/SKILL.md +43 -0
  115. package/plugin/skills/databases/postgresql/SKILL.md +43 -0
  116. package/plugin/skills/databases/prisma/SKILL.md +55 -0
  117. package/plugin/skills/databases/redis/SKILL.md +41 -0
  118. package/plugin/skills/devops/.gitkeep +0 -0
  119. package/plugin/skills/devops/aws/SKILL.md +51 -0
  120. package/plugin/skills/devops/docker/SKILL.md +54 -0
  121. package/plugin/skills/devops/github-actions/SKILL.md +63 -0
  122. package/plugin/skills/devops/kubernetes/SKILL.md +64 -0
  123. package/plugin/skills/frameworks/.gitkeep +0 -0
  124. package/plugin/skills/frameworks/django/SKILL.md +47 -0
  125. package/plugin/skills/frameworks/express/SKILL.md +55 -0
  126. package/plugin/skills/frameworks/fastapi/SKILL.md +58 -0
  127. package/plugin/skills/frameworks/laravel/SKILL.md +65 -0
  128. package/plugin/skills/frameworks/nestjs/SKILL.md +67 -0
  129. package/plugin/skills/frameworks/nextjs/SKILL.md +77 -0
  130. package/plugin/skills/frameworks/rails/SKILL.md +56 -0
  131. package/plugin/skills/frameworks/react/SKILL.md +61 -0
  132. package/plugin/skills/frameworks/spring/SKILL.md +70 -0
  133. package/plugin/skills/frameworks/vue/SKILL.md +62 -0
  134. package/plugin/skills/frontend/.gitkeep +0 -0
  135. package/plugin/skills/frontend/accessibility/SKILL.md +52 -0
  136. package/plugin/skills/frontend/frontend-design/SKILL.md +47 -0
  137. package/plugin/skills/frontend/responsive/SKILL.md +46 -0
  138. package/plugin/skills/frontend/shadcn-ui/SKILL.md +58 -0
  139. package/plugin/skills/frontend/tailwindcss/SKILL.md +52 -0
  140. package/plugin/skills/frontend/threejs/SKILL.md +59 -0
  141. package/plugin/skills/languages/.gitkeep +0 -0
  142. package/plugin/skills/languages/javascript/SKILL.md +62 -0
  143. package/plugin/skills/languages/python/SKILL.md +63 -0
  144. package/plugin/skills/languages/typescript/SKILL.md +66 -0
  145. package/plugin/skills/methodology/.gitkeep +0 -0
  146. package/plugin/skills/methodology/brainstorming/SKILL.md +34 -0
  147. package/plugin/skills/methodology/defense-in-depth/SKILL.md +51 -0
  148. package/plugin/skills/methodology/dispatching-parallel-agents/SKILL.md +43 -0
  149. package/plugin/skills/methodology/executing-plans/SKILL.md +34 -0
  150. package/plugin/skills/methodology/finishing-development-branch/SKILL.md +41 -0
  151. package/plugin/skills/methodology/receiving-code-review/SKILL.md +41 -0
  152. package/plugin/skills/methodology/requesting-code-review/SKILL.md +38 -0
  153. package/plugin/skills/methodology/root-cause-tracing/SKILL.md +53 -0
  154. package/plugin/skills/methodology/systematic-debugging/SKILL.md +50 -0
  155. package/plugin/skills/methodology/test-driven-development/SKILL.md +39 -0
  156. package/plugin/skills/methodology/testing-anti-patterns/SKILL.md +50 -0
  157. package/plugin/skills/methodology/token-optimization/SKILL.md +51 -0
  158. package/plugin/skills/methodology/verification-before-completion/SKILL.md +32 -0
  159. package/plugin/skills/methodology/writing-plans/SKILL.md +34 -0
  160. package/plugin/skills/omega/.gitkeep +0 -0
  161. package/plugin/skills/omega/omega-architecture/SKILL.md +59 -0
  162. package/plugin/skills/omega/omega-coding/SKILL.md +61 -0
  163. package/plugin/skills/omega/omega-sprint/SKILL.md +64 -0
  164. package/plugin/skills/omega/omega-testing/SKILL.md +71 -0
  165. package/plugin/skills/omega/omega-thinking/SKILL.md +54 -0
  166. package/plugin/skills/security/.gitkeep +0 -0
  167. package/plugin/skills/security/better-auth/SKILL.md +53 -0
  168. package/plugin/skills/security/oauth/SKILL.md +50 -0
  169. package/plugin/skills/security/owasp/SKILL.md +57 -0
  170. package/plugin/skills/testing/.gitkeep +0 -0
  171. package/plugin/skills/testing/playwright/SKILL.md +60 -0
  172. package/plugin/skills/testing/pytest/SKILL.md +58 -0
  173. package/plugin/skills/testing/vitest/SKILL.md +64 -0
  174. package/templates/.gitkeep +0 -0
  175. package/templates/OMEGA.md +80 -0
  176. package/templates/backlog.yaml +25 -0
  177. package/templates/config.yaml +44 -0
  178. package/templates/settings.json +20 -0
  179. package/templates/vision.yaml +30 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 OMGKIT Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,252 @@
1
+ # 🔮 OMGKIT - Omega-Level Development Kit
2
+
3
+ [![CI](https://github.com/doanchienthangdev/omgkit/actions/workflows/ci.yml/badge.svg)](https://github.com/doanchienthangdev/omgkit/actions/workflows/ci.yml)
4
+ [![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org)
5
+ [![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
6
+
7
+ > **AI Team System for Claude Code**
8
+ > 23 Agents • 54 Commands • 43 Skills • 9 Modes
9
+ > *"Think Omega. Build Omega. Be Omega."*
10
+
11
+ OMGKIT transforms Claude Code into an autonomous AI development team with sprint management, specialized agents, and Omega-level thinking for 10x-1000x productivity improvements.
12
+
13
+ ## ✨ Features
14
+
15
+ | Component | Count | Description |
16
+ |-----------|-------|-------------|
17
+ | **Agents** | 23 | Specialized AI team members |
18
+ | **Commands** | 54 | Slash commands for every task |
19
+ | **Skills** | 43 | Domain expertise modules |
20
+ | **Modes** | 9 | Behavioral configurations |
21
+ | **Sprint Management** | ✅ | Vision, backlog, team autonomy |
22
+ | **Omega Thinking** | ✅ | 7 modes for 10x-1000x solutions |
23
+
24
+ ## 🚀 Installation
25
+
26
+ ```bash
27
+ # Install globally
28
+ npm install -g omgkit
29
+
30
+ # Install Claude Code plugin
31
+ omgkit install
32
+
33
+ # Initialize in your project
34
+ cd your-project
35
+ omgkit init
36
+ ```
37
+
38
+ ## 📋 Quick Start
39
+
40
+ After installation, use these commands in Claude Code:
41
+
42
+ ```bash
43
+ # Set your vision
44
+ /vision:set
45
+
46
+ # Create a sprint (AI proposes tasks)
47
+ /sprint:new --propose
48
+
49
+ # Start the AI team
50
+ /team:run
51
+
52
+ # Or use individual commands
53
+ /feature "add user authentication"
54
+ /fix "login not working"
55
+ /10x "improve performance"
56
+ ```
57
+
58
+ ## 🤖 Agents (23)
59
+
60
+ ### Core Development
61
+ | Agent | Description |
62
+ |-------|-------------|
63
+ | `planner` | Task decomposition, implementation planning |
64
+ | `researcher` | Technology research, best practices |
65
+ | `debugger` | Error analysis, root cause finding |
66
+ | `tester` | Test generation, coverage analysis |
67
+ | `code-reviewer` | Code review with security focus |
68
+ | `scout` | Codebase exploration, file search |
69
+
70
+ ### Operations
71
+ | Agent | Description |
72
+ |-------|-------------|
73
+ | `git-manager` | Git operations, PRs, commits |
74
+ | `docs-manager` | Documentation generation |
75
+ | `project-manager` | Progress tracking, coordination |
76
+ | `database-admin` | Schema design, query optimization |
77
+ | `ui-ux-designer` | UI components, responsive design |
78
+
79
+ ### Extended
80
+ | Agent | Description |
81
+ |-------|-------------|
82
+ | `fullstack-developer` | Full implementation |
83
+ | `cicd-manager` | CI/CD pipeline management |
84
+ | `security-auditor` | Security reviews, audits |
85
+ | `api-designer` | API design, OpenAPI specs |
86
+ | `vulnerability-scanner` | Security scanning |
87
+ | `pipeline-architect` | Pipeline optimization |
88
+
89
+ ### Creative
90
+ | Agent | Description |
91
+ |-------|-------------|
92
+ | `copywriter` | Marketing copy, content |
93
+ | `brainstormer` | Creative exploration |
94
+ | `journal-writer` | Failure documentation |
95
+
96
+ ### Omega Exclusive ⭐
97
+ | Agent | Description |
98
+ |-------|-------------|
99
+ | `oracle` | Deep analysis with 7 thinking modes |
100
+ | `architect` | System design, leverage multiplication |
101
+ | `sprint-master` | Sprint management, team orchestration |
102
+
103
+ ## ⚡ Commands (54)
104
+
105
+ ### Development
106
+ ```bash
107
+ /feature <desc> # Full feature development
108
+ /fix <error> # Debug and fix bugs
109
+ /fix:fast <error> # Quick bug fix
110
+ /fix:hard <error> # Complex bug (deep analysis)
111
+ /test <scope> # Generate tests
112
+ /tdd <feature> # Test-driven development
113
+ /review [file] # Code review
114
+ ```
115
+
116
+ ### Planning
117
+ ```bash
118
+ /plan <task> # Create implementation plan
119
+ /plan:detailed # Detailed plan (2-5 min tasks)
120
+ /brainstorm <topic> # Interactive brainstorming
121
+ /research <topic> # Research technology
122
+ /doc <target> # Generate documentation
123
+ ```
124
+
125
+ ### Git & Deploy
126
+ ```bash
127
+ /commit [message] # Smart commit
128
+ /ship [message] # Commit + PR
129
+ /pr [title] # Create pull request
130
+ /deploy [env] # Deploy to environment
131
+ ```
132
+
133
+ ### Quality
134
+ ```bash
135
+ /security-scan # Scan for vulnerabilities
136
+ /refactor <file> # Improve code structure
137
+ /optimize <file> # Performance optimization
138
+ /lint # Run linting
139
+ ```
140
+
141
+ ### Omega ⭐
142
+ ```bash
143
+ /10x <topic> # Find 10x improvement path
144
+ /100x <topic> # Find 100x paradigm shift
145
+ /1000x <topic> # Find 1000x moonshot
146
+ /principles # Display 7 Omega Principles
147
+ /dimensions # Display 10 Omega Dimensions
148
+ ```
149
+
150
+ ### Sprint Management ⭐
151
+ ```bash
152
+ /vision:set # Set product vision
153
+ /vision:show # Display current vision
154
+ /sprint:new [name] # Create new sprint
155
+ /sprint:start # Start current sprint
156
+ /sprint:current # Show sprint progress
157
+ /sprint:end # End sprint + retrospective
158
+ /backlog:add <task> # Add task to backlog
159
+ /backlog:show # Display backlog
160
+ /team:run [--mode] # Run AI team (full-auto|semi-auto|manual)
161
+ /team:status # Show team activity
162
+ ```
163
+
164
+ ## 🎭 Modes (9)
165
+
166
+ | Mode | Description |
167
+ |------|-------------|
168
+ | `default` | Balanced standard behavior |
169
+ | `brainstorm` | Creative exploration |
170
+ | `token-efficient` | Compressed output (30-70% savings) |
171
+ | `deep-research` | Thorough analysis with citations |
172
+ | `implementation` | Code-focused, minimal prose |
173
+ | `review` | Critical analysis mode |
174
+ | `orchestration` | Multi-task coordination |
175
+ | `omega` ⭐ | 10x-1000x thinking mode |
176
+ | `autonomous` ⭐ | AI team self-management |
177
+
178
+ Switch modes with: `/mode <name>`
179
+
180
+ ## 🔮 Omega Philosophy
181
+
182
+ ### 7 Omega Principles
183
+
184
+ 1. **Ω1 Leverage Multiplication** - Build systems, not features
185
+ 2. **Ω2 Transcendent Abstraction** - Solve classes, not instances
186
+ 3. **Ω3 Agentic Decomposition** - Orchestrate specialists
187
+ 4. **Ω4 Feedback Acceleration** - Compress loops
188
+ 5. **Ω5 Zero-Marginal-Cost Scaling** - Build once, scale infinitely
189
+ 6. **Ω6 Emergent Intelligence** - System > sum of parts
190
+ 7. **Ω7 Aesthetic Perfection** - Excellence always
191
+
192
+ ### 7 Thinking Modes
193
+
194
+ | Mode | Focus |
195
+ |------|-------|
196
+ | 🔭 Telescopic | Zoom out to see big picture |
197
+ | 🔬 Microscopic | First principles analysis |
198
+ | ↔️ Lateral | Different angles and industries |
199
+ | 🔄 Inversion | Learn through failure |
200
+ | ⏳ Temporal | Time dimension analysis |
201
+ | 🕸️ Systemic | Interconnections and emergence |
202
+ | ⚛️ Quantum | Multiple possibilities |
203
+
204
+ ## 🛠️ CLI Commands
205
+
206
+ ```bash
207
+ omgkit install # Install plugin to Claude Code
208
+ omgkit init # Initialize .omgkit/ in project
209
+ omgkit doctor # Check installation status
210
+ omgkit list # List all components
211
+ omgkit update # Update plugin
212
+ omgkit uninstall # Remove plugin
213
+ omgkit help # Show help
214
+ ```
215
+
216
+ ## 📁 Project Structure
217
+
218
+ After `omgkit init`:
219
+
220
+ ```
221
+ your-project/
222
+ ├── .omgkit/
223
+ │ ├── config.yaml # Project settings
224
+ │ ├── settings.json # Permissions
225
+ │ ├── sprints/
226
+ │ │ ├── vision.yaml # Product vision
227
+ │ │ └── backlog.yaml # Task backlog
228
+ │ ├── plans/ # Generated plans
229
+ │ ├── docs/ # Generated docs
230
+ │ └── logs/ # Activity logs
231
+ └── OMEGA.md # Project context
232
+ ```
233
+
234
+ ## 🔌 MCP Integrations
235
+
236
+ OMGKIT supports these MCP servers for enhanced capabilities:
237
+
238
+ | Server | Purpose |
239
+ |--------|---------|
240
+ | Context7 | Up-to-date library documentation |
241
+ | Sequential Thinking | Multi-step reasoning |
242
+ | Memory | Persistent knowledge graph |
243
+ | Filesystem | Secure file operations |
244
+ | Playwright | Browser automation |
245
+
246
+ ## 📄 License
247
+
248
+ MIT
249
+
250
+ ---
251
+
252
+ *Think Omega. Build Omega. Be Omega.* 🔮
package/bin/omgkit.js ADDED
@@ -0,0 +1,122 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * OMGKIT CLI - Omega-Level Development Kit
5
+ *
6
+ * Usage:
7
+ * omgkit install - Install plugin to Claude Code
8
+ * omgkit init - Initialize project
9
+ * omgkit doctor - Check installation status
10
+ * omgkit list [type] - List components
11
+ * omgkit uninstall - Remove plugin
12
+ */
13
+
14
+ import { fileURLToPath } from 'url';
15
+ import { dirname, join } from 'path';
16
+ import {
17
+ setPackageRoot,
18
+ getVersion,
19
+ installPlugin,
20
+ initProject,
21
+ doctor,
22
+ uninstallPlugin,
23
+ listComponents,
24
+ COLORS,
25
+ BANNER,
26
+ log
27
+ } from '../lib/cli.js';
28
+
29
+ // Set package root for CLI context
30
+ const __filename = fileURLToPath(import.meta.url);
31
+ const __dirname = dirname(__filename);
32
+ setPackageRoot(join(__dirname, '..'));
33
+
34
+ function showHelp() {
35
+ console.log(BANNER);
36
+ console.log(`
37
+ ${COLORS.bright}USAGE${COLORS.reset}
38
+ omgkit <command> [options]
39
+
40
+ ${COLORS.bright}COMMANDS${COLORS.reset}
41
+ ${COLORS.cyan}install${COLORS.reset} Install OMGKIT plugin to Claude Code
42
+ ${COLORS.cyan}init${COLORS.reset} Initialize .omgkit/ in current project
43
+ ${COLORS.cyan}update${COLORS.reset} Update OMGKIT plugin
44
+ ${COLORS.cyan}uninstall${COLORS.reset} Remove OMGKIT plugin
45
+ ${COLORS.cyan}doctor${COLORS.reset} Check installation status
46
+ ${COLORS.cyan}list${COLORS.reset} List all commands/agents/skills
47
+ ${COLORS.cyan}version${COLORS.reset} Show version
48
+ ${COLORS.cyan}help${COLORS.reset} Show this help
49
+
50
+ ${COLORS.bright}EXAMPLES${COLORS.reset}
51
+ omgkit install # Install plugin globally
52
+ omgkit init # Initialize project
53
+ omgkit doctor # Check status
54
+ omgkit list commands # List all commands
55
+
56
+ ${COLORS.bright}AFTER INSTALLATION${COLORS.reset}
57
+ In Claude Code, type / to see all OMGKIT commands:
58
+
59
+ Core: /feature, /fix, /plan, /test, /review
60
+ Omega: /10x, /100x, /1000x, /principles
61
+ Sprint: /vision:set, /sprint:new, /team:run
62
+
63
+ ${COLORS.bright}DOCUMENTATION${COLORS.reset}
64
+ https://github.com/user/omgkit
65
+ `);
66
+ }
67
+
68
+ function showVersion() {
69
+ console.log(`omgkit v${getVersion()}`);
70
+ }
71
+
72
+ // Main CLI entry point
73
+ const [,, command, ...args] = process.argv;
74
+
75
+ switch (command) {
76
+ case 'install': {
77
+ const result = installPlugin();
78
+ if (!result.success) process.exit(1);
79
+ break;
80
+ }
81
+ case 'init': {
82
+ const result = initProject();
83
+ if (!result.success) process.exit(1);
84
+ break;
85
+ }
86
+ case 'update': {
87
+ const result = installPlugin();
88
+ if (!result.success) process.exit(1);
89
+ break;
90
+ }
91
+ case 'uninstall': {
92
+ uninstallPlugin();
93
+ break;
94
+ }
95
+ case 'doctor': {
96
+ doctor();
97
+ break;
98
+ }
99
+ case 'list': {
100
+ const result = listComponents(args[0]);
101
+ if (!result.success) process.exit(1);
102
+ break;
103
+ }
104
+ case 'version':
105
+ case '-v':
106
+ case '--version': {
107
+ showVersion();
108
+ break;
109
+ }
110
+ case 'help':
111
+ case '-h':
112
+ case '--help':
113
+ case undefined: {
114
+ showHelp();
115
+ break;
116
+ }
117
+ default: {
118
+ log.error(`Unknown command: ${command}`);
119
+ log.info('Run: omgkit help');
120
+ process.exit(1);
121
+ }
122
+ }
package/lib/.gitkeep ADDED
File without changes