opencodekit 0.2.3 → 0.2.5
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 +2 -1
- package/dist/index.js +1 -1
- package/dist/template/.opencode/AGENTS.md +43 -3
- package/dist/template/.opencode/command/create.md +21 -2
- package/dist/template/.opencode/command/issue.md +1 -1
- package/dist/template/.opencode/command/plan.md +85 -4
- package/dist/template/.opencode/memory/_templates/observation.md +39 -0
- package/dist/template/.opencode/package.json +1 -1
- package/dist/template/.opencode/plugin/superpowers.ts +227 -288
- package/dist/template/.opencode/tool/memory-search.ts +140 -0
- package/dist/template/.opencode/tool/observation.ts +155 -0
- package/package.json +1 -1
- package/dist/template/.opencode/memory/README.md +0 -128
- package/dist/template/.opencode/memory/_templates/handoff.md +0 -33
- package/dist/template/.opencode/memory/_templates/research.md +0 -29
- package/dist/template/.opencode/memory/_templates/task-design.md +0 -59
- package/dist/template/.opencode/memory/_templates/task-review.md +0 -73
- package/dist/template/.opencode/memory/_templates/task-spec.md +0 -71
- package/dist/template/.opencode/memory/design-guidelines.md +0 -281
- /package/dist/template/.opencode/memory/_templates/{task-prd.md → prd.md} +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/brainstorming/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/condition-based-waiting/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/condition-based-waiting/example.ts +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/defense-in-depth/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/dispatching-parallel-agents/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/executing-plans/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/finishing-a-development-branch/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/frontend-aesthetics/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/gemini-large-context/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/receiving-code-review/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/requesting-code-review/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/requesting-code-review/code-reviewer.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/root-cause-tracing/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/root-cause-tracing/find-polluter.sh +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/sharing-skills/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/subagent-driven-development/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/CREATION-LOG.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/test-academic.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/test-pressure-1.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/test-pressure-2.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/test-pressure-3.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/test-driven-development/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/testing-anti-patterns/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/testing-skills-with-subagents/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/testing-skills-with-subagents/examples/CLAUDE_MD_TESTING.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/ui-ux-research/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/using-git-worktrees/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/using-superpowers/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/verification-before-completion/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/writing-plans/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/writing-skills/SKILL.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/writing-skills/anthropic-best-practices.md +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/writing-skills/graphviz-conventions.dot +0 -0
- /package/dist/template/.opencode/{superpowers/skills → skills}/writing-skills/persuasion-principles.md +0 -0
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
# Design Guidelines
|
|
2
|
-
|
|
3
|
-
**Project:** [Project Name]
|
|
4
|
-
**Last Updated:** YYYY-MM-DD
|
|
5
|
-
**Version:** 1.0
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Design System Overview
|
|
10
|
-
|
|
11
|
-
[Design system description and philosophy]
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Typography
|
|
16
|
-
|
|
17
|
-
### Font Guidelines
|
|
18
|
-
|
|
19
|
-
- **Primary Font:** [Font name] (Google Fonts)
|
|
20
|
-
- **Fallback Fonts:** [Font options]
|
|
21
|
-
- **Sizes:**
|
|
22
|
-
- Headings: [Size guidelines]
|
|
23
|
-
- Body: [Size guidelines]
|
|
24
|
-
- Small: [Size guidelines]
|
|
25
|
-
- **Weights:** [Weight guidelines]
|
|
26
|
-
- **Line Height:** [Line height guidelines]
|
|
27
|
-
|
|
28
|
-
### Usage Rules
|
|
29
|
-
|
|
30
|
-
- **IMPORTANT:** Predict font names from screenshots, don't default to Inter/Roboto
|
|
31
|
-
- Use distinctive fonts that match brand identity
|
|
32
|
-
- Ensure readability across all devices
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## Color Palette
|
|
37
|
-
|
|
38
|
-
### Primary Colors
|
|
39
|
-
|
|
40
|
-
- **Primary:** [Hex code] - [Usage description]
|
|
41
|
-
- **Secondary:** [Hex code] - [Usage description]
|
|
42
|
-
- **Accent:** [Hex code] - [Usage description]
|
|
43
|
-
|
|
44
|
-
### Neutral Colors
|
|
45
|
-
|
|
46
|
-
- **Background:** [Hex codes]
|
|
47
|
-
- **Text:** [Hex codes]
|
|
48
|
-
- **Borders:** [Hex codes]
|
|
49
|
-
|
|
50
|
-
### Usage Rules
|
|
51
|
-
|
|
52
|
-
- **IMPORTANT:** Avoid purple gradients on white backgrounds
|
|
53
|
-
- Use cohesive color palettes
|
|
54
|
-
- Ensure WCAG 2.1 AA contrast minimum
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
## Layout & Spacing
|
|
59
|
-
|
|
60
|
-
### Grid System
|
|
61
|
-
|
|
62
|
-
- **Framework:** [Bootstrap 5 / Custom CSS Grid]
|
|
63
|
-
- **Columns:** 12-column responsive grid
|
|
64
|
-
- **Breakpoints:** [Breakpoint values]
|
|
65
|
-
|
|
66
|
-
### Spacing Scale
|
|
67
|
-
|
|
68
|
-
- **Base Unit:** 4px
|
|
69
|
-
- **Scale:** 4, 8, 12, 16, 20, 24, 32, 48, 64px
|
|
70
|
-
- **Usage:** Consistent spacing throughout components
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## Components
|
|
75
|
-
|
|
76
|
-
### Buttons
|
|
77
|
-
|
|
78
|
-
- **Primary Style:** [Description]
|
|
79
|
-
- **Secondary Style:** [Description]
|
|
80
|
-
- **States:** Default, Hover, Active, Disabled, Loading
|
|
81
|
-
- **Sizes:** Small, Medium, Large
|
|
82
|
-
|
|
83
|
-
### Forms
|
|
84
|
-
|
|
85
|
-
- **Layout:** Single column stacking on mobile
|
|
86
|
-
- **Validation:** Real-time and on-submit
|
|
87
|
-
- **Required Fields:** Marked with asterisk (\*)
|
|
88
|
-
|
|
89
|
-
### Modals
|
|
90
|
-
|
|
91
|
-
- **Max Width:** 500px
|
|
92
|
-
- **Responsive:** Full-width on mobile
|
|
93
|
-
- **Backdrop:** Semi-transparent overlay
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## Motion & Animation
|
|
98
|
-
|
|
99
|
-
### Animation Principles
|
|
100
|
-
|
|
101
|
-
- **Purposeful Motion:** Staggered reveals for page entry
|
|
102
|
-
- **Duration:** 200-300ms for UI transitions
|
|
103
|
-
- **Easing:** Ease-out for natural movement
|
|
104
|
-
- **Avoid:** Scattered micro-interactions
|
|
105
|
-
|
|
106
|
-
### Guidelines
|
|
107
|
-
|
|
108
|
-
- Use staggered animations, not random effects
|
|
109
|
-
- Layer gradients for background depth
|
|
110
|
-
- Respect `prefers-reduced-motion` setting
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## Accessibility
|
|
115
|
-
|
|
116
|
-
### Requirements
|
|
117
|
-
|
|
118
|
-
- **Standard:** WCAG 2.1 AA minimum
|
|
119
|
-
- **Contrast:** 4.5:1 ratio for normal text
|
|
120
|
-
- **Keyboard:** Full navigation support
|
|
121
|
-
- **Screen Readers:** Proper semantic HTML structure
|
|
122
|
-
|
|
123
|
-
### Implementation
|
|
124
|
-
|
|
125
|
-
- **ARIA Labels:** Descriptive labels for interactive elements
|
|
126
|
-
- **Focus States:** Visible focus indicators
|
|
127
|
-
- **Alt Text:** Meaningful descriptions for images
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## Asset Guidelines
|
|
132
|
-
|
|
133
|
-
### Images
|
|
134
|
-
|
|
135
|
-
- **Format:** WebP for photos, PNG for graphics
|
|
136
|
-
- **Compression:** Optimized for web delivery
|
|
137
|
-
- **Responsive:** Multiple sizes for different screen densities
|
|
138
|
-
|
|
139
|
-
### Icons
|
|
140
|
-
|
|
141
|
-
- **System:** [Icon system name]
|
|
142
|
-
- **Sizes:** 16px, 24px, 32px, 48px
|
|
143
|
-
- **Format:** SVG with fallback PNG
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## Code Standards
|
|
148
|
-
|
|
149
|
-
### CSS Architecture
|
|
150
|
-
|
|
151
|
-
- **Methodology:** BEM (Block, Element, Modifier)
|
|
152
|
-
- **Variables:** CSS custom properties for theming
|
|
153
|
-
- **Responsive:** Mobile-first approach
|
|
154
|
-
|
|
155
|
-
### JavaScript
|
|
156
|
-
|
|
157
|
-
- **Framework:** [Framework name]
|
|
158
|
-
- **Pattern:** Component-based architecture
|
|
159
|
-
- **Performance:** Lazy loading for heavy components
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
## Brand Guidelines
|
|
164
|
-
|
|
165
|
-
### Logo Usage
|
|
166
|
-
|
|
167
|
-
- **Primary Logo:** [Usage guidelines]
|
|
168
|
-
- **Clear Space:** Minimum spacing requirements
|
|
169
|
-
- **Variations:** Color variations for different backgrounds
|
|
170
|
-
|
|
171
|
-
### Voice & Tone
|
|
172
|
-
|
|
173
|
-
- **Personality:** [Brand personality description]
|
|
174
|
-
- **Language:** [Language style guidelines]
|
|
175
|
-
- **Do:** [Action words]
|
|
176
|
-
- **Don't:** [Words to avoid]
|
|
177
|
-
|
|
178
|
-
---
|
|
179
|
-
|
|
180
|
-
## Testing & QA
|
|
181
|
-
|
|
182
|
-
### Cross-Browser
|
|
183
|
-
|
|
184
|
-
- **Target:** [Browser list]
|
|
185
|
-
- **Testing:** Manual testing on each browser
|
|
186
|
-
- **Fallbacks:** Graceful degradation
|
|
187
|
-
|
|
188
|
-
### Device Testing
|
|
189
|
-
|
|
190
|
-
- **Mobile:** iOS Safari, Chrome Mobile
|
|
191
|
-
- **Tablet:** iPad, Android tablets
|
|
192
|
-
- **Desktop:** Chrome, Firefox, Safari, Edge
|
|
193
|
-
|
|
194
|
-
---
|
|
195
|
-
|
|
196
|
-
## File Organization
|
|
197
|
-
|
|
198
|
-
### Template Structure
|
|
199
|
-
|
|
200
|
-
```
|
|
201
|
-
assets/
|
|
202
|
-
├── images/
|
|
203
|
-
│ ├── logos/
|
|
204
|
-
│ ├── icons/
|
|
205
|
-
│ └── photos/
|
|
206
|
-
├── css/
|
|
207
|
-
│ ├── base.css
|
|
208
|
-
│ ├── components.css
|
|
209
|
-
│ └── utilities.css
|
|
210
|
-
└── js/
|
|
211
|
-
├── components/
|
|
212
|
-
└── utils/
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
### Naming Conventions
|
|
216
|
-
|
|
217
|
-
- **Images:** kebab-case with descriptive names
|
|
218
|
-
- **CSS:** BEM methodology with clear purpose
|
|
219
|
-
- **JavaScript:** PascalCase for components, camelCase for utilities
|
|
220
|
-
|
|
221
|
-
---
|
|
222
|
-
|
|
223
|
-
## Common Patterns
|
|
224
|
-
|
|
225
|
-
### Header Pattern
|
|
226
|
-
|
|
227
|
-
[Header component description and usage]
|
|
228
|
-
|
|
229
|
-
### Footer Pattern
|
|
230
|
-
|
|
231
|
-
[Footer component description and usage]
|
|
232
|
-
|
|
233
|
-
### Card Pattern
|
|
234
|
-
|
|
235
|
-
[Card component description and usage]
|
|
236
|
-
|
|
237
|
-
### Form Pattern
|
|
238
|
-
|
|
239
|
-
[Form component description and usage]
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
## Tools & Resources
|
|
244
|
-
|
|
245
|
-
### Design Tools
|
|
246
|
-
|
|
247
|
-
- **UI Design:** [Tool names]
|
|
248
|
-
- **Prototyping:** [Tool names]
|
|
249
|
-
- **Asset Generation:** AI-multimodal skill
|
|
250
|
-
|
|
251
|
-
### Development Tools
|
|
252
|
-
|
|
253
|
-
- **Code Editor:** [Editor preferences]
|
|
254
|
-
- **Browser DevTools:** Chrome DevTools
|
|
255
|
-
- **Version Control:** Git with feature branches
|
|
256
|
-
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
## Maintenance
|
|
260
|
-
|
|
261
|
-
### Update Process
|
|
262
|
-
|
|
263
|
-
1. Review new components quarterly
|
|
264
|
-
2. Update guidelines based on user feedback
|
|
265
|
-
3. Archive deprecated patterns
|
|
266
|
-
4. Update version number for breaking changes
|
|
267
|
-
|
|
268
|
-
### Documentation
|
|
269
|
-
|
|
270
|
-
- Keep examples up-to-date
|
|
271
|
-
- Document any exceptions to guidelines
|
|
272
|
-
- Maintain changelog for major updates
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
**Last Review:** YYYY-MM-DD
|
|
277
|
-
**Next Review:** YYYY-MM-DD
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
_Design-guidelines.md - Living document for project design standards_
|
|
File without changes
|
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/condition-based-waiting/SKILL.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/condition-based-waiting/example.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/dispatching-parallel-agents/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/gemini-large-context/SKILL.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/receiving-code-review/SKILL.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/requesting-code-review/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/root-cause-tracing/find-polluter.sh
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/subagent-driven-development/SKILL.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/CREATION-LOG.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/SKILL.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/systematic-debugging/test-academic.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/test-driven-development/SKILL.md
RENAMED
|
File without changes
|
/package/dist/template/.opencode/{superpowers/skills → skills}/testing-anti-patterns/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|