oh-my-claude-sisyphus 3.3.5 → 3.3.7
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 +70 -18
- package/agents/architect-medium.md +39 -0
- package/agents/architect.md +70 -0
- package/agents/code-reviewer.md +40 -0
- package/agents/critic.md +34 -0
- package/agents/executor-high.md +23 -0
- package/agents/executor.md +18 -2
- package/agents/planner.md +24 -7
- package/agents/scientist-high.md +3 -3
- package/agents/tdd-guide.md +26 -0
- package/commands/cancel-ralph.md +3 -3
- package/commands/cancel-ultraqa.md +5 -5
- package/commands/cancel-ultrawork.md +4 -4
- package/commands/hud.md +8 -8
- package/commands/learner.md +2 -2
- package/commands/mcp-setup.md +194 -0
- package/commands/note.md +11 -11
- package/commands/omc-setup.md +18 -2
- package/commands/ralph-init.md +1 -1
- package/commands/ralplan.md +59 -6
- package/commands/release.md +2 -2
- package/commands/research.md +7 -7
- package/commands/ultraqa.md +6 -6
- package/dist/__tests__/installer.test.js +1 -1
- package/dist/__tests__/skills.test.js +6 -5
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.js +1 -1
- package/docs/CLAUDE.md +53 -27
- package/docs/FULL-README.md +26 -24
- package/docs/MIGRATION-v3.md +6 -6
- package/docs/MIGRATION.md +43 -43
- package/package.json +1 -1
- package/skills/analyze/SKILL.md +17 -0
- package/skills/autopilot/SKILL.md +8 -8
- package/skills/cancel-autopilot/SKILL.md +3 -3
- package/skills/cancel-ralph/SKILL.md +3 -3
- package/skills/cancel-ultraqa/SKILL.md +5 -5
- package/skills/cancel-ultrawork/SKILL.md +4 -4
- package/skills/hud/SKILL.md +9 -9
- package/skills/learner/SKILL.md +3 -3
- package/skills/mcp-setup/SKILL.md +196 -0
- package/skills/note/SKILL.md +11 -11
- package/skills/omc-setup/SKILL.md +18 -2
- package/skills/planner/SKILL.md +52 -0
- package/skills/ralph/SKILL.md +26 -0
- package/skills/ralph-init/SKILL.md +1 -1
- package/skills/ralplan/SKILL.md +59 -6
- package/skills/release/SKILL.md +2 -2
- package/skills/research/SKILL.md +17 -17
- package/skills/tdd/SKILL.md +80 -0
- package/skills/ultraqa/SKILL.md +6 -6
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tdd
|
|
3
|
+
description: Test-Driven Development enforcement skill - write tests first, always
|
|
4
|
+
user-invocable: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# TDD Mode
|
|
8
|
+
|
|
9
|
+
[TDD MODE ACTIVATED]
|
|
10
|
+
|
|
11
|
+
## The Iron Law
|
|
12
|
+
|
|
13
|
+
**NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
|
|
14
|
+
|
|
15
|
+
Write code before test? DELETE IT. Start over. No exceptions.
|
|
16
|
+
|
|
17
|
+
## Red-Green-Refactor Cycle
|
|
18
|
+
|
|
19
|
+
### 1. RED: Write Failing Test
|
|
20
|
+
- Write test for the NEXT piece of functionality
|
|
21
|
+
- Run test - MUST FAIL
|
|
22
|
+
- If it passes, your test is wrong
|
|
23
|
+
|
|
24
|
+
### 2. GREEN: Minimal Implementation
|
|
25
|
+
- Write ONLY enough code to pass the test
|
|
26
|
+
- No extras. No "while I'm here."
|
|
27
|
+
- Run test - MUST PASS
|
|
28
|
+
|
|
29
|
+
### 3. REFACTOR: Clean Up
|
|
30
|
+
- Improve code quality
|
|
31
|
+
- Run tests after EVERY change
|
|
32
|
+
- Must stay green
|
|
33
|
+
|
|
34
|
+
### 4. REPEAT
|
|
35
|
+
- Next failing test
|
|
36
|
+
- Continue cycle
|
|
37
|
+
|
|
38
|
+
## Enforcement Rules
|
|
39
|
+
|
|
40
|
+
| If You See | Action |
|
|
41
|
+
|------------|--------|
|
|
42
|
+
| Code written before test | STOP. Delete code. Write test first. |
|
|
43
|
+
| Test passes on first run | Test is wrong. Fix it to fail first. |
|
|
44
|
+
| Multiple features in one cycle | STOP. One test, one feature. |
|
|
45
|
+
| Skipping refactor | Go back. Clean up before next feature. |
|
|
46
|
+
|
|
47
|
+
## Commands
|
|
48
|
+
|
|
49
|
+
Before each implementation:
|
|
50
|
+
```bash
|
|
51
|
+
npm test # Should have ONE new failure
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
After implementation:
|
|
55
|
+
```bash
|
|
56
|
+
npm test # New test should pass, all others still pass
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Output Format
|
|
60
|
+
|
|
61
|
+
When guiding TDD:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
## TDD Cycle: [Feature Name]
|
|
65
|
+
|
|
66
|
+
### RED Phase
|
|
67
|
+
Test: [test code]
|
|
68
|
+
Expected failure: [what error you expect]
|
|
69
|
+
Actual: [run result showing failure]
|
|
70
|
+
|
|
71
|
+
### GREEN Phase
|
|
72
|
+
Implementation: [minimal code]
|
|
73
|
+
Result: [run result showing pass]
|
|
74
|
+
|
|
75
|
+
### REFACTOR Phase
|
|
76
|
+
Changes: [what was cleaned up]
|
|
77
|
+
Result: [tests still pass]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Remember:** The discipline IS the value. Shortcuts destroy the benefit.
|
package/skills/ultraqa/SKILL.md
CHANGED
|
@@ -20,11 +20,11 @@ Parse the goal from arguments. Supported formats:
|
|
|
20
20
|
|
|
21
21
|
| Invocation | Goal Type | What to Check |
|
|
22
22
|
|------------|-----------|---------------|
|
|
23
|
-
| `/ultraqa --tests` | tests | All test suites pass |
|
|
24
|
-
| `/ultraqa --build` | build | Build succeeds with exit 0 |
|
|
25
|
-
| `/ultraqa --lint` | lint | No lint errors |
|
|
26
|
-
| `/ultraqa --typecheck` | typecheck | No TypeScript errors |
|
|
27
|
-
| `/ultraqa --custom "pattern"` | custom | Custom success pattern in output |
|
|
23
|
+
| `/oh-my-claudecode:ultraqa --tests` | tests | All test suites pass |
|
|
24
|
+
| `/oh-my-claudecode:ultraqa --build` | build | Build succeeds with exit 0 |
|
|
25
|
+
| `/oh-my-claudecode:ultraqa --lint` | lint | No lint errors |
|
|
26
|
+
| `/oh-my-claudecode:ultraqa --typecheck` | typecheck | No TypeScript errors |
|
|
27
|
+
| `/oh-my-claudecode:ultraqa --custom "pattern"` | custom | Custom success pattern in output |
|
|
28
28
|
|
|
29
29
|
If no structured goal provided, interpret the argument as a custom goal.
|
|
30
30
|
|
|
@@ -108,7 +108,7 @@ Track state in `.omc/ultraqa-state.json`:
|
|
|
108
108
|
|
|
109
109
|
## Cancellation
|
|
110
110
|
|
|
111
|
-
User can cancel with `/cancel-ultraqa` which clears the state file.
|
|
111
|
+
User can cancel with `/oh-my-claudecode:cancel-ultraqa` which clears the state file.
|
|
112
112
|
|
|
113
113
|
## Important Rules
|
|
114
114
|
|