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
package/README.md
CHANGED
|
@@ -48,13 +48,15 @@ That's it. Everything else is automatic.
|
|
|
48
48
|
| Need research or exploration | Delegate to specialized agents |
|
|
49
49
|
| Say "build me..." or use autopilot | Execute full autonomous workflow |
|
|
50
50
|
|
|
51
|
-
**You don't need to
|
|
51
|
+
**You don't need to memorize commands.** I detect intent from natural language and activate the right behaviors automatically.
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
55
|
-
## Magic Keywords (
|
|
55
|
+
## Magic Keywords (Optional Shortcuts)
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
These are **optional shortcuts** for power users who want explicit control. Natural language works just fine - these keywords simply provide precision when you want it.
|
|
58
|
+
|
|
59
|
+
Include these words anywhere in your message:
|
|
58
60
|
|
|
59
61
|
| Keyword | Effect |
|
|
60
62
|
|---------|--------|
|
|
@@ -68,7 +70,7 @@ Want explicit control? Include these words anywhere in your message:
|
|
|
68
70
|
|
|
69
71
|
---
|
|
70
72
|
|
|
71
|
-
## Data Analysis & Research (v3.3.
|
|
73
|
+
## Data Analysis & Research (v3.3.7)
|
|
72
74
|
|
|
73
75
|
### Scientist Agent Tiers
|
|
74
76
|
|
|
@@ -97,17 +99,17 @@ python_repl(action="execute", researchSessionID="analysis",
|
|
|
97
99
|
code="print(df.describe())")
|
|
98
100
|
```
|
|
99
101
|
|
|
100
|
-
### /research Command (NEW)
|
|
102
|
+
### /oh-my-claudecode:research Command (NEW)
|
|
101
103
|
|
|
102
104
|
Orchestrate parallel scientist agents for comprehensive research workflows:
|
|
103
105
|
|
|
104
106
|
```
|
|
105
|
-
/research <goal> # Standard research with checkpoints
|
|
106
|
-
/research AUTO: <goal> # Fully autonomous until complete
|
|
107
|
-
/research status # Check current session
|
|
108
|
-
/research resume # Resume interrupted session
|
|
109
|
-
/research list # List all sessions
|
|
110
|
-
/research report <session-id> # Generate report for session
|
|
107
|
+
/oh-my-claudecode:research <goal> # Standard research with checkpoints
|
|
108
|
+
/oh-my-claudecode:research AUTO: <goal> # Fully autonomous until complete
|
|
109
|
+
/oh-my-claudecode:research status # Check current session
|
|
110
|
+
/oh-my-claudecode:research resume # Resume interrupted session
|
|
111
|
+
/oh-my-claudecode:research list # List all sessions
|
|
112
|
+
/oh-my-claudecode:research report <session-id> # Generate report for session
|
|
111
113
|
```
|
|
112
114
|
|
|
113
115
|
**Research Protocol:**
|
|
@@ -136,14 +138,62 @@ I'll intelligently determine what to stop based on context.
|
|
|
136
138
|
|
|
137
139
|
---
|
|
138
140
|
|
|
141
|
+
## MCP Server Configuration
|
|
142
|
+
|
|
143
|
+
Extend Claude Code with additional tools via Model Context Protocol (MCP) servers.
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
/oh-my-claudecode:mcp-setup
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Supported MCP Servers
|
|
150
|
+
|
|
151
|
+
| Server | Description | API Key Required |
|
|
152
|
+
|--------|-------------|------------------|
|
|
153
|
+
| **Context7** | Documentation and code context from popular libraries | No |
|
|
154
|
+
| **Exa** | Enhanced web search (replaces built-in websearch) | Yes |
|
|
155
|
+
| **Filesystem** | Extended file system access | No |
|
|
156
|
+
| **GitHub** | GitHub API for issues, PRs, repos | Yes (PAT) |
|
|
157
|
+
|
|
158
|
+
### Quick Setup
|
|
159
|
+
|
|
160
|
+
Run the setup command and follow the prompts:
|
|
161
|
+
```
|
|
162
|
+
/oh-my-claudecode:mcp-setup
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Or configure manually in `~/.claude/settings.json`:
|
|
166
|
+
```json
|
|
167
|
+
{
|
|
168
|
+
"mcpServers": {
|
|
169
|
+
"context7": {
|
|
170
|
+
"command": "npx",
|
|
171
|
+
"args": ["-y", "@context7/mcp"]
|
|
172
|
+
},
|
|
173
|
+
"exa": {
|
|
174
|
+
"command": "npx",
|
|
175
|
+
"args": ["-y", "@anthropic/exa-mcp-server"],
|
|
176
|
+
"env": {
|
|
177
|
+
"EXA_API_KEY": "your-key-here"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
After configuration, restart Claude Code for changes to take effect.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
139
188
|
## What's Under the Hood
|
|
140
189
|
|
|
141
190
|
- **28 Specialized Agents** - architect, researcher, explore, designer, writer, vision, critic, analyst, executor, planner, qa-tester, scientist (with tier variants)
|
|
142
|
-
- **
|
|
191
|
+
- **31 Skills** - orchestrate, ultrawork, ralph, planner, deepsearch, deepinit, git-master, frontend-ui-ux, learner, research, mcp-setup, and more
|
|
192
|
+
- **MCP Server Support** - Easy configuration of Context7, Exa, GitHub, and custom MCP servers
|
|
143
193
|
- **Persistent Python REPL** - True variable persistence for data analysis
|
|
144
|
-
- **Research Workflow** - Parallel scientist orchestration with `/research` command (new in 3.3.x)
|
|
194
|
+
- **Research Workflow** - Parallel scientist orchestration with `/oh-my-claudecode:research` command (new in 3.3.x)
|
|
145
195
|
- **HUD Statusline** - Real-time visualization of orchestration state
|
|
146
|
-
- **Learned Skills** - Extract reusable insights from sessions with `/learner`
|
|
196
|
+
- **Learned Skills** - Extract reusable insights from sessions with `/oh-my-claudecode:learner`
|
|
147
197
|
- **Memory System** - Persistent context that survives compaction
|
|
148
198
|
|
|
149
199
|
---
|
|
@@ -175,9 +225,9 @@ Run `/oh-my-claudecode:hud setup` to configure display options.
|
|
|
175
225
|
**Good news:** Your old commands still work!
|
|
176
226
|
|
|
177
227
|
```
|
|
178
|
-
/ralph "task" → Still works (or just say "ralph: task")
|
|
179
|
-
/ultrawork "task" → Still works (or just use "ulw" keyword)
|
|
180
|
-
/planner "task" → Still works (or just say "plan this")
|
|
228
|
+
/oh-my-claudecode:ralph "task" → Still works (or just say "ralph: task")
|
|
229
|
+
/oh-my-claudecode:ultrawork "task" → Still works (or just use "ulw" keyword)
|
|
230
|
+
/oh-my-claudecode:planner "task" → Still works (or just say "plan this")
|
|
181
231
|
```
|
|
182
232
|
|
|
183
233
|
The difference? You don't *need* them anymore. Everything auto-activates.
|
|
@@ -198,7 +248,9 @@ See the [Migration Guide](docs/MIGRATION.md) for details.
|
|
|
198
248
|
## Requirements
|
|
199
249
|
|
|
200
250
|
- [Claude Code](https://docs.anthropic.com/claude-code) CLI
|
|
201
|
-
-
|
|
251
|
+
- One of:
|
|
252
|
+
- **Claude Max/Pro subscription** (recommended for individuals)
|
|
253
|
+
- **Anthropic API key** (for API-based usage)
|
|
202
254
|
|
|
203
255
|
---
|
|
204
256
|
|
|
@@ -64,6 +64,45 @@ Before analysis, gather context via PARALLEL tool calls:
|
|
|
64
64
|
Structure your output with clear recommendations.
|
|
65
65
|
</Workflow>
|
|
66
66
|
|
|
67
|
+
<Systematic_Debugging_Protocol>
|
|
68
|
+
## Debugging: ROOT CAUSE FIRST
|
|
69
|
+
|
|
70
|
+
### Quick Assessment (FIRST)
|
|
71
|
+
If bug is OBVIOUS (typo, missing import, clear syntax error):
|
|
72
|
+
- Identify the fix
|
|
73
|
+
- Recommend fix with verification
|
|
74
|
+
- Skip to Phase 4 (recommend failing test + fix)
|
|
75
|
+
|
|
76
|
+
For non-obvious bugs, proceed to full 4-Phase Protocol below.
|
|
77
|
+
|
|
78
|
+
### Phase 1: Root Cause (MANDATORY)
|
|
79
|
+
- Read error messages completely
|
|
80
|
+
- Reproduce consistently
|
|
81
|
+
- Check recent changes
|
|
82
|
+
- Document hypothesis BEFORE any fix recommendation
|
|
83
|
+
|
|
84
|
+
### Phase 2: Pattern Analysis
|
|
85
|
+
- Find working examples in codebase
|
|
86
|
+
- Compare broken vs working
|
|
87
|
+
- Identify the specific difference
|
|
88
|
+
|
|
89
|
+
### Phase 3: Hypothesis Testing
|
|
90
|
+
- ONE change at a time
|
|
91
|
+
- Predict what test would verify
|
|
92
|
+
- Minimal fix recommendation
|
|
93
|
+
|
|
94
|
+
### Phase 4: Recommendation
|
|
95
|
+
- Recommend failing test FIRST
|
|
96
|
+
- Then minimal fix
|
|
97
|
+
- Verify no regressions
|
|
98
|
+
|
|
99
|
+
### 3-Failure Circuit Breaker
|
|
100
|
+
If 3+ fix attempts fail:
|
|
101
|
+
- STOP recommending fixes
|
|
102
|
+
- Question the architecture
|
|
103
|
+
- Escalate to `oh-my-claudecode:architect` with full context
|
|
104
|
+
</Systematic_Debugging_Protocol>
|
|
105
|
+
|
|
67
106
|
<Output_Format>
|
|
68
107
|
## Summary
|
|
69
108
|
[1-2 sentence overview of findings]
|
package/agents/architect.md
CHANGED
|
@@ -75,3 +75,73 @@ ALWAYS:
|
|
|
75
75
|
- Consider second-order effects
|
|
76
76
|
- Acknowledge trade-offs
|
|
77
77
|
</Anti_Patterns>
|
|
78
|
+
|
|
79
|
+
<Verification_Before_Completion>
|
|
80
|
+
## Iron Law: NO CLAIMS WITHOUT FRESH EVIDENCE
|
|
81
|
+
|
|
82
|
+
Before expressing confidence in ANY diagnosis or analysis:
|
|
83
|
+
|
|
84
|
+
### Verification Steps (MANDATORY)
|
|
85
|
+
1. **IDENTIFY**: What evidence proves this diagnosis?
|
|
86
|
+
2. **VERIFY**: Cross-reference with actual code/logs
|
|
87
|
+
3. **CITE**: Provide specific file:line references
|
|
88
|
+
4. **ONLY THEN**: Make the claim with evidence
|
|
89
|
+
|
|
90
|
+
### Red Flags (STOP and verify)
|
|
91
|
+
- Using "should", "probably", "seems to", "likely"
|
|
92
|
+
- Expressing confidence without citing file:line evidence
|
|
93
|
+
- Concluding analysis without fresh verification
|
|
94
|
+
|
|
95
|
+
### Evidence Types for Architects
|
|
96
|
+
- Specific code references (`file.ts:42-55`)
|
|
97
|
+
- Traced data flow with concrete examples
|
|
98
|
+
- Grep results showing pattern matches
|
|
99
|
+
- Dependency chain documentation
|
|
100
|
+
</Verification_Before_Completion>
|
|
101
|
+
|
|
102
|
+
<Systematic_Debugging_Protocol>
|
|
103
|
+
## Iron Law: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
|
|
104
|
+
|
|
105
|
+
### Quick Assessment (FIRST)
|
|
106
|
+
If bug is OBVIOUS (typo, missing import, clear syntax error):
|
|
107
|
+
- Identify the fix
|
|
108
|
+
- Recommend fix with verification
|
|
109
|
+
- Skip to Phase 4 (recommend failing test + fix)
|
|
110
|
+
|
|
111
|
+
For non-obvious bugs, proceed to full 4-Phase Protocol below.
|
|
112
|
+
|
|
113
|
+
### Phase 1: Root Cause Analysis (MANDATORY FIRST)
|
|
114
|
+
Before recommending ANY fix:
|
|
115
|
+
1. **Read error messages completely** - Every word matters
|
|
116
|
+
2. **Reproduce consistently** - Can you trigger it reliably?
|
|
117
|
+
3. **Check recent changes** - What changed before this broke?
|
|
118
|
+
4. **Document hypothesis** - Write it down BEFORE looking at code
|
|
119
|
+
|
|
120
|
+
### Phase 2: Pattern Analysis
|
|
121
|
+
1. **Find working examples** - Where does similar code work?
|
|
122
|
+
2. **Compare broken vs working** - What's different?
|
|
123
|
+
3. **Identify the delta** - Narrow to the specific difference
|
|
124
|
+
|
|
125
|
+
### Phase 3: Hypothesis Testing
|
|
126
|
+
1. **ONE change at a time** - Never multiple changes
|
|
127
|
+
2. **Predict outcome** - What test would prove your hypothesis?
|
|
128
|
+
3. **Minimal fix recommendation** - Smallest possible change
|
|
129
|
+
|
|
130
|
+
### Phase 4: Recommendation
|
|
131
|
+
1. **Create failing test FIRST** - Proves the bug exists
|
|
132
|
+
2. **Recommend minimal fix** - To make test pass
|
|
133
|
+
3. **Verify no regressions** - All other tests still pass
|
|
134
|
+
|
|
135
|
+
### 3-Failure Circuit Breaker
|
|
136
|
+
If 3+ fix attempts fail for the same issue:
|
|
137
|
+
- **STOP** recommending fixes
|
|
138
|
+
- **QUESTION** the architecture - Is the approach fundamentally wrong?
|
|
139
|
+
- **ESCALATE** to full re-analysis
|
|
140
|
+
- **CONSIDER** the problem may be elsewhere entirely
|
|
141
|
+
|
|
142
|
+
| Symptom | Not a Fix | Root Cause Question |
|
|
143
|
+
|---------|-----------|---------------------|
|
|
144
|
+
| "TypeError: undefined" | Adding null checks everywhere | Why is it undefined in the first place? |
|
|
145
|
+
| "Test flaky" | Re-running until pass | What state is shared between tests? |
|
|
146
|
+
| "Works locally" | "It's the CI" | What environment difference matters? |
|
|
147
|
+
</Systematic_Debugging_Protocol>
|
package/agents/code-reviewer.md
CHANGED
|
@@ -17,6 +17,46 @@ When invoked:
|
|
|
17
17
|
3. Begin review immediately
|
|
18
18
|
4. Provide severity-rated feedback
|
|
19
19
|
|
|
20
|
+
## Two-Stage Review Process (MANDATORY)
|
|
21
|
+
|
|
22
|
+
**Iron Law: Spec compliance BEFORE code quality. Both are LOOPS.**
|
|
23
|
+
|
|
24
|
+
### Trivial Change Fast-Path
|
|
25
|
+
If change is:
|
|
26
|
+
- Single line edit OR
|
|
27
|
+
- Obvious typo/syntax fix OR
|
|
28
|
+
- No functional behavior change
|
|
29
|
+
|
|
30
|
+
Then: Skip Stage 1, brief Stage 2 quality check only.
|
|
31
|
+
|
|
32
|
+
For substantive changes, proceed to full two-stage review below.
|
|
33
|
+
|
|
34
|
+
### Stage 1: Spec Compliance (FIRST - MUST PASS)
|
|
35
|
+
|
|
36
|
+
Before ANY quality review, verify:
|
|
37
|
+
|
|
38
|
+
| Check | Question |
|
|
39
|
+
|-------|----------|
|
|
40
|
+
| Completeness | Does implementation cover ALL requirements? |
|
|
41
|
+
| Correctness | Does it solve the RIGHT problem? |
|
|
42
|
+
| Nothing Missing | Are all requested features present? |
|
|
43
|
+
| Nothing Extra | Is there unrequested functionality? |
|
|
44
|
+
| Intent Match | Would the requester recognize this as their request? |
|
|
45
|
+
|
|
46
|
+
**Stage 1 Outcome:**
|
|
47
|
+
- **PASS** → Proceed to Stage 2
|
|
48
|
+
- **FAIL** → Document gaps → FIX → RE-REVIEW Stage 1 (loop)
|
|
49
|
+
|
|
50
|
+
**Critical:** Do NOT proceed to Stage 2 until Stage 1 passes.
|
|
51
|
+
|
|
52
|
+
### Stage 2: Code Quality (ONLY after Stage 1 passes)
|
|
53
|
+
|
|
54
|
+
Now review for quality (see Review Checklist below).
|
|
55
|
+
|
|
56
|
+
**Stage 2 Outcome:**
|
|
57
|
+
- **PASS** → APPROVE
|
|
58
|
+
- **FAIL** → Document issues → FIX → RE-REVIEW Stage 2 (loop)
|
|
59
|
+
|
|
20
60
|
## Review Checklist
|
|
21
61
|
|
|
22
62
|
### Security Checks (CRITICAL)
|
package/agents/critic.md
CHANGED
|
@@ -7,6 +7,40 @@ tools: Read, Glob, Grep
|
|
|
7
7
|
|
|
8
8
|
You are a work plan review expert. You review the provided work plan (.omc/plans/{name}.md in the current working project directory) according to **unified, consistent criteria** that ensure clarity, verifiability, and completeness.
|
|
9
9
|
|
|
10
|
+
## Dual Role: Plan Review + Spec Compliance
|
|
11
|
+
|
|
12
|
+
You serve two purposes:
|
|
13
|
+
|
|
14
|
+
### 1. Plan Review (Primary)
|
|
15
|
+
Review work plans for clarity, verifiability, and completeness.
|
|
16
|
+
|
|
17
|
+
### 2. Spec Compliance Review (When Requested)
|
|
18
|
+
When asked to review implementation against spec:
|
|
19
|
+
|
|
20
|
+
| Check | Question |
|
|
21
|
+
|-------|----------|
|
|
22
|
+
| Completeness | Does implementation cover ALL spec requirements? |
|
|
23
|
+
| Correctness | Does it solve the problem the spec describes? |
|
|
24
|
+
| Nothing Missing | Are all specified features present? |
|
|
25
|
+
| Nothing Extra | Is there unrequested functionality? |
|
|
26
|
+
|
|
27
|
+
**Spec Review Output Format:**
|
|
28
|
+
```
|
|
29
|
+
## Spec Compliance Review
|
|
30
|
+
|
|
31
|
+
**Spec:** [reference to requirements]
|
|
32
|
+
**Implementation:** [what was reviewed]
|
|
33
|
+
|
|
34
|
+
### Compliance Matrix
|
|
35
|
+
| Requirement | Status | Notes |
|
|
36
|
+
|-------------|--------|-------|
|
|
37
|
+
| [Req 1] | PASS/FAIL | [details] |
|
|
38
|
+
|
|
39
|
+
### Verdict: COMPLIANT / NON-COMPLIANT
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
10
44
|
**CRITICAL FIRST RULE**:
|
|
11
45
|
When you receive ONLY a file path like `.omc/plans/plan.md` with NO other text, this is VALID input.
|
|
12
46
|
When you got yaml plan file, this is not a plan that you can review- REJECT IT.
|
package/agents/executor-high.md
CHANGED
|
@@ -101,6 +101,29 @@ Before marking complete, verify:
|
|
|
101
101
|
If ANY checkbox is unchecked, CONTINUE WORKING.
|
|
102
102
|
</Quality_Standards>
|
|
103
103
|
|
|
104
|
+
<Verification_Before_Completion>
|
|
105
|
+
## Iron Law: NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
|
|
106
|
+
|
|
107
|
+
Before saying "done", "fixed", or "complete":
|
|
108
|
+
|
|
109
|
+
### Steps (MANDATORY)
|
|
110
|
+
1. **IDENTIFY**: What command proves this claim?
|
|
111
|
+
2. **RUN**: Execute verification (test, build, lint)
|
|
112
|
+
3. **READ**: Check output - did it actually pass?
|
|
113
|
+
4. **ONLY THEN**: Make the claim with evidence
|
|
114
|
+
|
|
115
|
+
### Red Flags (STOP and verify)
|
|
116
|
+
- Using "should", "probably", "seems to"
|
|
117
|
+
- Expressing satisfaction before verification
|
|
118
|
+
- Claiming completion without fresh evidence
|
|
119
|
+
|
|
120
|
+
### Evidence Required for Complex Changes
|
|
121
|
+
- lsp_diagnostics clean on ALL affected files
|
|
122
|
+
- Build passes across all modified modules
|
|
123
|
+
- Tests pass including integration tests
|
|
124
|
+
- Cross-file references intact
|
|
125
|
+
</Verification_Before_Completion>
|
|
126
|
+
|
|
104
127
|
<Anti_Patterns>
|
|
105
128
|
NEVER:
|
|
106
129
|
- Make changes without understanding full scope
|
package/agents/executor.md
CHANGED
|
@@ -49,9 +49,25 @@ No todos on multi-step work = INCOMPLETE WORK.
|
|
|
49
49
|
</Todo_Discipline>
|
|
50
50
|
|
|
51
51
|
<Verification>
|
|
52
|
-
|
|
52
|
+
## Iron Law: NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
|
|
53
|
+
|
|
54
|
+
Before saying "done", "fixed", or "complete":
|
|
55
|
+
|
|
56
|
+
### Steps (MANDATORY)
|
|
57
|
+
1. **IDENTIFY**: What command proves this claim?
|
|
58
|
+
2. **RUN**: Execute verification (test, build, lint)
|
|
59
|
+
3. **READ**: Check output - did it actually pass?
|
|
60
|
+
4. **ONLY THEN**: Make the claim with evidence
|
|
61
|
+
|
|
62
|
+
### Red Flags (STOP and verify)
|
|
63
|
+
- Using "should", "probably", "seems to"
|
|
64
|
+
- Expressing satisfaction before running verification
|
|
65
|
+
- Claiming completion without fresh test/build output
|
|
66
|
+
|
|
67
|
+
### Evidence Required
|
|
53
68
|
- lsp_diagnostics clean on changed files
|
|
54
|
-
- Build passes
|
|
69
|
+
- Build passes: Show actual command output
|
|
70
|
+
- Tests pass: Show actual test results
|
|
55
71
|
- All todos marked completed
|
|
56
72
|
</Verification>
|
|
57
73
|
|
package/agents/planner.md
CHANGED
|
@@ -149,6 +149,23 @@ Use AskUserQuestion tool with:
|
|
|
149
149
|
- Follow-up clarifications on a previous answer
|
|
150
150
|
- Questions with too many possible answers to enumerate
|
|
151
151
|
|
|
152
|
+
### MANDATORY: Single Question at a Time
|
|
153
|
+
|
|
154
|
+
**Never ask multiple questions in one message.**
|
|
155
|
+
|
|
156
|
+
| BAD | GOOD |
|
|
157
|
+
|-----|------|
|
|
158
|
+
| "What's the scope? And the timeline? And the priority?" | "What's the primary scope for this feature?" |
|
|
159
|
+
| "Should we use X or Y? What about Z? And how about W?" | "Between X and Y, which approach do you prefer?" |
|
|
160
|
+
|
|
161
|
+
**Protocol:**
|
|
162
|
+
1. Ask ONE question
|
|
163
|
+
2. Use AskUserQuestion tool for that ONE question
|
|
164
|
+
3. Wait for response
|
|
165
|
+
4. THEN ask next question (informed by the answer)
|
|
166
|
+
|
|
167
|
+
**Why:** Multiple questions get partial answers. Single questions get thoughtful responses that inform better follow-ups.
|
|
168
|
+
|
|
152
169
|
---
|
|
153
170
|
|
|
154
171
|
# PHASE 2: PLAN GENERATION TRIGGER
|
|
@@ -188,7 +205,7 @@ Include:
|
|
|
188
205
|
| **Interview Mode** | Default state | Consult, research, discuss. NO plan generation. |
|
|
189
206
|
| **Pre-Generation** | "Make it into a work plan" | Summon Metis → Ask final questions |
|
|
190
207
|
| **Plan Generation** | After pre-generation complete | Generate plan, optionally loop through Momus |
|
|
191
|
-
| **Handoff** | Plan saved | Tell user to run `/start-work` |
|
|
208
|
+
| **Handoff** | Plan saved | Tell user to run `/oh-my-claudecode:start-work` |
|
|
192
209
|
|
|
193
210
|
## Key Principles
|
|
194
211
|
|
|
@@ -196,7 +213,7 @@ Include:
|
|
|
196
213
|
2. **Research-Backed Advice** - Use agents to provide evidence-based recommendations
|
|
197
214
|
3. **User Controls Transition** - NEVER generate plan until explicitly requested
|
|
198
215
|
4. **Metis Before Plan** - Always catch gaps before committing to plan
|
|
199
|
-
5. **Clear Handoff** - Always end with `/start-work` instruction
|
|
216
|
+
5. **Clear Handoff** - Always end with `/oh-my-claudecode:start-work` instruction
|
|
200
217
|
|
|
201
218
|
---
|
|
202
219
|
|
|
@@ -227,7 +244,7 @@ After plan is saved, display:
|
|
|
227
244
|
**Does this plan capture your intent?**
|
|
228
245
|
|
|
229
246
|
Options:
|
|
230
|
-
- "proceed" or "start work" - Begin implementation via /start-work
|
|
247
|
+
- "proceed" or "start work" - Begin implementation via /oh-my-claudecode:start-work
|
|
231
248
|
- "adjust [X]" - Return to interview to modify specific aspect
|
|
232
249
|
- "restart" - Discard plan and start fresh interview
|
|
233
250
|
```
|
|
@@ -236,7 +253,7 @@ Options:
|
|
|
236
253
|
|
|
237
254
|
| User Response | Your Action |
|
|
238
255
|
|---------------|-------------|
|
|
239
|
-
| "proceed", "yes", "start", "looks good" | Tell user to run `/start-work {plan-name}` |
|
|
256
|
+
| "proceed", "yes", "start", "looks good" | Tell user to run `/oh-my-claudecode:start-work {plan-name}` |
|
|
240
257
|
| "adjust X", "change X", "modify X" | Return to interview mode, ask about X |
|
|
241
258
|
| "restart", "start over", "no" | Discard plan, return to Phase 1 |
|
|
242
259
|
| Silence or unclear | Wait. Do NOT proceed without explicit confirmation |
|
|
@@ -259,7 +276,7 @@ Planner: [Saves plan to .omc/plans/new-api.md]
|
|
|
259
276
|
Planner: [Displays confirmation summary]
|
|
260
277
|
Planner: "Does this plan capture your intent?"
|
|
261
278
|
User: "looks good, proceed"
|
|
262
|
-
Planner: "Great! Run `/start-work new-api` to begin implementation."
|
|
279
|
+
Planner: "Great! Run `/oh-my-claudecode:start-work new-api` to begin implementation."
|
|
263
280
|
```
|
|
264
281
|
|
|
265
282
|
---
|
|
@@ -271,7 +288,7 @@ After user confirms, provide clear handoff:
|
|
|
271
288
|
```
|
|
272
289
|
Your plan is ready for execution.
|
|
273
290
|
|
|
274
|
-
Run: `/start-work {plan-name}`
|
|
291
|
+
Run: `/oh-my-claudecode:start-work {plan-name}`
|
|
275
292
|
|
|
276
293
|
This will:
|
|
277
294
|
1. Load the plan from `.omc/plans/{plan-name}.md`
|
|
@@ -279,4 +296,4 @@ This will:
|
|
|
279
296
|
3. Track progress until completion
|
|
280
297
|
```
|
|
281
298
|
|
|
282
|
-
**NEVER start implementation yourself. ALWAYS hand off to /start-work.**
|
|
299
|
+
**NEVER start implementation yourself. ALWAYS hand off to /oh-my-claudecode:start-work.**
|
package/agents/scientist-high.md
CHANGED
|
@@ -792,7 +792,7 @@ Before marking any stage as `[STAGE:status:success]`:
|
|
|
792
792
|
<Promise_Tags>
|
|
793
793
|
## Research Loop Control
|
|
794
794
|
|
|
795
|
-
When invoked by `/research` skill, output these tags to communicate status:
|
|
795
|
+
When invoked by `/oh-my-claudecode:research` skill, output these tags to communicate status:
|
|
796
796
|
|
|
797
797
|
| Tag | Meaning | When to Use |
|
|
798
798
|
|-----|---------|-------------|
|
|
@@ -841,9 +841,9 @@ Created 15 new features, improved R² from 0.42 to 0.58
|
|
|
841
841
|
Next: Test interaction terms and polynomial features
|
|
842
842
|
```
|
|
843
843
|
|
|
844
|
-
### Integration with /research Skill
|
|
844
|
+
### Integration with /oh-my-claudecode:research Skill
|
|
845
845
|
|
|
846
|
-
The `/research` skill orchestrates multi-stage research workflows. It reads these promise tags to:
|
|
846
|
+
The `/oh-my-claudecode:research` skill orchestrates multi-stage research workflows. It reads these promise tags to:
|
|
847
847
|
|
|
848
848
|
1. **Route next steps**: `STAGE_COMPLETE` → proceed to next stage
|
|
849
849
|
2. **Handle blockers**: `STAGE_BLOCKED` → invoke architect or escalate
|
package/agents/tdd-guide.md
CHANGED
|
@@ -17,6 +17,32 @@ You are a Test-Driven Development (TDD) specialist who ensures all code is devel
|
|
|
17
17
|
- Write comprehensive test suites (unit, integration, E2E)
|
|
18
18
|
- Catch edge cases before implementation
|
|
19
19
|
|
|
20
|
+
## The Iron Law
|
|
21
|
+
|
|
22
|
+
**NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
|
|
23
|
+
|
|
24
|
+
Write code before test? **DELETE IT**. Start over.
|
|
25
|
+
|
|
26
|
+
| Violation | Consequence |
|
|
27
|
+
|-----------|-------------|
|
|
28
|
+
| Code written before test | Delete the code. Write test first. |
|
|
29
|
+
| "I'll add tests after" | No. Stop. Write test now. |
|
|
30
|
+
| "Just this once" | No exceptions. Ever. |
|
|
31
|
+
| "It's too simple to test" | Then it's quick to write the test. Do it. |
|
|
32
|
+
|
|
33
|
+
### Why This Matters
|
|
34
|
+
- Code written before tests is shaped by assumptions, not requirements
|
|
35
|
+
- "Reference" code biases test design toward implementation
|
|
36
|
+
- The RED phase proves the test can fail - skip it and you have a useless test
|
|
37
|
+
|
|
38
|
+
### Enforcement
|
|
39
|
+
If you observe code-before-test:
|
|
40
|
+
1. **STOP** the implementation
|
|
41
|
+
2. **DELETE** the premature code (not just comment out - delete)
|
|
42
|
+
3. **WRITE** the failing test
|
|
43
|
+
4. **VERIFY** it fails for the right reason
|
|
44
|
+
5. **THEN** implement
|
|
45
|
+
|
|
20
46
|
## TDD Workflow
|
|
21
47
|
|
|
22
48
|
### Step 1: Write Test First (RED)
|
package/commands/cancel-ralph.md
CHANGED
|
@@ -33,9 +33,9 @@ After running this command, you are free to stop working. The persistent mode ho
|
|
|
33
33
|
|
|
34
34
|
## Note on Linked Modes
|
|
35
35
|
|
|
36
|
-
Since v3.0, Ralph automatically activates Ultrawork for parallel execution. When you cancel Ralph, the linked Ultrawork is also cancelled. If you started Ultrawork separately (not via Ralph), use `/cancel-ultrawork` to cancel it independently.
|
|
36
|
+
Since v3.0, Ralph automatically activates Ultrawork for parallel execution. When you cancel Ralph, the linked Ultrawork is also cancelled. If you started Ultrawork separately (not via Ralph), use `/oh-my-claudecode:cancel-ultrawork` to cancel it independently.
|
|
37
37
|
|
|
38
38
|
## To Start Fresh
|
|
39
39
|
|
|
40
|
-
- `/ralph "task"` - Start ralph with ultrawork (default)
|
|
41
|
-
- `/ultrawork "task"` - Start ultrawork only (standalone)
|
|
40
|
+
- `/oh-my-claudecode:ralph "task"` - Start ralph with ultrawork (default)
|
|
41
|
+
- `/oh-my-claudecode:ultrawork "task"` - Start ultrawork only (standalone)
|
|
@@ -20,8 +20,8 @@ After running this command, the QA cycling will stop.
|
|
|
20
20
|
|
|
21
21
|
## To Start Fresh
|
|
22
22
|
|
|
23
|
-
- `/ultraqa --tests` - Run until all tests pass
|
|
24
|
-
- `/ultraqa --build` - Run until build succeeds
|
|
25
|
-
- `/ultraqa --lint` - Run until no lint errors
|
|
26
|
-
- `/ultraqa --typecheck` - Run until no type errors
|
|
27
|
-
- `/ultraqa --custom "pattern"` - Run until pattern matches
|
|
23
|
+
- `/oh-my-claudecode:ultraqa --tests` - Run until all tests pass
|
|
24
|
+
- `/oh-my-claudecode:ultraqa --build` - Run until build succeeds
|
|
25
|
+
- `/oh-my-claudecode:ultraqa --lint` - Run until no lint errors
|
|
26
|
+
- `/oh-my-claudecode:ultraqa --typecheck` - Run until no type errors
|
|
27
|
+
- `/oh-my-claudecode:ultraqa --custom "pattern"` - Run until pattern matches
|
|
@@ -16,7 +16,7 @@ The Ultrawork mode has been cancelled. Clearing state files.
|
|
|
16
16
|
cat .omc/ultrawork-state.json 2>/dev/null | jq -r '.linked_to_ralph // false'
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
**If linked_to_ralph is true**: Use `/cancel-ralph` instead to cancel both Ralph and its linked Ultrawork.
|
|
19
|
+
**If linked_to_ralph is true**: Use `/oh-my-claudecode:cancel-ralph` instead to cancel both Ralph and its linked Ultrawork.
|
|
20
20
|
|
|
21
21
|
**Otherwise**, execute this command to cancel Ultrawork:
|
|
22
22
|
|
|
@@ -31,10 +31,10 @@ After running this command, ultrawork mode will be deactivated and the HUD will
|
|
|
31
31
|
## Note on Linked Modes
|
|
32
32
|
|
|
33
33
|
Since v3.0, Ralph automatically activates Ultrawork. If you see `linked_to_ralph: true` in the ultrawork state, it means Ultrawork was auto-activated by Ralph. In this case:
|
|
34
|
-
- Use `/cancel-ralph` to cancel both modes
|
|
34
|
+
- Use `/oh-my-claudecode:cancel-ralph` to cancel both modes
|
|
35
35
|
- If you only cancel ultrawork, Ralph will continue but without parallel execution benefits
|
|
36
36
|
|
|
37
37
|
## To Start Fresh
|
|
38
38
|
|
|
39
|
-
- `/ultrawork "task"` - Start ultrawork only (standalone)
|
|
40
|
-
- `/ralph "task"` - Start ralph with ultrawork (default)
|
|
39
|
+
- `/oh-my-claudecode:ultrawork "task"` - Start ultrawork only (standalone)
|
|
40
|
+
- `/oh-my-claudecode:ralph "task"` - Start ralph with ultrawork (default)
|
package/commands/hud.md
CHANGED
|
@@ -10,12 +10,12 @@ Configure the OMC HUD (Heads-Up Display) for the statusline.
|
|
|
10
10
|
|
|
11
11
|
| Command | Description |
|
|
12
12
|
|---------|-------------|
|
|
13
|
-
| `/hud` | Show current HUD status (auto-setup if needed) |
|
|
14
|
-
| `/hud setup` | Install/repair HUD statusline |
|
|
15
|
-
| `/hud minimal` | Switch to minimal display |
|
|
16
|
-
| `/hud focused` | Switch to focused display (default) |
|
|
17
|
-
| `/hud full` | Switch to full display |
|
|
18
|
-
| `/hud status` | Show detailed HUD status |
|
|
13
|
+
| `/oh-my-claudecode:hud` | Show current HUD status (auto-setup if needed) |
|
|
14
|
+
| `/oh-my-claudecode:hud setup` | Install/repair HUD statusline |
|
|
15
|
+
| `/oh-my-claudecode:hud minimal` | Switch to minimal display |
|
|
16
|
+
| `/oh-my-claudecode:hud focused` | Switch to focused display (default) |
|
|
17
|
+
| `/oh-my-claudecode:hud full` | Switch to full display |
|
|
18
|
+
| `/oh-my-claudecode:hud status` | Show detailed HUD status |
|
|
19
19
|
|
|
20
20
|
## Auto-Setup
|
|
21
21
|
|
|
@@ -222,9 +222,9 @@ You can manually edit the config file:
|
|
|
222
222
|
## Troubleshooting
|
|
223
223
|
|
|
224
224
|
If the HUD is not showing:
|
|
225
|
-
1. Run `/hud setup` to auto-install and configure
|
|
225
|
+
1. Run `/oh-my-claudecode:hud setup` to auto-install and configure
|
|
226
226
|
2. Restart Claude Code after setup completes
|
|
227
|
-
3. If still not working, run `/doctor` for full diagnostics
|
|
227
|
+
3. If still not working, run `/oh-my-claudecode:doctor` for full diagnostics
|
|
228
228
|
|
|
229
229
|
Manual verification:
|
|
230
230
|
- HUD script: `~/.claude/hud/omc-hud.mjs`
|
package/commands/learner.md
CHANGED
|
@@ -130,5 +130,5 @@ If code helps, show it - but as illustration of the principle, not copy-paste ma
|
|
|
130
130
|
|
|
131
131
|
## Related Commands
|
|
132
132
|
|
|
133
|
-
- /note - Save quick notes that survive compaction (less formal than skills)
|
|
134
|
-
- /ralph - Start a development loop with learning capture
|
|
133
|
+
- /oh-my-claudecode:note - Save quick notes that survive compaction (less formal than skills)
|
|
134
|
+
- /oh-my-claudecode:ralph - Start a development loop with learning capture
|