oh-my-codex 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +269 -0
- package/bin/omx.js +25 -0
- package/dist/agents/definitions.d.ts +22 -0
- package/dist/agents/definitions.d.ts.map +1 -0
- package/dist/agents/definitions.js +235 -0
- package/dist/agents/definitions.js.map +1 -0
- package/dist/cli/doctor.d.ts +11 -0
- package/dist/cli/doctor.d.ts.map +1 -0
- package/dist/cli/doctor.js +157 -0
- package/dist/cli/doctor.js.map +1 -0
- package/dist/cli/index.d.ts +6 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +266 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/setup.d.ts +12 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +175 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/cli/version.d.ts +2 -0
- package/dist/cli/version.d.ts.map +1 -0
- package/dist/cli/version.js +17 -0
- package/dist/cli/version.js.map +1 -0
- package/dist/config/generator.d.ts +14 -0
- package/dist/config/generator.d.ts.map +1 -0
- package/dist/config/generator.js +106 -0
- package/dist/config/generator.js.map +1 -0
- package/dist/hooks/__tests__/agents-overlay.test.d.ts +8 -0
- package/dist/hooks/__tests__/agents-overlay.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/agents-overlay.test.js +148 -0
- package/dist/hooks/__tests__/agents-overlay.test.js.map +1 -0
- package/dist/hooks/agents-overlay.d.ts +34 -0
- package/dist/hooks/agents-overlay.d.ts.map +1 -0
- package/dist/hooks/agents-overlay.js +265 -0
- package/dist/hooks/agents-overlay.js.map +1 -0
- package/dist/hooks/emulator.d.ts +44 -0
- package/dist/hooks/emulator.d.ts.map +1 -0
- package/dist/hooks/emulator.js +108 -0
- package/dist/hooks/emulator.js.map +1 -0
- package/dist/hooks/keyword-detector.d.ts +27 -0
- package/dist/hooks/keyword-detector.d.ts.map +1 -0
- package/dist/hooks/keyword-detector.js +63 -0
- package/dist/hooks/keyword-detector.js.map +1 -0
- package/dist/hooks/session.d.ts +38 -0
- package/dist/hooks/session.d.ts.map +1 -0
- package/dist/hooks/session.js +135 -0
- package/dist/hooks/session.js.map +1 -0
- package/dist/hud/colors.d.ts +26 -0
- package/dist/hud/colors.d.ts.map +1 -0
- package/dist/hud/colors.js +71 -0
- package/dist/hud/colors.js.map +1 -0
- package/dist/hud/index.d.ts +12 -0
- package/dist/hud/index.d.ts.map +1 -0
- package/dist/hud/index.js +107 -0
- package/dist/hud/index.js.map +1 -0
- package/dist/hud/render.d.ts +9 -0
- package/dist/hud/render.d.ts.map +1 -0
- package/dist/hud/render.js +192 -0
- package/dist/hud/render.js.map +1 -0
- package/dist/hud/state.d.ts +21 -0
- package/dist/hud/state.d.ts.map +1 -0
- package/dist/hud/state.js +101 -0
- package/dist/hud/state.js.map +1 -0
- package/dist/hud/types.d.ts +87 -0
- package/dist/hud/types.d.ts.map +1 -0
- package/dist/hud/types.js +8 -0
- package/dist/hud/types.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/code-intel-server.d.ts +7 -0
- package/dist/mcp/code-intel-server.d.ts.map +1 -0
- package/dist/mcp/code-intel-server.js +567 -0
- package/dist/mcp/code-intel-server.js.map +1 -0
- package/dist/mcp/memory-server.d.ts +7 -0
- package/dist/mcp/memory-server.d.ts.map +1 -0
- package/dist/mcp/memory-server.js +359 -0
- package/dist/mcp/memory-server.js.map +1 -0
- package/dist/mcp/state-server.d.ts +7 -0
- package/dist/mcp/state-server.d.ts.map +1 -0
- package/dist/mcp/state-server.js +181 -0
- package/dist/mcp/state-server.js.map +1 -0
- package/dist/mcp/trace-server.d.ts +7 -0
- package/dist/mcp/trace-server.d.ts.map +1 -0
- package/dist/mcp/trace-server.js +205 -0
- package/dist/mcp/trace-server.js.map +1 -0
- package/dist/modes/base.d.ts +50 -0
- package/dist/modes/base.d.ts.map +1 -0
- package/dist/modes/base.js +140 -0
- package/dist/modes/base.js.map +1 -0
- package/dist/notifications/notifier.d.ts +30 -0
- package/dist/notifications/notifier.d.ts.map +1 -0
- package/dist/notifications/notifier.js +124 -0
- package/dist/notifications/notifier.js.map +1 -0
- package/dist/team/orchestrator.d.ts +54 -0
- package/dist/team/orchestrator.d.ts.map +1 -0
- package/dist/team/orchestrator.js +106 -0
- package/dist/team/orchestrator.js.map +1 -0
- package/dist/utils/package.d.ts +9 -0
- package/dist/utils/package.d.ts.map +1 -0
- package/dist/utils/package.js +31 -0
- package/dist/utils/package.js.map +1 -0
- package/dist/utils/paths.d.ts +27 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +60 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/verification/verifier.d.ts +32 -0
- package/dist/verification/verifier.d.ts.map +1 -0
- package/dist/verification/verifier.js +81 -0
- package/dist/verification/verifier.js.map +1 -0
- package/package.json +54 -0
- package/prompts/analyst.md +110 -0
- package/prompts/api-reviewer.md +98 -0
- package/prompts/architect.md +109 -0
- package/prompts/build-fixer.md +89 -0
- package/prompts/code-reviewer.md +105 -0
- package/prompts/critic.md +87 -0
- package/prompts/debugger.md +93 -0
- package/prompts/deep-executor.md +112 -0
- package/prompts/dependency-expert.md +99 -0
- package/prompts/designer.md +103 -0
- package/prompts/executor.md +99 -0
- package/prompts/explore.md +112 -0
- package/prompts/git-master.md +92 -0
- package/prompts/information-architect.md +267 -0
- package/prompts/performance-reviewer.md +94 -0
- package/prompts/planner.md +116 -0
- package/prompts/product-analyst.md +299 -0
- package/prompts/product-manager.md +255 -0
- package/prompts/qa-tester.md +98 -0
- package/prompts/quality-reviewer.md +105 -0
- package/prompts/quality-strategist.md +227 -0
- package/prompts/researcher.md +96 -0
- package/prompts/scientist.md +92 -0
- package/prompts/security-reviewer.md +125 -0
- package/prompts/style-reviewer.md +87 -0
- package/prompts/test-engineer.md +103 -0
- package/prompts/ux-researcher.md +282 -0
- package/prompts/verifier.md +95 -0
- package/prompts/vision.md +75 -0
- package/prompts/writer.md +86 -0
- package/scripts/notify-hook.js +237 -0
- package/skills/analyze/SKILL.md +93 -0
- package/skills/autopilot/SKILL.md +175 -0
- package/skills/build-fix/SKILL.md +123 -0
- package/skills/cancel/SKILL.md +387 -0
- package/skills/code-review/SKILL.md +208 -0
- package/skills/configure-discord/SKILL.md +256 -0
- package/skills/configure-telegram/SKILL.md +232 -0
- package/skills/deepinit/SKILL.md +320 -0
- package/skills/deepsearch/SKILL.md +38 -0
- package/skills/doctor/SKILL.md +193 -0
- package/skills/ecomode/SKILL.md +114 -0
- package/skills/frontend-ui-ux/SKILL.md +34 -0
- package/skills/git-master/SKILL.md +29 -0
- package/skills/help/SKILL.md +192 -0
- package/skills/hud/SKILL.md +97 -0
- package/skills/learn-about-omx/SKILL.md +37 -0
- package/skills/learner/SKILL.md +135 -0
- package/skills/note/SKILL.md +62 -0
- package/skills/omx-setup/SKILL.md +1147 -0
- package/skills/pipeline/SKILL.md +407 -0
- package/skills/plan/SKILL.md +223 -0
- package/skills/project-session-manager/SKILL.md +560 -0
- package/skills/psm/SKILL.md +20 -0
- package/skills/ralph/SKILL.md +197 -0
- package/skills/ralph-init/SKILL.md +38 -0
- package/skills/ralplan/SKILL.md +34 -0
- package/skills/release/SKILL.md +83 -0
- package/skills/research/SKILL.md +510 -0
- package/skills/review/SKILL.md +30 -0
- package/skills/security-review/SKILL.md +284 -0
- package/skills/skill/SKILL.md +837 -0
- package/skills/swarm/SKILL.md +25 -0
- package/skills/tdd/SKILL.md +106 -0
- package/skills/team/SKILL.md +860 -0
- package/skills/trace/SKILL.md +33 -0
- package/skills/ultrapilot/SKILL.md +632 -0
- package/skills/ultraqa/SKILL.md +130 -0
- package/skills/ultrawork/SKILL.md +143 -0
- package/skills/writer-memory/SKILL.md +443 -0
- package/templates/AGENTS.md +326 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: swarm
|
|
3
|
+
description: N coordinated agents on shared task list (compatibility facade over team)
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Swarm (Compatibility Facade)
|
|
7
|
+
|
|
8
|
+
Swarm is a compatibility alias for the `/team` skill. All swarm invocations are routed to the Team skill's staged pipeline.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/swarm N:agent-type "task description"
|
|
14
|
+
/swarm "task description"
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Behavior
|
|
18
|
+
|
|
19
|
+
This skill is identical to `/team`. Invoke the Team skill with the same arguments:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
/team <arguments>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Follow the Team skill's full documentation for staged pipeline, agent routing, and coordination semantics.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tdd
|
|
3
|
+
description: Test-Driven Development enforcement skill - write tests first, always
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# TDD Mode
|
|
7
|
+
|
|
8
|
+
[TDD MODE ACTIVATED]
|
|
9
|
+
|
|
10
|
+
## The Iron Law
|
|
11
|
+
|
|
12
|
+
**NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
|
|
13
|
+
|
|
14
|
+
Write code before test? DELETE IT. Start over. No exceptions.
|
|
15
|
+
|
|
16
|
+
## Red-Green-Refactor Cycle
|
|
17
|
+
|
|
18
|
+
### 1. RED: Write Failing Test
|
|
19
|
+
- Write test for the NEXT piece of functionality
|
|
20
|
+
- Run test - MUST FAIL
|
|
21
|
+
- If it passes, your test is wrong
|
|
22
|
+
|
|
23
|
+
### 2. GREEN: Minimal Implementation
|
|
24
|
+
- Write ONLY enough code to pass the test
|
|
25
|
+
- No extras. No "while I'm here."
|
|
26
|
+
- Run test - MUST PASS
|
|
27
|
+
|
|
28
|
+
### 3. REFACTOR: Clean Up
|
|
29
|
+
- Improve code quality
|
|
30
|
+
- Run tests after EVERY change
|
|
31
|
+
- Must stay green
|
|
32
|
+
|
|
33
|
+
### 4. REPEAT
|
|
34
|
+
- Next failing test
|
|
35
|
+
- Continue cycle
|
|
36
|
+
|
|
37
|
+
## Enforcement Rules
|
|
38
|
+
|
|
39
|
+
| If You See | Action |
|
|
40
|
+
|------------|--------|
|
|
41
|
+
| Code written before test | STOP. Delete code. Write test first. |
|
|
42
|
+
| Test passes on first run | Test is wrong. Fix it to fail first. |
|
|
43
|
+
| Multiple features in one cycle | STOP. One test, one feature. |
|
|
44
|
+
| Skipping refactor | Go back. Clean up before next feature. |
|
|
45
|
+
|
|
46
|
+
## Commands
|
|
47
|
+
|
|
48
|
+
Before each implementation:
|
|
49
|
+
```bash
|
|
50
|
+
# Run the project's test command - should have ONE new failure
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
After implementation:
|
|
54
|
+
```bash
|
|
55
|
+
# Run the project's test command - new test should pass, all others still pass
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Output Format
|
|
59
|
+
|
|
60
|
+
When guiding TDD:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
## TDD Cycle: [Feature Name]
|
|
64
|
+
|
|
65
|
+
### RED Phase
|
|
66
|
+
Test: [test code]
|
|
67
|
+
Expected failure: [what error you expect]
|
|
68
|
+
Actual: [run result showing failure]
|
|
69
|
+
|
|
70
|
+
### GREEN Phase
|
|
71
|
+
Implementation: [minimal code]
|
|
72
|
+
Result: [run result showing pass]
|
|
73
|
+
|
|
74
|
+
### REFACTOR Phase
|
|
75
|
+
Changes: [what was cleaned up]
|
|
76
|
+
Result: [tests still pass]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## External Model Consultation (Preferred)
|
|
80
|
+
|
|
81
|
+
The tdd-guide agent SHOULD consult Codex for test strategy validation.
|
|
82
|
+
|
|
83
|
+
### Protocol
|
|
84
|
+
1. **Form your OWN test strategy FIRST** - Design tests independently
|
|
85
|
+
2. **Consult for validation** - Cross-check test coverage strategy
|
|
86
|
+
3. **Critically evaluate** - Never blindly adopt external suggestions
|
|
87
|
+
4. **Graceful fallback** - Never block if tools unavailable
|
|
88
|
+
|
|
89
|
+
### When to Consult
|
|
90
|
+
- Complex domain logic requiring comprehensive test coverage
|
|
91
|
+
- Edge case identification for critical paths
|
|
92
|
+
- Test architecture for large features
|
|
93
|
+
- Unfamiliar testing patterns
|
|
94
|
+
|
|
95
|
+
### When to Skip
|
|
96
|
+
- Simple unit tests
|
|
97
|
+
- Well-understood testing patterns
|
|
98
|
+
- Time-critical TDD cycles
|
|
99
|
+
- Small, isolated functionality
|
|
100
|
+
|
|
101
|
+
### Tool Usage
|
|
102
|
+
Before first MCP tool use, call `ToolSearch("mcp")` to discover deferred MCP tools.
|
|
103
|
+
Use `mcp__x__ask_codex` with `agent_role: "tdd-guide"`.
|
|
104
|
+
If ToolSearch finds no MCP tools, fall back to the `test-engineer` Claude agent.
|
|
105
|
+
|
|
106
|
+
**Remember:** The discipline IS the value. Shortcuts destroy the benefit.
|