opencodekit 0.6.0 → 0.6.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/dist/index.js +1 -1
- package/dist/template/.opencode/AGENTS.md +4 -1
- package/dist/template/.opencode/command/skill-create.md +3 -3
- package/dist/template/.opencode/command/skill-optimize.md +1 -1
- package/dist/template/.opencode/opencode.json +493 -535
- package/dist/template/.opencode/pickle-thinker.jsonc +11 -0
- package/dist/template/.opencode/plugin/skill.ts +275 -0
- package/dist/template/.opencode/{skills → skill}/accessibility-audit/SKILL.md +5 -0
- package/dist/template/.opencode/{skills → skill}/brainstorming/SKILL.md +2 -2
- package/dist/template/.opencode/{skills → skill}/design-system-audit/SKILL.md +5 -0
- package/dist/template/.opencode/{skills → skill}/executing-plans/SKILL.md +13 -2
- package/dist/template/.opencode/{skills → skill}/frontend-aesthetics/SKILL.md +5 -0
- package/dist/template/.opencode/{skills → skill}/mockup-to-code/SKILL.md +5 -0
- package/dist/template/.opencode/{skills → skill}/requesting-code-review/SKILL.md +16 -6
- package/dist/template/.opencode/{skills → skill}/subagent-driven-development/SKILL.md +38 -17
- package/dist/template/.opencode/{skills → skill}/systematic-debugging/SKILL.md +28 -18
- package/dist/template/.opencode/{skills → skill}/testing-skills-with-subagents/SKILL.md +1 -1
- package/dist/template/.opencode/{skills → skill}/ui-ux-research/SKILL.md +5 -0
- package/dist/template/.opencode/{skills → skill}/visual-analysis/SKILL.md +5 -0
- package/dist/template/.opencode/{skills → skill}/writing-plans/SKILL.md +3 -3
- package/dist/template/.opencode/{skills → skill}/writing-skills/SKILL.md +101 -41
- package/package.json +1 -1
- package/dist/template/.opencode/plugin/superpowers.ts +0 -271
- package/dist/template/.opencode/superpowers/.claude/settings.local.json +0 -141
- package/dist/template/.opencode/superpowers/.claude-plugin/marketplace.json +0 -20
- package/dist/template/.opencode/superpowers/.claude-plugin/plugin.json +0 -13
- package/dist/template/.opencode/superpowers/.codex/INSTALL.md +0 -35
- package/dist/template/.opencode/superpowers/.codex/superpowers-bootstrap.md +0 -33
- package/dist/template/.opencode/superpowers/.codex/superpowers-codex +0 -267
- package/dist/template/.opencode/superpowers/.github/FUNDING.yml +0 -3
- package/dist/template/.opencode/superpowers/.opencode/INSTALL.md +0 -135
- package/dist/template/.opencode/superpowers/.opencode/plugin/superpowers.js +0 -215
- package/dist/template/.opencode/superpowers/LICENSE +0 -21
- package/dist/template/.opencode/superpowers/README.md +0 -165
- package/dist/template/.opencode/superpowers/RELEASE-NOTES.md +0 -493
- package/dist/template/.opencode/superpowers/agents/code-reviewer.md +0 -48
- package/dist/template/.opencode/superpowers/commands/brainstorm.md +0 -5
- package/dist/template/.opencode/superpowers/commands/execute-plan.md +0 -5
- package/dist/template/.opencode/superpowers/commands/write-plan.md +0 -5
- package/dist/template/.opencode/superpowers/docs/README.codex.md +0 -153
- package/dist/template/.opencode/superpowers/docs/README.opencode.md +0 -234
- package/dist/template/.opencode/superpowers/docs/plans/2025-11-22-opencode-support-design.md +0 -294
- package/dist/template/.opencode/superpowers/docs/plans/2025-11-22-opencode-support-implementation.md +0 -1095
- package/dist/template/.opencode/superpowers/hooks/hooks.json +0 -15
- package/dist/template/.opencode/superpowers/hooks/session-start.sh +0 -34
- package/dist/template/.opencode/superpowers/lib/skills-core.js +0 -208
- package/dist/template/.opencode/superpowers/tests/opencode/run-tests.sh +0 -165
- package/dist/template/.opencode/superpowers/tests/opencode/setup.sh +0 -73
- package/dist/template/.opencode/superpowers/tests/opencode/test-plugin-loading.sh +0 -81
- package/dist/template/.opencode/superpowers/tests/opencode/test-priority.sh +0 -198
- package/dist/template/.opencode/superpowers/tests/opencode/test-skills-core.sh +0 -440
- package/dist/template/.opencode/superpowers/tests/opencode/test-tools.sh +0 -104
- /package/dist/template/.opencode/{skills → skill}/condition-based-waiting/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/condition-based-waiting/example.ts +0 -0
- /package/dist/template/.opencode/{skills → skill}/defense-in-depth/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/dispatching-parallel-agents/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/finishing-a-development-branch/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/gemini-large-context/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/receiving-code-review/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills/requesting-code-review/code-reviewer.md → skill/requesting-code-review/review.md} +0 -0
- /package/dist/template/.opencode/{skills → skill}/root-cause-tracing/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/root-cause-tracing/find-polluter.sh +0 -0
- /package/dist/template/.opencode/{skills → skill}/sharing-skills/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/systematic-debugging/CREATION-LOG.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/systematic-debugging/test-academic.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/systematic-debugging/test-pressure-1.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/systematic-debugging/test-pressure-2.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/systematic-debugging/test-pressure-3.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/test-driven-development/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/testing-anti-patterns/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/testing-skills-with-subagents/examples/CLAUDE_MD_TESTING.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/using-git-worktrees/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/using-superpowers/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/verification-before-completion/SKILL.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/writing-skills/anthropic-best-practices.md +0 -0
- /package/dist/template/.opencode/{skills → skill}/writing-skills/graphviz-conventions.dot +0 -0
- /package/dist/template/.opencode/{skills → skill}/writing-skills/persuasion-principles.md +0 -0
|
@@ -24,6 +24,7 @@ If you haven't completed Phase 1, you cannot propose fixes.
|
|
|
24
24
|
## When to Use
|
|
25
25
|
|
|
26
26
|
Use for ANY technical issue:
|
|
27
|
+
|
|
27
28
|
- Test failures
|
|
28
29
|
- Bugs in production
|
|
29
30
|
- Unexpected behavior
|
|
@@ -32,6 +33,7 @@ Use for ANY technical issue:
|
|
|
32
33
|
- Integration issues
|
|
33
34
|
|
|
34
35
|
**Use this ESPECIALLY when:**
|
|
36
|
+
|
|
35
37
|
- Under time pressure (emergencies make guessing tempting)
|
|
36
38
|
- "Just one quick fix" seems obvious
|
|
37
39
|
- You've already tried multiple fixes
|
|
@@ -39,6 +41,7 @@ Use for ANY technical issue:
|
|
|
39
41
|
- You don't fully understand the issue
|
|
40
42
|
|
|
41
43
|
**Don't skip when:**
|
|
44
|
+
|
|
42
45
|
- Issue seems simple (simple bugs have root causes too)
|
|
43
46
|
- You're in a hurry (rushing guarantees rework)
|
|
44
47
|
- Manager wants it fixed NOW (systematic is faster than thrashing)
|
|
@@ -74,6 +77,7 @@ You MUST complete each phase before proceeding to the next.
|
|
|
74
77
|
**WHEN system has multiple components (CI → build → signing, API → service → database):**
|
|
75
78
|
|
|
76
79
|
**BEFORE proposing fixes, add diagnostic instrumentation:**
|
|
80
|
+
|
|
77
81
|
```
|
|
78
82
|
For EACH component boundary:
|
|
79
83
|
- Log what data enters component
|
|
@@ -87,6 +91,7 @@ You MUST complete each phase before proceeding to the next.
|
|
|
87
91
|
```
|
|
88
92
|
|
|
89
93
|
**Example (multi-layer system):**
|
|
94
|
+
|
|
90
95
|
```bash
|
|
91
96
|
# Layer 1: Workflow
|
|
92
97
|
echo "=== Secrets available in workflow: ==="
|
|
@@ -111,7 +116,7 @@ You MUST complete each phase before proceeding to the next.
|
|
|
111
116
|
|
|
112
117
|
**WHEN error is deep in call stack:**
|
|
113
118
|
|
|
114
|
-
**REQUIRED SUB-SKILL:** Use
|
|
119
|
+
**REQUIRED SUB-SKILL:** Use use_skill("root-cause-tracing") for backward tracing technique
|
|
115
120
|
|
|
116
121
|
**Quick version:**
|
|
117
122
|
- Where does bad value originate?
|
|
@@ -176,7 +181,7 @@ You MUST complete each phase before proceeding to the next.
|
|
|
176
181
|
- Automated test if possible
|
|
177
182
|
- One-off test script if no framework
|
|
178
183
|
- MUST have before fixing
|
|
179
|
-
- **REQUIRED SUB-SKILL:** Use
|
|
184
|
+
- **REQUIRED SUB-SKILL:** Use use_skill("test-driven-development") for writing proper failing tests
|
|
180
185
|
|
|
181
186
|
2. **Implement Single Fix**
|
|
182
187
|
- Address the root cause identified
|
|
@@ -215,6 +220,7 @@ You MUST complete each phase before proceeding to the next.
|
|
|
215
220
|
## Red Flags - STOP and Follow Process
|
|
216
221
|
|
|
217
222
|
If you catch yourself thinking:
|
|
223
|
+
|
|
218
224
|
- "Quick fix for now, investigate later"
|
|
219
225
|
- "Just try changing X and see if it works"
|
|
220
226
|
- "Add multiple changes, run tests"
|
|
@@ -234,6 +240,7 @@ If you catch yourself thinking:
|
|
|
234
240
|
## your human partner's Signals You're Doing It Wrong
|
|
235
241
|
|
|
236
242
|
**Watch for these redirections:**
|
|
243
|
+
|
|
237
244
|
- "Is that not happening?" - You assumed without verifying
|
|
238
245
|
- "Will it show us...?" - You should have added evidence gathering
|
|
239
246
|
- "Stop guessing" - You're proposing fixes without understanding
|
|
@@ -244,25 +251,25 @@ If you catch yourself thinking:
|
|
|
244
251
|
|
|
245
252
|
## Common Rationalizations
|
|
246
253
|
|
|
247
|
-
| Excuse
|
|
248
|
-
|
|
249
|
-
| "Issue is simple, don't need process"
|
|
250
|
-
| "Emergency, no time for process"
|
|
251
|
-
| "Just try this first, then investigate"
|
|
252
|
-
| "I'll write test after confirming fix works" | Untested fixes don't stick. Test first proves it.
|
|
253
|
-
| "Multiple fixes at once saves time"
|
|
254
|
-
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely.
|
|
255
|
-
| "I see the problem, let me fix it"
|
|
256
|
-
| "One more fix attempt" (after 2+ failures)
|
|
254
|
+
| Excuse | Reality |
|
|
255
|
+
| -------------------------------------------- | ----------------------------------------------------------------------- |
|
|
256
|
+
| "Issue is simple, don't need process" | Simple issues have root causes too. Process is fast for simple bugs. |
|
|
257
|
+
| "Emergency, no time for process" | Systematic debugging is FASTER than guess-and-check thrashing. |
|
|
258
|
+
| "Just try this first, then investigate" | First fix sets the pattern. Do it right from the start. |
|
|
259
|
+
| "I'll write test after confirming fix works" | Untested fixes don't stick. Test first proves it. |
|
|
260
|
+
| "Multiple fixes at once saves time" | Can't isolate what worked. Causes new bugs. |
|
|
261
|
+
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
|
|
262
|
+
| "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
|
|
263
|
+
| "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question pattern, don't fix again. |
|
|
257
264
|
|
|
258
265
|
## Quick Reference
|
|
259
266
|
|
|
260
|
-
| Phase
|
|
261
|
-
|
|
262
|
-
| **1. Root Cause**
|
|
263
|
-
| **2. Pattern**
|
|
264
|
-
| **3. Hypothesis**
|
|
265
|
-
| **4. Implementation** | Create test, fix, verify
|
|
267
|
+
| Phase | Key Activities | Success Criteria |
|
|
268
|
+
| --------------------- | ------------------------------------------------------ | --------------------------- |
|
|
269
|
+
| **1. Root Cause** | Read errors, reproduce, check changes, gather evidence | Understand WHAT and WHY |
|
|
270
|
+
| **2. Pattern** | Find working examples, compare | Identify differences |
|
|
271
|
+
| **3. Hypothesis** | Form theory, test minimally | Confirmed or new hypothesis |
|
|
272
|
+
| **4. Implementation** | Create test, fix, verify | Bug resolved, tests pass |
|
|
266
273
|
|
|
267
274
|
## When Process Reveals "No Root Cause"
|
|
268
275
|
|
|
@@ -278,10 +285,12 @@ If systematic investigation reveals issue is truly environmental, timing-depende
|
|
|
278
285
|
## Integration with Other Skills
|
|
279
286
|
|
|
280
287
|
**This skill requires using:**
|
|
288
|
+
|
|
281
289
|
- **root-cause-tracing** - REQUIRED when error is deep in call stack (see Phase 1, Step 5)
|
|
282
290
|
- **test-driven-development** - REQUIRED for creating failing test case (see Phase 4, Step 1)
|
|
283
291
|
|
|
284
292
|
**Complementary skills:**
|
|
293
|
+
|
|
285
294
|
- **defense-in-depth** - Add validation at multiple layers after finding root cause
|
|
286
295
|
- **condition-based-waiting** - Replace arbitrary timeouts identified in Phase 2
|
|
287
296
|
- **verification-before-completion** - Verify fix worked before claiming success
|
|
@@ -289,6 +298,7 @@ If systematic investigation reveals issue is truly environmental, timing-depende
|
|
|
289
298
|
## Real-World Impact
|
|
290
299
|
|
|
291
300
|
From debugging sessions:
|
|
301
|
+
|
|
292
302
|
- Systematic approach: 15-30 minutes to fix
|
|
293
303
|
- Random fixes approach: 2-3 hours of thrashing
|
|
294
304
|
- First-time fix rate: 95% vs 40%
|
|
@@ -13,7 +13,7 @@ You run scenarios without the skill (RED - watch agent fail), write skill addres
|
|
|
13
13
|
|
|
14
14
|
**Core principle:** If you didn't watch an agent fail without the skill, you don't know if the skill prevents the right failures.
|
|
15
15
|
|
|
16
|
-
**REQUIRED BACKGROUND:** You MUST understand
|
|
16
|
+
**REQUIRED BACKGROUND:** You MUST understand test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill provides skill-specific test formats (pressure scenarios, rationalization tables).
|
|
17
17
|
|
|
18
18
|
**Complete worked example:** See examples/CLAUDE_MD_TESTING.md for a full test campaign testing CLAUDE.md documentation variants.
|
|
19
19
|
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-ux-research
|
|
3
|
+
description: Use when analyzing UI patterns across codebases, comparing design system implementations, auditing UI consistency, or understanding existing patterns before implementation
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# UI/UX Research Skill
|
|
2
7
|
|
|
3
8
|
Research UI patterns, design systems, and user experience across codebases.
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-analysis
|
|
3
|
+
description: Use when analyzing images, screenshots, UI mockups, or visual content for extracting information, comparing designs, or assessing visual properties like colors, typography, and layout
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# Visual Analysis Skill
|
|
2
7
|
|
|
3
8
|
Analyze images, screenshots, and visual content.
|
|
@@ -34,7 +34,7 @@ Assume they are a skilled developer, but know almost nothing about our toolset o
|
|
|
34
34
|
```markdown
|
|
35
35
|
# [Feature Name] Implementation Plan
|
|
36
36
|
|
|
37
|
-
> **For Claude:** REQUIRED SUB-SKILL: Use
|
|
37
|
+
> **For Claude:** REQUIRED SUB-SKILL: Use use_skill("executing-plans") to implement this plan task-by-task.
|
|
38
38
|
|
|
39
39
|
**Goal:** [One sentence describing what this builds]
|
|
40
40
|
|
|
@@ -111,11 +111,11 @@ After saving the plan, offer execution choice:
|
|
|
111
111
|
**Which approach?"**
|
|
112
112
|
|
|
113
113
|
**If Subagent-Driven chosen:**
|
|
114
|
-
- **REQUIRED SUB-SKILL:** Use
|
|
114
|
+
- **REQUIRED SUB-SKILL:** Use use_skill("subagent-driven-development")
|
|
115
115
|
- Stay in this session
|
|
116
116
|
- Fresh subagent per task + code review
|
|
117
117
|
|
|
118
118
|
**If Parallel Session chosen:**
|
|
119
119
|
- Guide them to open new session in worktree
|
|
120
|
-
- **REQUIRED SUB-SKILL:** New session uses
|
|
120
|
+
- **REQUIRED SUB-SKILL:** New session uses use_skill("executing-plans")
|
|
121
121
|
```
|