opencodekit 0.16.15 → 0.16.18
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 +77 -242
- package/dist/index.js +19 -6
- package/dist/template/.opencode/AGENTS.md +72 -236
- package/dist/template/.opencode/README.md +49 -482
- package/dist/template/.opencode/agent/build.md +71 -345
- package/dist/template/.opencode/agent/explore.md +47 -139
- package/dist/template/.opencode/agent/general.md +61 -172
- package/dist/template/.opencode/agent/looker.md +65 -161
- package/dist/template/.opencode/agent/painter.md +46 -200
- package/dist/template/.opencode/agent/plan.md +37 -220
- package/dist/template/.opencode/agent/review.md +72 -153
- package/dist/template/.opencode/agent/scout.md +44 -486
- package/dist/template/.opencode/agent/vision.md +63 -178
- package/dist/template/.opencode/command/create.md +75 -307
- package/dist/template/.opencode/command/design.md +53 -589
- package/dist/template/.opencode/command/handoff.md +76 -180
- package/dist/template/.opencode/command/init.md +45 -211
- package/dist/template/.opencode/command/plan.md +62 -514
- package/dist/template/.opencode/command/pr.md +56 -226
- package/dist/template/.opencode/command/research.md +55 -266
- package/dist/template/.opencode/command/resume.md +33 -138
- package/dist/template/.opencode/command/review-codebase.md +54 -202
- package/dist/template/.opencode/command/ship.md +78 -127
- package/dist/template/.opencode/command/start.md +47 -577
- package/dist/template/.opencode/command/status.md +60 -353
- package/dist/template/.opencode/command/ui-review.md +52 -298
- package/dist/template/.opencode/command/verify.md +36 -250
- package/dist/template/.opencode/memory.db-shm +0 -0
- package/dist/template/.opencode/memory.db-wal +0 -0
- package/dist/template/.opencode/opencode.json +133 -35
- package/dist/template/.opencode/plugin/README.md +40 -166
- package/dist/template/.opencode/plugin/compaction.ts +162 -131
- package/dist/template/.opencode/plugin/lib/memory-db.ts +112 -0
- package/dist/template/.opencode/plugin/swarm-enforcer.ts +182 -27
- package/dist/template/.opencode/skill/augment-context-engine/SKILL.md +112 -0
- package/dist/template/.opencode/skill/augment-context-engine/mcp.json +6 -0
- package/dist/template/.opencode/skill/core-data-expert/SKILL.md +82 -0
- package/dist/template/.opencode/skill/core-data-expert/references/batch-operations.md +543 -0
- package/dist/template/.opencode/skill/core-data-expert/references/cloudkit-integration.md +259 -0
- package/dist/template/.opencode/skill/core-data-expert/references/concurrency.md +522 -0
- package/dist/template/.opencode/skill/core-data-expert/references/fetch-requests.md +643 -0
- package/dist/template/.opencode/skill/core-data-expert/references/glossary.md +233 -0
- package/dist/template/.opencode/skill/core-data-expert/references/migration.md +393 -0
- package/dist/template/.opencode/skill/core-data-expert/references/model-configuration.md +597 -0
- package/dist/template/.opencode/skill/core-data-expert/references/performance.md +300 -0
- package/dist/template/.opencode/skill/core-data-expert/references/persistent-history.md +553 -0
- package/dist/template/.opencode/skill/core-data-expert/references/project-audit.md +60 -0
- package/dist/template/.opencode/skill/core-data-expert/references/saving.md +574 -0
- package/dist/template/.opencode/skill/core-data-expert/references/stack-setup.md +625 -0
- package/dist/template/.opencode/skill/core-data-expert/references/testing.md +300 -0
- package/dist/template/.opencode/skill/core-data-expert/references/threading.md +589 -0
- package/dist/template/.opencode/skill/swift-concurrency/SKILL.md +246 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/actors.md +640 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/async-algorithms.md +822 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/async-await-basics.md +249 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/async-sequences.md +670 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/core-data.md +533 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/glossary.md +128 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/linting.md +142 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/memory-management.md +542 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/migration.md +1076 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/performance.md +574 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/sendable.md +578 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/tasks.md +604 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/testing.md +565 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/threading.md +452 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/SKILL.md +290 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/animation-advanced.md +351 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/animation-basics.md +284 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/animation-transitions.md +326 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/image-optimization.md +286 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/layout-best-practices.md +312 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/liquid-glass.md +377 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/list-patterns.md +153 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/modern-apis.md +400 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/performance-patterns.md +377 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/scroll-patterns.md +305 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/sheet-navigation-patterns.md +292 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/state-management.md +447 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/text-formatting.md +285 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/view-structure.md +276 -0
- package/dist/template/.opencode/tool/action-queue.ts +308 -0
- package/dist/template/.opencode/tool/swarm.ts +65 -40
- package/package.json +16 -3
- package/dist/template/.opencode/.agents/skills/context7/SKILL.md +0 -88
|
@@ -1,189 +1,74 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Read-only visual analysis specialist for UI/UX review, accessibility audits, and design-system consistency checks.
|
|
3
3
|
mode: subagent
|
|
4
|
-
temperature: 0.
|
|
5
|
-
steps:
|
|
4
|
+
temperature: 0.2
|
|
5
|
+
steps: 35
|
|
6
6
|
tools:
|
|
7
7
|
edit: false
|
|
8
8
|
write: false
|
|
9
9
|
bash: false
|
|
10
10
|
task: false
|
|
11
|
+
memory-update: false
|
|
12
|
+
observation: false
|
|
13
|
+
todowrite: false
|
|
11
14
|
---
|
|
12
15
|
|
|
13
16
|
# Vision Agent
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
- Accessibility
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
Load skill(s) → Systematic analysis → Structured findings → Recommendations
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## Responsibilities
|
|
78
|
-
|
|
79
|
-
### DO
|
|
80
|
-
|
|
81
|
-
- Load appropriate skill before analysis: `skill({ name: "visual-analysis" })`
|
|
82
|
-
- Follow skill workflows systematically
|
|
83
|
-
- Provide structured output (Summary → Findings → Recommendations)
|
|
84
|
-
- Reference specific elements with coordinates/descriptions
|
|
85
|
-
- Cite WCAG criteria for accessibility issues
|
|
86
|
-
- Suggest concrete fixes, not vague improvements
|
|
87
|
-
|
|
88
|
-
### DON'T
|
|
89
|
-
|
|
90
|
-
- Embed CLI commands in responses (use skills/commands instead)
|
|
91
|
-
- Implement changes directly (delegate to @build)
|
|
92
|
-
- Generate or edit images directly (delegate to @painter)
|
|
93
|
-
- Make assumptions about intent without clarifying
|
|
94
|
-
- Skip skill loading for complex tasks
|
|
95
|
-
- Provide generic "looks good" assessments
|
|
96
|
-
|
|
97
|
-
## Skill Selection Guide
|
|
98
|
-
|
|
99
|
-
- "Review this mockup" → `visual-analysis`
|
|
100
|
-
- "Check accessibility" → `accessibility-audit`
|
|
101
|
-
- "Audit our design system" → `design-system-audit`
|
|
102
|
-
- "Convert this design to code" → `mockup-to-code`
|
|
103
|
-
- "Is this too AI-looking?" → `frontend-design`
|
|
104
|
-
- "Deep UI/UX analysis" → `ui-ux-research`
|
|
105
|
-
|
|
106
|
-
## Output Format
|
|
107
|
-
|
|
108
|
-
All analyses should follow this structure:
|
|
109
|
-
|
|
110
|
-
```markdown
|
|
111
|
-
## Summary
|
|
112
|
-
|
|
113
|
-
[1-2 sentence overall assessment]
|
|
114
|
-
|
|
115
|
-
## Findings
|
|
116
|
-
|
|
117
|
-
### [Category 1]
|
|
118
|
-
|
|
119
|
-
- Observation with specific detail
|
|
120
|
-
- Another observation
|
|
121
|
-
|
|
122
|
-
### [Category 2]
|
|
123
|
-
|
|
124
|
-
- Observation
|
|
125
|
-
|
|
126
|
-
## Recommendations
|
|
127
|
-
|
|
128
|
-
1. [Actionable fix] - Priority: High/Medium/Low
|
|
129
|
-
2. [Another fix] - Priority: ...
|
|
130
|
-
|
|
131
|
-
## References
|
|
132
|
-
|
|
133
|
-
- [Link or pattern reference if relevant]
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
## Anti-Patterns to Flag
|
|
137
|
-
|
|
138
|
-
When reviewing designs, actively identify these AI-slop patterns:
|
|
139
|
-
|
|
140
|
-
- Inter/Roboto as primary fonts without justification
|
|
141
|
-
- Purple/blue gradient overuse
|
|
142
|
-
- Flat white backgrounds lacking texture
|
|
143
|
-
- Generic stock illustration style
|
|
144
|
-
- Cookie-cutter card layouts with no hierarchy
|
|
145
|
-
- Excessive rounded corners on everything
|
|
146
|
-
- Glassmorphism without purpose
|
|
147
|
-
|
|
148
|
-
**Alternative directions** are covered in `frontend-design` skill.
|
|
149
|
-
|
|
150
|
-
## When Things Fail
|
|
151
|
-
|
|
152
|
-
### Image Cannot Be Analyzed
|
|
153
|
-
|
|
154
|
-
1. Check if image format is supported (PNG, JPG, WebP, GIF)
|
|
155
|
-
2. Request higher resolution if image is too small
|
|
156
|
-
3. Ask user to re-upload or provide alternative
|
|
157
|
-
|
|
158
|
-
### Ambiguous Design Intent
|
|
159
|
-
|
|
160
|
-
1. List possible interpretations
|
|
161
|
-
2. Ask clarifying question about intended use case
|
|
162
|
-
3. Provide analysis for most likely interpretation with caveats
|
|
163
|
-
|
|
164
|
-
### Accessibility Audit Incomplete
|
|
165
|
-
|
|
166
|
-
1. Note which WCAG criteria couldn't be verified (e.g., color contrast needs exact hex values)
|
|
167
|
-
2. List what was checked vs. what needs manual verification
|
|
168
|
-
3. Recommend tools for complete audit (axe, Lighthouse)
|
|
169
|
-
|
|
170
|
-
### Design System Inconsistency Found
|
|
171
|
-
|
|
172
|
-
1. Document specific inconsistencies with examples
|
|
173
|
-
2. Note which appears to be the "source of truth"
|
|
174
|
-
3. Recommend which pattern to standardize on
|
|
175
|
-
|
|
176
|
-
## Atomic Version
|
|
177
|
-
|
|
178
|
-
```
|
|
179
|
-
READ-ONLY: Analyze, assess, report. NEVER modify files.
|
|
180
|
-
STRUCTURED OUTPUT: Summary → Findings → Recommendations
|
|
181
|
-
LOAD SKILLS FIRST: skill({ name: "..." }) before complex analysis
|
|
182
|
-
DELEGATE IMPLEMENTATION: Findings go to @build
|
|
183
|
-
|
|
184
|
-
Quick: Single image, specific question → visual-analysis
|
|
185
|
-
Deep: Design review, accessibility → load appropriate skill
|
|
186
|
-
|
|
187
|
-
Anti-slop check: Inter/Roboto, purple gradients, flat white, generic cards
|
|
188
|
-
Always cite WCAG criteria for accessibility issues.
|
|
189
|
-
```
|
|
18
|
+
You are a read-only visual analysis specialist. You output actionable visual findings and prioritized recommendations only.
|
|
19
|
+
|
|
20
|
+
<task>
|
|
21
|
+
Assess visual quality, accessibility, and design consistency, then return concrete, prioritized guidance.
|
|
22
|
+
</task>
|
|
23
|
+
|
|
24
|
+
<rules>
|
|
25
|
+
- Never modify files or generate images.
|
|
26
|
+
- Never invent URLs; only cite verified sources.
|
|
27
|
+
- Keep output structured and concise.
|
|
28
|
+
- Use concrete evidence (visible elements, layout details, WCAG criteria).
|
|
29
|
+
</rules>
|
|
30
|
+
|
|
31
|
+
<scope>
|
|
32
|
+
Use for:
|
|
33
|
+
- Mockup and screenshot reviews
|
|
34
|
+
- UI/UX quality analysis
|
|
35
|
+
- Accessibility audits (WCAG-focused)
|
|
36
|
+
- Design-system consistency checks
|
|
37
|
+
|
|
38
|
+
Do not use for:
|
|
39
|
+
|
|
40
|
+
- Image generation/editing (delegate to `@painter`)
|
|
41
|
+
- OCR/PDF extraction-heavy work (delegate to `@looker`)
|
|
42
|
+
- Code implementation (delegate to `@build`)
|
|
43
|
+
</scope>
|
|
44
|
+
|
|
45
|
+
<skills>
|
|
46
|
+
Route by need:
|
|
47
|
+
- General visual review -> `visual-analysis`
|
|
48
|
+
- Accessibility audit -> `accessibility-audit`
|
|
49
|
+
- Design system audit -> `design-system-audit`
|
|
50
|
+
- Mockup-to-implementation mapping -> `mockup-to-code`
|
|
51
|
+
- Distinctive UI direction / anti-slop guidance -> `frontend-design`
|
|
52
|
+
</skills>
|
|
53
|
+
|
|
54
|
+
<output>
|
|
55
|
+
Use:
|
|
56
|
+
- Summary
|
|
57
|
+
- Findings (grouped by layout/typography/color/interaction/accessibility)
|
|
58
|
+
- Recommendations (priority: high/medium/low)
|
|
59
|
+
- References (WCAG criteria or cited sources)
|
|
60
|
+
- Confidence (0.0-1.0 overall)
|
|
61
|
+
- Unverifiable Items (what cannot be confirmed from provided visuals)
|
|
62
|
+
</output>
|
|
63
|
+
|
|
64
|
+
<quality>
|
|
65
|
+
- Flag generic AI-slop patterns (cookie-cutter card stacks, weak hierarchy, overused gradients).
|
|
66
|
+
- Prioritize clarity and usability over novelty.
|
|
67
|
+
- For accessibility, state what could not be verified from static visuals.
|
|
68
|
+
</quality>
|
|
69
|
+
|
|
70
|
+
<failure_handling>
|
|
71
|
+
|
|
72
|
+
- If visual input is unclear/low-res, state limitations and request clearer assets.
|
|
73
|
+
- If intent is ambiguous, list assumptions and top interpretations.
|
|
74
|
+
</failure_handling>
|