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.
- package/LICENSE +21 -0
- package/README.md +252 -0
- package/bin/omgkit.js +122 -0
- package/lib/.gitkeep +0 -0
- package/lib/cli.js +513 -0
- package/lib/index.js +35 -0
- package/package.json +52 -0
- package/plugin/.claude-plugin/.gitkeep +0 -0
- package/plugin/.claude-plugin/plugin.json +11 -0
- package/plugin/agents/.gitkeep +0 -0
- package/plugin/agents/api-designer.md +66 -0
- package/plugin/agents/architect.md +81 -0
- package/plugin/agents/brainstormer.md +60 -0
- package/plugin/agents/cicd-manager.md +50 -0
- package/plugin/agents/code-reviewer.md +45 -0
- package/plugin/agents/copywriter.md +48 -0
- package/plugin/agents/database-admin.md +49 -0
- package/plugin/agents/debugger.md +55 -0
- package/plugin/agents/docs-manager.md +52 -0
- package/plugin/agents/fullstack-developer.md +67 -0
- package/plugin/agents/git-manager.md +48 -0
- package/plugin/agents/journal-writer.md +51 -0
- package/plugin/agents/oracle.md +91 -0
- package/plugin/agents/pipeline-architect.md +52 -0
- package/plugin/agents/planner.md +60 -0
- package/plugin/agents/project-manager.md +43 -0
- package/plugin/agents/researcher.md +37 -0
- package/plugin/agents/scout.md +37 -0
- package/plugin/agents/security-auditor.md +53 -0
- package/plugin/agents/sprint-master.md +84 -0
- package/plugin/agents/tester.md +50 -0
- package/plugin/agents/ui-ux-designer.md +61 -0
- package/plugin/agents/vulnerability-scanner.md +53 -0
- package/plugin/commands/context/.gitkeep +0 -0
- package/plugin/commands/context/checkpoint.md +20 -0
- package/plugin/commands/context/index.md +17 -0
- package/plugin/commands/context/load.md +16 -0
- package/plugin/commands/context/mode.md +20 -0
- package/plugin/commands/context/spawn-collect.md +14 -0
- package/plugin/commands/context/spawn.md +20 -0
- package/plugin/commands/design/.gitkeep +0 -0
- package/plugin/commands/design/cro.md +27 -0
- package/plugin/commands/design/enhance.md +16 -0
- package/plugin/commands/design/fast.md +17 -0
- package/plugin/commands/design/good.md +23 -0
- package/plugin/commands/design/screenshot.md +21 -0
- package/plugin/commands/dev/.gitkeep +0 -0
- package/plugin/commands/dev/feature.md +25 -0
- package/plugin/commands/dev/fix-ci.md +23 -0
- package/plugin/commands/dev/fix-fast.md +19 -0
- package/plugin/commands/dev/fix-hard.md +25 -0
- package/plugin/commands/dev/fix-logs.md +21 -0
- package/plugin/commands/dev/fix-test.md +23 -0
- package/plugin/commands/dev/fix.md +22 -0
- package/plugin/commands/dev/review.md +31 -0
- package/plugin/commands/dev/tdd.md +29 -0
- package/plugin/commands/dev/test.md +25 -0
- package/plugin/commands/git/.gitkeep +0 -0
- package/plugin/commands/git/cm.md +13 -0
- package/plugin/commands/git/commit.md +31 -0
- package/plugin/commands/git/cp.md +14 -0
- package/plugin/commands/git/deploy.md +21 -0
- package/plugin/commands/git/pr.md +20 -0
- package/plugin/commands/git/ship.md +29 -0
- package/plugin/commands/omega/.gitkeep +0 -0
- package/plugin/commands/omega/1000x.md +41 -0
- package/plugin/commands/omega/100x.md +39 -0
- package/plugin/commands/omega/10x.md +47 -0
- package/plugin/commands/omega/dimensions.md +26 -0
- package/plugin/commands/omega/principles.md +43 -0
- package/plugin/commands/planning/.gitkeep +0 -0
- package/plugin/commands/planning/ask.md +21 -0
- package/plugin/commands/planning/brainstorm.md +33 -0
- package/plugin/commands/planning/doc.md +28 -0
- package/plugin/commands/planning/execute-plan.md +28 -0
- package/plugin/commands/planning/plan-detailed.md +32 -0
- package/plugin/commands/planning/plan-parallel.md +35 -0
- package/plugin/commands/planning/plan.md +39 -0
- package/plugin/commands/planning/research.md +39 -0
- package/plugin/commands/quality/.gitkeep +0 -0
- package/plugin/commands/quality/api-gen.md +25 -0
- package/plugin/commands/quality/lint.md +15 -0
- package/plugin/commands/quality/optimize.md +23 -0
- package/plugin/commands/quality/refactor.md +22 -0
- package/plugin/commands/quality/security-scan.md +28 -0
- package/plugin/commands/sprint/.gitkeep +0 -0
- package/plugin/commands/sprint/backlog-add.md +21 -0
- package/plugin/commands/sprint/backlog-prioritize.md +18 -0
- package/plugin/commands/sprint/backlog-show.md +25 -0
- package/plugin/commands/sprint/init.md +27 -0
- package/plugin/commands/sprint/sprint-current.md +22 -0
- package/plugin/commands/sprint/sprint-end.md +33 -0
- package/plugin/commands/sprint/sprint-new.md +31 -0
- package/plugin/commands/sprint/sprint-start.md +17 -0
- package/plugin/commands/sprint/team-ask.md +21 -0
- package/plugin/commands/sprint/team-run.md +29 -0
- package/plugin/commands/sprint/team-status.md +23 -0
- package/plugin/commands/sprint/vision-set.md +21 -0
- package/plugin/commands/sprint/vision-show.md +15 -0
- package/plugin/mcp/.gitkeep +0 -0
- package/plugin/mcp/.mcp.json +20 -0
- package/plugin/mcp/README.md +68 -0
- package/plugin/modes/.gitkeep +0 -0
- package/plugin/modes/autonomous.md +48 -0
- package/plugin/modes/brainstorm.md +33 -0
- package/plugin/modes/deep-research.md +41 -0
- package/plugin/modes/default.md +25 -0
- package/plugin/modes/implementation.md +35 -0
- package/plugin/modes/omega.md +38 -0
- package/plugin/modes/orchestration.md +41 -0
- package/plugin/modes/review.md +44 -0
- package/plugin/modes/token-efficient.md +37 -0
- package/plugin/skills/databases/.gitkeep +0 -0
- package/plugin/skills/databases/mongodb/SKILL.md +43 -0
- package/plugin/skills/databases/postgresql/SKILL.md +43 -0
- package/plugin/skills/databases/prisma/SKILL.md +55 -0
- package/plugin/skills/databases/redis/SKILL.md +41 -0
- package/plugin/skills/devops/.gitkeep +0 -0
- package/plugin/skills/devops/aws/SKILL.md +51 -0
- package/plugin/skills/devops/docker/SKILL.md +54 -0
- package/plugin/skills/devops/github-actions/SKILL.md +63 -0
- package/plugin/skills/devops/kubernetes/SKILL.md +64 -0
- package/plugin/skills/frameworks/.gitkeep +0 -0
- package/plugin/skills/frameworks/django/SKILL.md +47 -0
- package/plugin/skills/frameworks/express/SKILL.md +55 -0
- package/plugin/skills/frameworks/fastapi/SKILL.md +58 -0
- package/plugin/skills/frameworks/laravel/SKILL.md +65 -0
- package/plugin/skills/frameworks/nestjs/SKILL.md +67 -0
- package/plugin/skills/frameworks/nextjs/SKILL.md +77 -0
- package/plugin/skills/frameworks/rails/SKILL.md +56 -0
- package/plugin/skills/frameworks/react/SKILL.md +61 -0
- package/plugin/skills/frameworks/spring/SKILL.md +70 -0
- package/plugin/skills/frameworks/vue/SKILL.md +62 -0
- package/plugin/skills/frontend/.gitkeep +0 -0
- package/plugin/skills/frontend/accessibility/SKILL.md +52 -0
- package/plugin/skills/frontend/frontend-design/SKILL.md +47 -0
- package/plugin/skills/frontend/responsive/SKILL.md +46 -0
- package/plugin/skills/frontend/shadcn-ui/SKILL.md +58 -0
- package/plugin/skills/frontend/tailwindcss/SKILL.md +52 -0
- package/plugin/skills/frontend/threejs/SKILL.md +59 -0
- package/plugin/skills/languages/.gitkeep +0 -0
- package/plugin/skills/languages/javascript/SKILL.md +62 -0
- package/plugin/skills/languages/python/SKILL.md +63 -0
- package/plugin/skills/languages/typescript/SKILL.md +66 -0
- package/plugin/skills/methodology/.gitkeep +0 -0
- package/plugin/skills/methodology/brainstorming/SKILL.md +34 -0
- package/plugin/skills/methodology/defense-in-depth/SKILL.md +51 -0
- package/plugin/skills/methodology/dispatching-parallel-agents/SKILL.md +43 -0
- package/plugin/skills/methodology/executing-plans/SKILL.md +34 -0
- package/plugin/skills/methodology/finishing-development-branch/SKILL.md +41 -0
- package/plugin/skills/methodology/receiving-code-review/SKILL.md +41 -0
- package/plugin/skills/methodology/requesting-code-review/SKILL.md +38 -0
- package/plugin/skills/methodology/root-cause-tracing/SKILL.md +53 -0
- package/plugin/skills/methodology/systematic-debugging/SKILL.md +50 -0
- package/plugin/skills/methodology/test-driven-development/SKILL.md +39 -0
- package/plugin/skills/methodology/testing-anti-patterns/SKILL.md +50 -0
- package/plugin/skills/methodology/token-optimization/SKILL.md +51 -0
- package/plugin/skills/methodology/verification-before-completion/SKILL.md +32 -0
- package/plugin/skills/methodology/writing-plans/SKILL.md +34 -0
- package/plugin/skills/omega/.gitkeep +0 -0
- package/plugin/skills/omega/omega-architecture/SKILL.md +59 -0
- package/plugin/skills/omega/omega-coding/SKILL.md +61 -0
- package/plugin/skills/omega/omega-sprint/SKILL.md +64 -0
- package/plugin/skills/omega/omega-testing/SKILL.md +71 -0
- package/plugin/skills/omega/omega-thinking/SKILL.md +54 -0
- package/plugin/skills/security/.gitkeep +0 -0
- package/plugin/skills/security/better-auth/SKILL.md +53 -0
- package/plugin/skills/security/oauth/SKILL.md +50 -0
- package/plugin/skills/security/owasp/SKILL.md +57 -0
- package/plugin/skills/testing/.gitkeep +0 -0
- package/plugin/skills/testing/playwright/SKILL.md +60 -0
- package/plugin/skills/testing/pytest/SKILL.md +58 -0
- package/plugin/skills/testing/vitest/SKILL.md +64 -0
- package/templates/.gitkeep +0 -0
- package/templates/OMEGA.md +80 -0
- package/templates/backlog.yaml +25 -0
- package/templates/config.yaml +44 -0
- package/templates/settings.json +20 -0
- package/templates/vision.yaml +30 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"context7": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": ["-y", "@upstash/context7-mcp"]
|
|
6
|
+
},
|
|
7
|
+
"sequential-thinking": {
|
|
8
|
+
"command": "npx",
|
|
9
|
+
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
10
|
+
},
|
|
11
|
+
"memory": {
|
|
12
|
+
"command": "npx",
|
|
13
|
+
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
|
14
|
+
},
|
|
15
|
+
"filesystem": {
|
|
16
|
+
"command": "npx",
|
|
17
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# MCP Server Integrations
|
|
2
|
+
|
|
3
|
+
OMGKIT supports Model Context Protocol (MCP) servers for enhanced capabilities.
|
|
4
|
+
|
|
5
|
+
## Supported Servers
|
|
6
|
+
|
|
7
|
+
| Server | Package | Purpose |
|
|
8
|
+
|--------|---------|---------|
|
|
9
|
+
| **Context7** | `@upstash/context7-mcp` | Up-to-date library documentation |
|
|
10
|
+
| **Sequential Thinking** | `@modelcontextprotocol/server-sequential-thinking` | Multi-step reasoning |
|
|
11
|
+
| **Memory** | `@modelcontextprotocol/server-memory` | Persistent knowledge graph |
|
|
12
|
+
| **Filesystem** | `@modelcontextprotocol/server-filesystem` | Secure file operations |
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
### Option 1: Use provided config
|
|
17
|
+
|
|
18
|
+
Copy `.mcp.json` to your project root or Claude Code config directory.
|
|
19
|
+
|
|
20
|
+
### Option 2: Manual setup
|
|
21
|
+
|
|
22
|
+
Add to your Claude Code MCP configuration:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"mcpServers": {
|
|
27
|
+
"context7": {
|
|
28
|
+
"command": "npx",
|
|
29
|
+
"args": ["-y", "@upstash/context7-mcp"]
|
|
30
|
+
},
|
|
31
|
+
"sequential-thinking": {
|
|
32
|
+
"command": "npx",
|
|
33
|
+
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
34
|
+
},
|
|
35
|
+
"memory": {
|
|
36
|
+
"command": "npx",
|
|
37
|
+
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
|
38
|
+
},
|
|
39
|
+
"filesystem": {
|
|
40
|
+
"command": "npx",
|
|
41
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Command Enhancements
|
|
48
|
+
|
|
49
|
+
| Command | MCP Servers | Enhancement |
|
|
50
|
+
|---------|-------------|-------------|
|
|
51
|
+
| `/feature` | Context7, Sequential | Accurate docs, structured planning |
|
|
52
|
+
| `/fix` | Sequential, Memory | Step-by-step debugging |
|
|
53
|
+
| `/test` | Filesystem | File-based test generation |
|
|
54
|
+
| `/plan` | Sequential, Memory | Structured breakdown |
|
|
55
|
+
| `/research` | Context7 | Real-time documentation |
|
|
56
|
+
|
|
57
|
+
## Enabling/Disabling
|
|
58
|
+
|
|
59
|
+
In `.omgkit/config.yaml`:
|
|
60
|
+
|
|
61
|
+
```yaml
|
|
62
|
+
mcp:
|
|
63
|
+
context7: true
|
|
64
|
+
sequential: true
|
|
65
|
+
memory: true
|
|
66
|
+
filesystem: true
|
|
67
|
+
playwright: false
|
|
68
|
+
```
|
|
File without changes
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: autonomous
|
|
3
|
+
description: AI team self-management mode for sprint execution.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Autonomous Mode 🤖
|
|
7
|
+
|
|
8
|
+
AI team operates with minimal human intervention.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Execute tasks continuously
|
|
12
|
+
- Make decisions autonomously
|
|
13
|
+
- Only pause for critical issues
|
|
14
|
+
- Report progress periodically
|
|
15
|
+
- Self-correct when possible
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
- Well-defined sprints
|
|
19
|
+
- Clear requirements
|
|
20
|
+
- Trusted codebase
|
|
21
|
+
- Non-critical systems
|
|
22
|
+
|
|
23
|
+
## Guardrails
|
|
24
|
+
- Follow the plan strictly
|
|
25
|
+
- Respect all constraints
|
|
26
|
+
- Maintain quality gates
|
|
27
|
+
- Log all decisions
|
|
28
|
+
- No destructive operations
|
|
29
|
+
|
|
30
|
+
## Pause Conditions
|
|
31
|
+
- Critical error encountered
|
|
32
|
+
- Security concern detected
|
|
33
|
+
- Scope creep identified
|
|
34
|
+
- Ambiguous requirement
|
|
35
|
+
- Test failures
|
|
36
|
+
|
|
37
|
+
## Autonomy Levels
|
|
38
|
+
```
|
|
39
|
+
Full-Auto: ████████████ 100%
|
|
40
|
+
Semi-Auto: ████████░░░░ 66%
|
|
41
|
+
Manual: ████░░░░░░░░ 33%
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Settings
|
|
45
|
+
- Intervention: Minimal
|
|
46
|
+
- Decision-making: Autonomous
|
|
47
|
+
- Logging: Comprehensive
|
|
48
|
+
- Checkpoints: Periodic
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorm
|
|
3
|
+
description: Creative exploration mode for design and ideation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorm Mode
|
|
7
|
+
|
|
8
|
+
Optimized for creative exploration and ideation.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Ask one question at a time
|
|
12
|
+
- Explore multiple alternatives
|
|
13
|
+
- Challenge assumptions
|
|
14
|
+
- No premature judgment
|
|
15
|
+
- Build on ideas
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
- Designing new features
|
|
19
|
+
- Exploring solutions
|
|
20
|
+
- Architecture decisions
|
|
21
|
+
- Problem exploration
|
|
22
|
+
|
|
23
|
+
## Process
|
|
24
|
+
1. Understand the problem deeply
|
|
25
|
+
2. Generate many options
|
|
26
|
+
3. Evaluate trade-offs
|
|
27
|
+
4. Recommend with rationale
|
|
28
|
+
|
|
29
|
+
## Settings
|
|
30
|
+
- Questions: One at a time
|
|
31
|
+
- Judgment: Deferred
|
|
32
|
+
- Options: 3+ minimum
|
|
33
|
+
- Depth: Exploratory
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deep-research
|
|
3
|
+
description: Thorough analysis mode with citations and sources.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Deep Research Mode
|
|
7
|
+
|
|
8
|
+
Thorough analysis with comprehensive sourcing.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Search multiple sources
|
|
12
|
+
- Cite all claims
|
|
13
|
+
- Provide confidence levels
|
|
14
|
+
- Compare alternatives
|
|
15
|
+
- Document assumptions
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
- Technical research
|
|
19
|
+
- Architecture decisions
|
|
20
|
+
- Technology evaluation
|
|
21
|
+
- Complex problem analysis
|
|
22
|
+
|
|
23
|
+
## Output Format
|
|
24
|
+
```markdown
|
|
25
|
+
## Finding
|
|
26
|
+
[Statement] [Source]
|
|
27
|
+
|
|
28
|
+
## Confidence: HIGH | MEDIUM | LOW
|
|
29
|
+
|
|
30
|
+
## Sources
|
|
31
|
+
1. [Source] - [Relevance]
|
|
32
|
+
|
|
33
|
+
## Alternatives Considered
|
|
34
|
+
- [Option] - [Trade-offs]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Settings
|
|
38
|
+
- Sources: Multiple required
|
|
39
|
+
- Citations: Mandatory
|
|
40
|
+
- Depth: Comprehensive
|
|
41
|
+
- Confidence: Explicit
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: default
|
|
3
|
+
description: Balanced standard behavior for general tasks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Default Mode
|
|
7
|
+
|
|
8
|
+
Balanced approach for general development tasks.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Standard planning before implementation
|
|
12
|
+
- Regular quality checks
|
|
13
|
+
- Normal verbosity level
|
|
14
|
+
- Balanced speed vs thoroughness
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
- General development tasks
|
|
18
|
+
- Mixed requirements
|
|
19
|
+
- When unsure which mode to use
|
|
20
|
+
|
|
21
|
+
## Settings
|
|
22
|
+
- Planning: Standard
|
|
23
|
+
- Verbosity: Normal
|
|
24
|
+
- Review: At milestones
|
|
25
|
+
- Testing: Required
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implementation
|
|
3
|
+
description: Code-focused mode with minimal prose.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Implementation Mode
|
|
7
|
+
|
|
8
|
+
Optimized for writing code efficiently.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Code-first responses
|
|
12
|
+
- Minimal explanations
|
|
13
|
+
- Execute plans directly
|
|
14
|
+
- Focus on output
|
|
15
|
+
- Fast iteration
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
- Executing plans
|
|
19
|
+
- Writing code
|
|
20
|
+
- Making changes
|
|
21
|
+
- Bug fixes
|
|
22
|
+
|
|
23
|
+
## Output
|
|
24
|
+
```typescript
|
|
25
|
+
// Code with minimal comments
|
|
26
|
+
function implementation() {
|
|
27
|
+
// Only essential comments
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Settings
|
|
32
|
+
- Output: Code primary
|
|
33
|
+
- Comments: Essential only
|
|
34
|
+
- Explanations: Minimal
|
|
35
|
+
- Speed: Prioritized
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omega
|
|
3
|
+
description: 10x-1000x thinking mode for breakthrough solutions.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Omega Mode 🔮
|
|
7
|
+
|
|
8
|
+
Apply Omega principles to EVERYTHING.
|
|
9
|
+
|
|
10
|
+
## Mindset
|
|
11
|
+
- Challenge 10x vs 100x vs 1000x
|
|
12
|
+
- Apply 7 thinking modes
|
|
13
|
+
- Seek leverage multiplication
|
|
14
|
+
- Build systems, not features
|
|
15
|
+
- Excellence in everything
|
|
16
|
+
|
|
17
|
+
## 7 Omega Principles
|
|
18
|
+
1. **Ω1 Leverage Multiplication** - Build systems that build
|
|
19
|
+
2. **Ω2 Transcendent Abstraction** - Solve the class
|
|
20
|
+
3. **Ω3 Agentic Decomposition** - Orchestra of specialists
|
|
21
|
+
4. **Ω4 Feedback Acceleration** - Compress loops
|
|
22
|
+
5. **Ω5 Zero-Marginal-Cost** - Scale infinitely
|
|
23
|
+
6. **Ω6 Emergent Intelligence** - System > parts
|
|
24
|
+
7. **Ω7 Aesthetic Perfection** - Excellence always
|
|
25
|
+
|
|
26
|
+
## Questions for Every Task
|
|
27
|
+
1. What's the 10x version?
|
|
28
|
+
2. Can we solve the class, not instance?
|
|
29
|
+
3. Can we automate this forever?
|
|
30
|
+
4. What would make this obsolete?
|
|
31
|
+
|
|
32
|
+
## Mantras
|
|
33
|
+
- "Think 1000x before settling for 10x"
|
|
34
|
+
- "Don't do. Create systems that do."
|
|
35
|
+
- "Solve once for N cases."
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
🔮 *Think Omega. Build Omega. Be Omega.*
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orchestration
|
|
3
|
+
description: Multi-task coordination mode for parallel work.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Orchestration Mode
|
|
7
|
+
|
|
8
|
+
Coordinate multiple tasks and agents.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Parallel task management
|
|
12
|
+
- Agent delegation
|
|
13
|
+
- Result aggregation
|
|
14
|
+
- Workflow optimization
|
|
15
|
+
- Progress tracking
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
- Complex features
|
|
19
|
+
- Multiple files
|
|
20
|
+
- Team coordination
|
|
21
|
+
- Sprint execution
|
|
22
|
+
|
|
23
|
+
## Pattern
|
|
24
|
+
```
|
|
25
|
+
┌─────────────────┐
|
|
26
|
+
│ Orchestrator │
|
|
27
|
+
└────────┬────────┘
|
|
28
|
+
┌────┼────┐
|
|
29
|
+
▼ ▼ ▼
|
|
30
|
+
[A] [B] [C]
|
|
31
|
+
│ │ │
|
|
32
|
+
└────┼────┘
|
|
33
|
+
▼
|
|
34
|
+
[Aggregate]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Settings
|
|
38
|
+
- Parallelism: Enabled
|
|
39
|
+
- Delegation: Automatic
|
|
40
|
+
- Sync points: Defined
|
|
41
|
+
- Aggregation: Required
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review
|
|
3
|
+
description: Critical analysis mode for code review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Review Mode
|
|
7
|
+
|
|
8
|
+
Critical analysis for code review and quality.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Find issues proactively
|
|
12
|
+
- Security-focused
|
|
13
|
+
- Performance analysis
|
|
14
|
+
- Constructive feedback
|
|
15
|
+
- Prioritize findings
|
|
16
|
+
|
|
17
|
+
## Checklist
|
|
18
|
+
- [ ] Security vulnerabilities
|
|
19
|
+
- [ ] Performance issues
|
|
20
|
+
- [ ] Code quality
|
|
21
|
+
- [ ] Best practices
|
|
22
|
+
- [ ] Edge cases
|
|
23
|
+
|
|
24
|
+
## Output Format
|
|
25
|
+
```markdown
|
|
26
|
+
## Review: [File/PR]
|
|
27
|
+
|
|
28
|
+
### Status: APPROVED | CHANGES_REQUESTED
|
|
29
|
+
|
|
30
|
+
### Critical Issues
|
|
31
|
+
1. [Issue] - [Location] - [Fix]
|
|
32
|
+
|
|
33
|
+
### Suggestions
|
|
34
|
+
1. [Improvement] - [Rationale]
|
|
35
|
+
|
|
36
|
+
### Positive Notes
|
|
37
|
+
- [Good practice observed]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Settings
|
|
41
|
+
- Focus: Issues first
|
|
42
|
+
- Security: High priority
|
|
43
|
+
- Feedback: Constructive
|
|
44
|
+
- Severity: Prioritized
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: token-efficient
|
|
3
|
+
description: Compressed output mode for cost savings (30-70%).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Token-Efficient Mode
|
|
7
|
+
|
|
8
|
+
Minimize token usage for cost savings.
|
|
9
|
+
|
|
10
|
+
## Behavior
|
|
11
|
+
- Concise responses
|
|
12
|
+
- Code over prose
|
|
13
|
+
- No explanations unless asked
|
|
14
|
+
- Abbreviated output
|
|
15
|
+
- Skip optional details
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
- Routine tasks
|
|
19
|
+
- Cost-sensitive work
|
|
20
|
+
- When speed matters
|
|
21
|
+
- Familiar patterns
|
|
22
|
+
|
|
23
|
+
## Savings
|
|
24
|
+
- 30-70% token reduction
|
|
25
|
+
- Faster responses
|
|
26
|
+
- Lower costs
|
|
27
|
+
|
|
28
|
+
## Trade-offs
|
|
29
|
+
- Less explanation
|
|
30
|
+
- Assumes familiarity
|
|
31
|
+
- May need clarification
|
|
32
|
+
|
|
33
|
+
## Settings
|
|
34
|
+
- Verbosity: Minimal
|
|
35
|
+
- Explanations: On request only
|
|
36
|
+
- Format: Code-first
|
|
37
|
+
- Comments: Essential only
|
|
File without changes
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mongodb
|
|
3
|
+
description: MongoDB database. Use for document storage, aggregation, NoSQL.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# MongoDB Skill
|
|
7
|
+
|
|
8
|
+
## Document Design
|
|
9
|
+
```javascript
|
|
10
|
+
{
|
|
11
|
+
_id: ObjectId(),
|
|
12
|
+
email: "user@example.com",
|
|
13
|
+
profile: {
|
|
14
|
+
name: "John",
|
|
15
|
+
avatar: "url"
|
|
16
|
+
},
|
|
17
|
+
createdAt: ISODate()
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Query Patterns
|
|
22
|
+
```javascript
|
|
23
|
+
// Find
|
|
24
|
+
db.users.find({ email: /example.com/ });
|
|
25
|
+
|
|
26
|
+
// Aggregation
|
|
27
|
+
db.users.aggregate([
|
|
28
|
+
{ $match: { active: true } },
|
|
29
|
+
{ $group: { _id: "$role", count: { $sum: 1 } } }
|
|
30
|
+
]);
|
|
31
|
+
|
|
32
|
+
// Update
|
|
33
|
+
db.users.updateOne(
|
|
34
|
+
{ _id: id },
|
|
35
|
+
{ $set: { name: "New Name" } }
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Best Practices
|
|
40
|
+
- Design for queries
|
|
41
|
+
- Embed related data
|
|
42
|
+
- Use indexes
|
|
43
|
+
- Avoid deep nesting
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: postgresql
|
|
3
|
+
description: PostgreSQL database. Use for schema design, queries, optimization.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# PostgreSQL Skill
|
|
7
|
+
|
|
8
|
+
## Schema Design
|
|
9
|
+
```sql
|
|
10
|
+
CREATE TABLE users (
|
|
11
|
+
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
12
|
+
email VARCHAR(255) UNIQUE NOT NULL,
|
|
13
|
+
password_hash VARCHAR(255) NOT NULL,
|
|
14
|
+
created_at TIMESTAMPTZ DEFAULT NOW(),
|
|
15
|
+
updated_at TIMESTAMPTZ DEFAULT NOW()
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
CREATE INDEX idx_users_email ON users(email);
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Query Patterns
|
|
22
|
+
```sql
|
|
23
|
+
-- Pagination
|
|
24
|
+
SELECT * FROM users
|
|
25
|
+
ORDER BY created_at DESC
|
|
26
|
+
LIMIT 10 OFFSET 20;
|
|
27
|
+
|
|
28
|
+
-- Search
|
|
29
|
+
SELECT * FROM users
|
|
30
|
+
WHERE email ILIKE '%@example.com';
|
|
31
|
+
|
|
32
|
+
-- Aggregation
|
|
33
|
+
SELECT DATE(created_at), COUNT(*)
|
|
34
|
+
FROM users
|
|
35
|
+
GROUP BY DATE(created_at);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Best Practices
|
|
39
|
+
- Use UUIDs for IDs
|
|
40
|
+
- Add indexes for queries
|
|
41
|
+
- Use EXPLAIN ANALYZE
|
|
42
|
+
- Use transactions
|
|
43
|
+
- Use connection pooling
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prisma
|
|
3
|
+
description: Prisma ORM. Use for database access, migrations, type-safe queries.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Prisma Skill
|
|
7
|
+
|
|
8
|
+
## Schema
|
|
9
|
+
```prisma
|
|
10
|
+
model User {
|
|
11
|
+
id String @id @default(cuid())
|
|
12
|
+
email String @unique
|
|
13
|
+
posts Post[]
|
|
14
|
+
createdAt DateTime @default(now())
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
model Post {
|
|
18
|
+
id String @id @default(cuid())
|
|
19
|
+
title String
|
|
20
|
+
author User @relation(fields: [authorId], references: [id])
|
|
21
|
+
authorId String
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Queries
|
|
26
|
+
```typescript
|
|
27
|
+
// Create
|
|
28
|
+
const user = await prisma.user.create({
|
|
29
|
+
data: { email: 'test@example.com' }
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
// Find with relations
|
|
33
|
+
const users = await prisma.user.findMany({
|
|
34
|
+
include: { posts: true },
|
|
35
|
+
where: { email: { contains: '@example.com' } }
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// Update
|
|
39
|
+
await prisma.user.update({
|
|
40
|
+
where: { id },
|
|
41
|
+
data: { email: 'new@example.com' }
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
// Transaction
|
|
45
|
+
await prisma.$transaction([
|
|
46
|
+
prisma.user.create({ data: userData }),
|
|
47
|
+
prisma.post.create({ data: postData })
|
|
48
|
+
]);
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Best Practices
|
|
52
|
+
- Use migrations
|
|
53
|
+
- Use transactions
|
|
54
|
+
- Include only needed relations
|
|
55
|
+
- Use select for partial data
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: redis
|
|
3
|
+
description: Redis caching. Use for caching, sessions, pub/sub.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Redis Skill
|
|
7
|
+
|
|
8
|
+
## Patterns
|
|
9
|
+
|
|
10
|
+
### Caching
|
|
11
|
+
```javascript
|
|
12
|
+
// Set with expiry
|
|
13
|
+
await redis.set('user:123', JSON.stringify(user), 'EX', 3600);
|
|
14
|
+
|
|
15
|
+
// Get
|
|
16
|
+
const cached = await redis.get('user:123');
|
|
17
|
+
if (cached) return JSON.parse(cached);
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Session
|
|
21
|
+
```javascript
|
|
22
|
+
await redis.hset(`session:${id}`, {
|
|
23
|
+
userId: user.id,
|
|
24
|
+
createdAt: Date.now()
|
|
25
|
+
});
|
|
26
|
+
await redis.expire(`session:${id}`, 86400);
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Rate Limiting
|
|
30
|
+
```javascript
|
|
31
|
+
const key = `rate:${ip}`;
|
|
32
|
+
const count = await redis.incr(key);
|
|
33
|
+
if (count === 1) await redis.expire(key, 60);
|
|
34
|
+
if (count > 100) throw new Error('Rate limited');
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Best Practices
|
|
38
|
+
- Set TTL on keys
|
|
39
|
+
- Use pipelines for batch ops
|
|
40
|
+
- Use appropriate data structures
|
|
41
|
+
- Monitor memory usage
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aws
|
|
3
|
+
description: AWS services. Use for Lambda, S3, RDS, ECS, and other AWS services.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# AWS Skill
|
|
7
|
+
|
|
8
|
+
## Common Services
|
|
9
|
+
|
|
10
|
+
### Lambda
|
|
11
|
+
```typescript
|
|
12
|
+
export const handler = async (event: APIGatewayEvent) => {
|
|
13
|
+
const body = JSON.parse(event.body || '{}');
|
|
14
|
+
|
|
15
|
+
return {
|
|
16
|
+
statusCode: 200,
|
|
17
|
+
body: JSON.stringify({ message: 'Success' }),
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### S3
|
|
23
|
+
```typescript
|
|
24
|
+
import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';
|
|
25
|
+
|
|
26
|
+
const s3 = new S3Client({ region: 'us-east-1' });
|
|
27
|
+
|
|
28
|
+
await s3.send(new PutObjectCommand({
|
|
29
|
+
Bucket: 'my-bucket',
|
|
30
|
+
Key: 'file.txt',
|
|
31
|
+
Body: 'content',
|
|
32
|
+
}));
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### DynamoDB
|
|
36
|
+
```typescript
|
|
37
|
+
import { DynamoDBClient, PutItemCommand } from '@aws-sdk/client-dynamodb';
|
|
38
|
+
|
|
39
|
+
const client = new DynamoDBClient({});
|
|
40
|
+
|
|
41
|
+
await client.send(new PutItemCommand({
|
|
42
|
+
TableName: 'users',
|
|
43
|
+
Item: { id: { S: '123' }, email: { S: 'test@example.com' } },
|
|
44
|
+
}));
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Best Practices
|
|
48
|
+
- Use IAM roles
|
|
49
|
+
- Enable encryption
|
|
50
|
+
- Use VPC for security
|
|
51
|
+
- Monitor with CloudWatch
|