@champpaba/claude-agent-kit 3.5.0 → 3.6.0
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/.claude/CHANGELOG.md +60 -0
- package/.claude/CLAUDE.md +105 -45
- package/.claude/agents/01-integration.md +0 -0
- package/.claude/agents/02-uxui-frontend.md +1 -1
- package/.claude/agents/03-test-debug.md +0 -0
- package/.claude/agents/04-frontend.md +0 -0
- package/.claude/agents/05-backend.md +0 -0
- package/.claude/agents/06-database.md +0 -0
- package/.claude/agents/07-ux-tester.md +92 -84
- package/.claude/agents/CLAUDE.md +18 -0
- package/.claude/agents/_shared/CLAUDE.md +11 -0
- package/.claude/agents/_shared/README.md +0 -0
- package/.claude/agents/_shared/agent-boundaries.md +0 -0
- package/.claude/agents/_shared/documentation-policy.md +0 -0
- package/.claude/agents/_shared/package-manager.md +0 -0
- package/.claude/agents/_shared/pre-work-checklist.md +45 -2
- package/.claude/commands/CLAUDE.md +20 -0
- package/.claude/commands/cdev.md +20 -4
- package/.claude/commands/csetup.md +0 -0
- package/.claude/commands/cstatus.md +0 -0
- package/.claude/commands/cview.md +0 -0
- package/.claude/commands/designsetup.md +0 -0
- package/.claude/commands/extract.md +22 -20
- package/.claude/commands/pageplan.md +0 -0
- package/.claude/commands/pstatus.md +0 -0
- package/.claude/contexts/_core/CLAUDE.md +11 -0
- package/.claude/contexts/_core/README.md +33 -0
- package/.claude/contexts/{patterns → _core}/code-standards.md +0 -0
- package/.claude/contexts/{patterns → _core}/development-principles.md +0 -0
- package/.claude/contexts/design/CLAUDE.md +17 -0
- package/.claude/contexts/design/accessibility.md +2 -2
- package/.claude/contexts/design/box-thinking.md +0 -0
- package/.claude/contexts/design/color-theory.md +2 -2
- package/.claude/contexts/design/index.md +0 -0
- package/.claude/contexts/design/layout.md +0 -0
- package/.claude/contexts/design/responsive.md +0 -0
- package/.claude/contexts/design/shadows.md +0 -0
- package/.claude/contexts/design/spacing.md +0 -0
- package/.claude/contexts/design/typography.md +0 -0
- package/.claude/contexts/domain/README.md +0 -0
- package/.claude/contexts/patterns/CLAUDE.md +13 -0
- package/.claude/contexts/patterns/agent-coordination.md +0 -0
- package/.claude/contexts/patterns/agent-discovery.md +0 -0
- package/.claude/contexts/patterns/animation-patterns.md +0 -0
- package/.claude/contexts/patterns/change-workflow.md +1 -1
- package/.claude/contexts/patterns/error-handling.md +0 -0
- package/.claude/contexts/patterns/error-recovery.md +0 -0
- package/.claude/contexts/patterns/frontend-component-strategy.md +0 -0
- package/.claude/contexts/patterns/git-workflow.md +0 -0
- package/.claude/contexts/patterns/logging.md +0 -0
- package/.claude/contexts/patterns/performance-optimization.md +1 -1
- package/.claude/contexts/patterns/task-breakdown.md +0 -0
- package/.claude/contexts/patterns/task-classification.md +0 -0
- package/.claude/contexts/patterns/tdd-classification.md +0 -0
- package/.claude/contexts/patterns/testing.md +0 -0
- package/.claude/contexts/patterns/ui-component-consistency.md +0 -0
- package/.claude/contexts/patterns/validation-framework.md +0 -0
- package/.claude/lib/CLAUDE.md +19 -0
- package/.claude/lib/README.md +1 -1
- package/.claude/lib/agent-executor.md +1 -1
- package/.claude/lib/agent-router.md +0 -0
- package/.claude/lib/context-loading-protocol.md +0 -0
- package/.claude/lib/design-validator.md +8 -8
- package/.claude/lib/detailed-guides/agent-system.md +0 -0
- package/.claude/lib/detailed-guides/best-practices-system.md +0 -0
- package/.claude/lib/detailed-guides/context-optimization.md +0 -0
- package/.claude/lib/detailed-guides/design-system.md +0 -0
- package/.claude/lib/detailed-guides/incremental-testing.md +0 -0
- package/.claude/lib/detailed-guides/page-planning.md +0 -0
- package/.claude/lib/detailed-guides/taskmaster-analysis.md +0 -0
- package/.claude/lib/document-loader.md +0 -0
- package/.claude/lib/feature-best-practices.md +0 -0
- package/.claude/lib/flags-updater.md +0 -0
- package/.claude/lib/handoff-protocol.md +0 -0
- package/.claude/lib/task-analyzer.md +2 -2
- package/.claude/lib/tdd-workflow.md +0 -0
- package/.claude/lib/validation-gates.md +0 -0
- package/.claude/settings.local.json +0 -0
- package/.claude/templates/PROJECT_STATUS.template.yml +0 -0
- package/.claude/templates/STYLE_GUIDE.template.md +0 -0
- package/.claude/templates/context-template.md +0 -0
- package/.claude/templates/design-context-template.md +0 -0
- package/.claude/templates/flags-template.json +0 -0
- package/.claude/templates/page-plan-example.md +0 -0
- package/.claude/templates/phases-sections/CLAUDE.md +13 -0
- package/.claude/templates/phases-sections/accessibility-test.md +0 -0
- package/.claude/templates/phases-sections/api-design.md +0 -0
- package/.claude/templates/phases-sections/backend-tests.md +0 -0
- package/.claude/templates/phases-sections/backend.md +0 -0
- package/.claude/templates/phases-sections/business-logic-validation.md +0 -0
- package/.claude/templates/phases-sections/component-tests.md +0 -0
- package/.claude/templates/phases-sections/contract-backend.md +0 -0
- package/.claude/templates/phases-sections/contract-frontend.md +0 -0
- package/.claude/templates/phases-sections/database.md +0 -0
- package/.claude/templates/phases-sections/e2e-tests.md +0 -0
- package/.claude/templates/phases-sections/fix-implementation.md +0 -0
- package/.claude/templates/phases-sections/frontend-integration.md +0 -0
- package/.claude/templates/phases-sections/frontend-mockup.md +0 -0
- package/.claude/templates/phases-sections/manual-flow-test.md +0 -0
- package/.claude/templates/phases-sections/manual-ux-test.md +0 -0
- package/.claude/templates/phases-sections/refactor-implementation.md +0 -0
- package/.claude/templates/phases-sections/refactor.md +0 -0
- package/.claude/templates/phases-sections/regression-tests.md +0 -0
- package/.claude/templates/phases-sections/responsive-test.md +0 -0
- package/.claude/templates/phases-sections/script-implementation.md +0 -0
- package/.claude/templates/phases-sections/test-coverage.md +0 -0
- package/.claude/templates/phases-sections/user-approval.md +0 -0
- package/.claude/templates/phases-sections/ux-testing.md +6 -10
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/bin/CLAUDE.md +11 -0
- package/bin/cli.js +0 -0
- package/lib/CLAUDE.md +11 -0
- package/lib/helpers.js +0 -0
- package/lib/init.js +0 -0
- package/lib/update.js +0 -0
- package/package.json +3 -2
- package/skills/design-extract/CLAUDE.md +12 -0
- package/skills/design-extract/SKILL.md +76 -0
- package/skills/design-extract/references/CLAUDE.md +16 -0
- package/skills/design-extract/references/error-handling.md +161 -0
- package/skills/design-extract/references/extraction-steps.md +183 -0
- package/skills/design-extract/references/output-format.md +250 -0
- package/skills/design-extract/references/style-detection.md +137 -0
- package/skills/design-extract/templates/CLAUDE.md +11 -0
- package/skills/design-extract/templates/data.yaml.template +95 -0
- package/skills/design-setup/CLAUDE.md +11 -0
- package/skills/design-setup/SKILL.md +104 -0
- package/skills/design-setup/references/CLAUDE.md +11 -0
- package/skills/design-setup/references/data-yaml-schema.md +205 -0
- package/skills/design-setup/references/error-handling.md +157 -0
- package/skills/design-setup/references/generation-steps.md +192 -0
- package/skills/design-setup/references/interactive-workflow.md +151 -0
- package/skills/page-planner/CLAUDE.md +11 -0
- package/skills/page-planner/SKILL.md +112 -0
- package/skills/page-planner/references/CLAUDE.md +11 -0
- package/skills/page-planner/references/animation-patterns.md +169 -0
- package/skills/page-planner/references/generation-steps.md +166 -0
- package/skills/page-planner/references/wireframe-patterns.md +182 -0
- package/skills/page-planner/templates/CLAUDE.md +11 -0
- package/skills/page-planner/templates/page-plan.md +303 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# Output Format: data.yaml
|
|
2
|
+
|
|
3
|
+
Complete schema for the extracted design data file.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Location
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
design-system/extracted/{site-name}/data.yaml
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Complete Schema
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
# Design Extraction: {siteName}
|
|
19
|
+
# Extracted: {ISO timestamp}
|
|
20
|
+
# URL: {url}
|
|
21
|
+
|
|
22
|
+
meta:
|
|
23
|
+
site_name: "airbnb"
|
|
24
|
+
url: "https://airbnb.com"
|
|
25
|
+
extracted_at: "2026-02-03T15:30:00Z"
|
|
26
|
+
extractor_version: "2.1.0"
|
|
27
|
+
coverage:
|
|
28
|
+
total_sections: 17
|
|
29
|
+
detected_sections: 15
|
|
30
|
+
percentage: 88
|
|
31
|
+
|
|
32
|
+
psychology:
|
|
33
|
+
style_classification: "Modern SaaS"
|
|
34
|
+
|
|
35
|
+
emotions_evoked:
|
|
36
|
+
- emotion: "Trust"
|
|
37
|
+
reason: "Clean typography and ample whitespace"
|
|
38
|
+
- emotion: "Excitement"
|
|
39
|
+
reason: "Vibrant accent colors on CTAs"
|
|
40
|
+
|
|
41
|
+
target_audience:
|
|
42
|
+
primary:
|
|
43
|
+
description: "Young professionals"
|
|
44
|
+
age_range: "25-40"
|
|
45
|
+
tech_savvy: "high"
|
|
46
|
+
secondary:
|
|
47
|
+
description: "Families"
|
|
48
|
+
age_range: "30-50"
|
|
49
|
+
|
|
50
|
+
visual_principles:
|
|
51
|
+
- name: "Hierarchy"
|
|
52
|
+
description: "Clear visual hierarchy through size and weight"
|
|
53
|
+
- name: "Whitespace"
|
|
54
|
+
description: "Generous padding creates breathing room"
|
|
55
|
+
|
|
56
|
+
why_it_works:
|
|
57
|
+
- "Large hero images create emotional connection"
|
|
58
|
+
- "Simple navigation reduces cognitive load"
|
|
59
|
+
|
|
60
|
+
design_philosophy:
|
|
61
|
+
core_belief: "Design should feel human and approachable"
|
|
62
|
+
key_principles:
|
|
63
|
+
- "Simplicity over complexity"
|
|
64
|
+
- "Content-first approach"
|
|
65
|
+
|
|
66
|
+
sections:
|
|
67
|
+
overview:
|
|
68
|
+
detected: true
|
|
69
|
+
style: "Modern SaaS"
|
|
70
|
+
tech_stack: "Framework-agnostic"
|
|
71
|
+
|
|
72
|
+
color_palette:
|
|
73
|
+
detected: true
|
|
74
|
+
primary:
|
|
75
|
+
- hex: "#FF5A5F"
|
|
76
|
+
rgb: "rgb(255, 90, 95)"
|
|
77
|
+
usage: "brand-primary"
|
|
78
|
+
count: 23
|
|
79
|
+
- hex: "#00A699"
|
|
80
|
+
rgb: "rgb(0, 166, 153)"
|
|
81
|
+
usage: "brand-secondary"
|
|
82
|
+
count: 12
|
|
83
|
+
text_colors:
|
|
84
|
+
- hex: "#484848"
|
|
85
|
+
usage: "body-text"
|
|
86
|
+
count: 156
|
|
87
|
+
- hex: "#767676"
|
|
88
|
+
usage: "muted-text"
|
|
89
|
+
count: 89
|
|
90
|
+
border_colors:
|
|
91
|
+
- hex: "#EBEBEB"
|
|
92
|
+
usage: "divider"
|
|
93
|
+
count: 45
|
|
94
|
+
|
|
95
|
+
typography:
|
|
96
|
+
detected: true
|
|
97
|
+
fonts:
|
|
98
|
+
- "Circular"
|
|
99
|
+
- "Cereal"
|
|
100
|
+
- "-apple-system"
|
|
101
|
+
weights: ["400", "500", "600", "700", "800"]
|
|
102
|
+
sizes: ["12px", "14px", "16px", "18px", "22px", "26px", "32px"]
|
|
103
|
+
h1:
|
|
104
|
+
- text: "Find places to stay"
|
|
105
|
+
fontSize: "32px"
|
|
106
|
+
fontWeight: "800"
|
|
107
|
+
fontFamily: "Circular, sans-serif"
|
|
108
|
+
h2:
|
|
109
|
+
- fontSize: "22px"
|
|
110
|
+
fontWeight: "600"
|
|
111
|
+
body:
|
|
112
|
+
- fontSize: "16px"
|
|
113
|
+
fontWeight: "400"
|
|
114
|
+
lineHeight: "1.5"
|
|
115
|
+
|
|
116
|
+
spacing_system:
|
|
117
|
+
detected: true
|
|
118
|
+
grid_base: 8
|
|
119
|
+
common_values: [8, 16, 24, 32, 48, 64]
|
|
120
|
+
paddings: ["8px", "16px", "24px", "32px", "48px"]
|
|
121
|
+
margins: ["8px", "16px", "24px", "32px"]
|
|
122
|
+
gaps: ["8px", "16px", "24px"]
|
|
123
|
+
|
|
124
|
+
component_styles:
|
|
125
|
+
detected: true
|
|
126
|
+
buttons:
|
|
127
|
+
- id: "button-0"
|
|
128
|
+
text: "Search"
|
|
129
|
+
backgroundColor: "rgb(255, 90, 95)"
|
|
130
|
+
color: "rgb(255, 255, 255)"
|
|
131
|
+
padding: "14px 24px"
|
|
132
|
+
borderRadius: "8px"
|
|
133
|
+
fontSize: "16px"
|
|
134
|
+
fontWeight: "600"
|
|
135
|
+
transition: "all 0.2s ease"
|
|
136
|
+
hover_animation: "Background darkens + Shadow appears"
|
|
137
|
+
cards:
|
|
138
|
+
- id: "card-0"
|
|
139
|
+
backgroundColor: "rgb(255, 255, 255)"
|
|
140
|
+
padding: "16px"
|
|
141
|
+
borderRadius: "12px"
|
|
142
|
+
boxShadow: "0 2px 8px rgba(0, 0, 0, 0.1)"
|
|
143
|
+
transition: "all 0.3s ease"
|
|
144
|
+
hover_animation: "Shadow increases + Slight lift"
|
|
145
|
+
inputs:
|
|
146
|
+
- id: "input-0"
|
|
147
|
+
type: "text"
|
|
148
|
+
height: "48px"
|
|
149
|
+
padding: "0 16px"
|
|
150
|
+
borderRadius: "8px"
|
|
151
|
+
border: "1px solid #EBEBEB"
|
|
152
|
+
fontSize: "16px"
|
|
153
|
+
transition: "border-color 0.2s ease"
|
|
154
|
+
focus_animation: "Border color changes to primary"
|
|
155
|
+
|
|
156
|
+
shadows_elevation:
|
|
157
|
+
detected: true
|
|
158
|
+
values:
|
|
159
|
+
- "0 1px 2px rgba(0, 0, 0, 0.08)"
|
|
160
|
+
- "0 2px 8px rgba(0, 0, 0, 0.1)"
|
|
161
|
+
- "0 4px 16px rgba(0, 0, 0, 0.12)"
|
|
162
|
+
- "0 8px 28px rgba(0, 0, 0, 0.15)"
|
|
163
|
+
|
|
164
|
+
animations_transitions:
|
|
165
|
+
detected: true
|
|
166
|
+
keyframes:
|
|
167
|
+
- name: "fadeIn"
|
|
168
|
+
css: "@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }"
|
|
169
|
+
transitions:
|
|
170
|
+
- duration: "0.2s"
|
|
171
|
+
timing: "ease"
|
|
172
|
+
property: "all"
|
|
173
|
+
- duration: "0.3s"
|
|
174
|
+
timing: "ease-out"
|
|
175
|
+
property: "transform"
|
|
176
|
+
|
|
177
|
+
border_radius:
|
|
178
|
+
detected: true
|
|
179
|
+
values: ["4px", "8px", "12px", "16px", "24px", "50%"]
|
|
180
|
+
|
|
181
|
+
border_styles:
|
|
182
|
+
detected: true
|
|
183
|
+
widths: ["1px", "2px"]
|
|
184
|
+
colors: ["#EBEBEB", "#DDDDDD"]
|
|
185
|
+
|
|
186
|
+
layout_patterns:
|
|
187
|
+
detected: true
|
|
188
|
+
container_width: "1280px"
|
|
189
|
+
grid_columns: 12
|
|
190
|
+
breakpoints:
|
|
191
|
+
- name: "mobile"
|
|
192
|
+
max_width: "744px"
|
|
193
|
+
- name: "tablet"
|
|
194
|
+
max_width: "1128px"
|
|
195
|
+
- name: "desktop"
|
|
196
|
+
min_width: "1128px"
|
|
197
|
+
|
|
198
|
+
# Detailed animation states
|
|
199
|
+
animations:
|
|
200
|
+
button-0:
|
|
201
|
+
type: "button"
|
|
202
|
+
description: "Background darkens + Shadow appears"
|
|
203
|
+
transition: "all 0.2s ease"
|
|
204
|
+
states:
|
|
205
|
+
default:
|
|
206
|
+
background: "rgb(255, 90, 95)"
|
|
207
|
+
boxShadow: "none"
|
|
208
|
+
transform: "none"
|
|
209
|
+
hover:
|
|
210
|
+
background: "rgb(230, 80, 85)"
|
|
211
|
+
boxShadow: "0 2px 8px rgba(255, 90, 95, 0.3)"
|
|
212
|
+
transform: "none"
|
|
213
|
+
card-0:
|
|
214
|
+
type: "card"
|
|
215
|
+
description: "Shadow increases + Slight lift"
|
|
216
|
+
transition: "all 0.3s ease"
|
|
217
|
+
states:
|
|
218
|
+
default:
|
|
219
|
+
boxShadow: "0 2px 8px rgba(0, 0, 0, 0.1)"
|
|
220
|
+
transform: "translateY(0)"
|
|
221
|
+
hover:
|
|
222
|
+
boxShadow: "0 4px 16px rgba(0, 0, 0, 0.15)"
|
|
223
|
+
transform: "translateY(-2px)"
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## 17 Standard Sections
|
|
229
|
+
|
|
230
|
+
| # | Section | Description |
|
|
231
|
+
|---|---------|-------------|
|
|
232
|
+
| 1 | overview | Style classification, tech stack |
|
|
233
|
+
| 2 | color_palette | Primary, text, border colors |
|
|
234
|
+
| 3 | typography | Fonts, weights, sizes |
|
|
235
|
+
| 4 | spacing_system | Grid base, common values |
|
|
236
|
+
| 5 | component_styles | Buttons, cards, inputs |
|
|
237
|
+
| 6 | shadows_elevation | Box shadow values |
|
|
238
|
+
| 7 | animations_transitions | Keyframes, transitions |
|
|
239
|
+
| 8 | border_radius | Radius values |
|
|
240
|
+
| 9 | border_styles | Widths, colors |
|
|
241
|
+
| 10 | layout_patterns | Container, grid, breakpoints |
|
|
242
|
+
| 11 | icons_imagery | Icon style (if detected) |
|
|
243
|
+
| 12 | navigation_patterns | Nav structure (if detected) |
|
|
244
|
+
| 13 | form_patterns | Form layouts (if detected) |
|
|
245
|
+
| 14 | feedback_states | Error, success states |
|
|
246
|
+
| 15 | loading_states | Spinners, skeletons |
|
|
247
|
+
| 16 | motion_design | Complex animations |
|
|
248
|
+
| 17 | accessibility | Focus states, contrast |
|
|
249
|
+
|
|
250
|
+
Coverage percentage = detected / 17 * 100
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Style Detection
|
|
2
|
+
|
|
3
|
+
Guide for classifying design styles during extraction.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Common Design Styles
|
|
8
|
+
|
|
9
|
+
### Neo-Brutalism
|
|
10
|
+
|
|
11
|
+
**Characteristics:**
|
|
12
|
+
- Bold, chunky borders (2-4px)
|
|
13
|
+
- High contrast colors
|
|
14
|
+
- Offset shadows (no blur)
|
|
15
|
+
- Raw, intentionally "unpolished" look
|
|
16
|
+
- Thick black outlines
|
|
17
|
+
|
|
18
|
+
**Example sites:** Gumroad, Figma marketing pages
|
|
19
|
+
|
|
20
|
+
### Minimalist
|
|
21
|
+
|
|
22
|
+
**Characteristics:**
|
|
23
|
+
- Maximum whitespace
|
|
24
|
+
- Limited color palette (2-3 colors)
|
|
25
|
+
- Thin or no borders
|
|
26
|
+
- Subtle shadows or none
|
|
27
|
+
- Typography-focused
|
|
28
|
+
|
|
29
|
+
**Example sites:** Apple, Notion
|
|
30
|
+
|
|
31
|
+
### Glassmorphism
|
|
32
|
+
|
|
33
|
+
**Characteristics:**
|
|
34
|
+
- Frosted glass effect (backdrop-filter: blur)
|
|
35
|
+
- Semi-transparent backgrounds
|
|
36
|
+
- Subtle borders (1px white/light)
|
|
37
|
+
- Layered depth
|
|
38
|
+
- Gradient backgrounds
|
|
39
|
+
|
|
40
|
+
**Example sites:** macOS Big Sur UI, many fintech apps
|
|
41
|
+
|
|
42
|
+
### Modern SaaS
|
|
43
|
+
|
|
44
|
+
**Characteristics:**
|
|
45
|
+
- Clean, professional aesthetic
|
|
46
|
+
- Subtle gradients
|
|
47
|
+
- Soft shadows
|
|
48
|
+
- Rounded corners (8-16px)
|
|
49
|
+
- Clear visual hierarchy
|
|
50
|
+
|
|
51
|
+
**Example sites:** Linear, Stripe, Vercel
|
|
52
|
+
|
|
53
|
+
### Corporate/Enterprise
|
|
54
|
+
|
|
55
|
+
**Characteristics:**
|
|
56
|
+
- Conservative color choices
|
|
57
|
+
- Traditional typography
|
|
58
|
+
- Structured grid layouts
|
|
59
|
+
- Formal tone
|
|
60
|
+
- Accessibility-focused
|
|
61
|
+
|
|
62
|
+
**Example sites:** IBM, Microsoft, Salesforce
|
|
63
|
+
|
|
64
|
+
### Playful/Creative
|
|
65
|
+
|
|
66
|
+
**Characteristics:**
|
|
67
|
+
- Bright, saturated colors
|
|
68
|
+
- Illustrated elements
|
|
69
|
+
- Curved shapes
|
|
70
|
+
- Animation-heavy
|
|
71
|
+
- Informal typography
|
|
72
|
+
|
|
73
|
+
**Example sites:** Slack, Mailchimp, Dropbox
|
|
74
|
+
|
|
75
|
+
### Dark Mode Native
|
|
76
|
+
|
|
77
|
+
**Characteristics:**
|
|
78
|
+
- Dark backgrounds (#0a0a0a to #1a1a1a)
|
|
79
|
+
- High contrast text
|
|
80
|
+
- Glowing accents
|
|
81
|
+
- Subtle borders for separation
|
|
82
|
+
- Reduced eye strain focus
|
|
83
|
+
|
|
84
|
+
**Example sites:** Discord, GitHub (dark), VS Code
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Detection Criteria
|
|
89
|
+
|
|
90
|
+
### Border Analysis
|
|
91
|
+
|
|
92
|
+
| Pattern | Style Indicator |
|
|
93
|
+
|---------|-----------------|
|
|
94
|
+
| 2-4px solid black borders | Neo-Brutalism |
|
|
95
|
+
| 1px subtle borders | Minimalist/Modern SaaS |
|
|
96
|
+
| 1px white/translucent borders | Glassmorphism |
|
|
97
|
+
| No borders | Minimalist |
|
|
98
|
+
|
|
99
|
+
### Shadow Analysis
|
|
100
|
+
|
|
101
|
+
| Pattern | Style Indicator |
|
|
102
|
+
|---------|-----------------|
|
|
103
|
+
| Offset shadows (4px 4px, no blur) | Neo-Brutalism |
|
|
104
|
+
| Soft blur shadows (0 4px 16px) | Modern SaaS |
|
|
105
|
+
| No shadows | Minimalist |
|
|
106
|
+
| Inner glow effects | Glassmorphism |
|
|
107
|
+
|
|
108
|
+
### Color Analysis
|
|
109
|
+
|
|
110
|
+
| Pattern | Style Indicator |
|
|
111
|
+
|---------|-----------------|
|
|
112
|
+
| High contrast, saturated | Neo-Brutalism / Playful |
|
|
113
|
+
| Muted, desaturated | Minimalist / Corporate |
|
|
114
|
+
| Gradients with transparency | Glassmorphism |
|
|
115
|
+
| Dark backgrounds | Dark Mode Native |
|
|
116
|
+
|
|
117
|
+
### Typography Analysis
|
|
118
|
+
|
|
119
|
+
| Pattern | Style Indicator |
|
|
120
|
+
|---------|-----------------|
|
|
121
|
+
| Extra bold weights (800-900) | Neo-Brutalism |
|
|
122
|
+
| Variable weights, modern sans | Modern SaaS |
|
|
123
|
+
| Serif fonts | Corporate / Editorial |
|
|
124
|
+
| Rounded, friendly fonts | Playful |
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## Psychology Mapping
|
|
129
|
+
|
|
130
|
+
| Style | Primary Emotions | Best For |
|
|
131
|
+
|-------|------------------|----------|
|
|
132
|
+
| Neo-Brutalism | Bold, Rebellious, Confident | Creative tools, indie brands |
|
|
133
|
+
| Minimalist | Calm, Focused, Premium | Luxury, productivity |
|
|
134
|
+
| Glassmorphism | Modern, Futuristic, Sleek | Tech products, dashboards |
|
|
135
|
+
| Modern SaaS | Professional, Trustworthy | B2B, enterprise |
|
|
136
|
+
| Playful | Fun, Approachable, Friendly | Consumer apps, social |
|
|
137
|
+
| Dark Mode | Sophisticated, Technical | Developer tools, gaming |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Feb 3, 2026
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
11
|
+
</claude-mem-context>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Design Extraction: {siteName}
|
|
2
|
+
# Extracted: {timestamp}
|
|
3
|
+
# URL: {url}
|
|
4
|
+
|
|
5
|
+
meta:
|
|
6
|
+
site_name: "{siteName}"
|
|
7
|
+
url: "{url}"
|
|
8
|
+
extracted_at: "{timestamp}"
|
|
9
|
+
extractor_version: "2.1.0"
|
|
10
|
+
coverage:
|
|
11
|
+
total_sections: 17
|
|
12
|
+
detected_sections: {detectedCount}
|
|
13
|
+
percentage: {coveragePercent}
|
|
14
|
+
|
|
15
|
+
psychology:
|
|
16
|
+
style_classification: "{styleClassification}"
|
|
17
|
+
|
|
18
|
+
emotions_evoked:
|
|
19
|
+
- emotion: "{emotion1}"
|
|
20
|
+
reason: "{reason1}"
|
|
21
|
+
|
|
22
|
+
target_audience:
|
|
23
|
+
primary:
|
|
24
|
+
description: "{audienceDescription}"
|
|
25
|
+
age_range: "{ageRange}"
|
|
26
|
+
tech_savvy: "{techSavvy}"
|
|
27
|
+
|
|
28
|
+
visual_principles:
|
|
29
|
+
- name: "{principle1}"
|
|
30
|
+
description: "{principleDesc1}"
|
|
31
|
+
|
|
32
|
+
why_it_works:
|
|
33
|
+
- "{whyItWorks1}"
|
|
34
|
+
|
|
35
|
+
design_philosophy:
|
|
36
|
+
core_belief: "{coreBelief}"
|
|
37
|
+
key_principles:
|
|
38
|
+
- "{keyPrinciple1}"
|
|
39
|
+
|
|
40
|
+
sections:
|
|
41
|
+
overview:
|
|
42
|
+
detected: true
|
|
43
|
+
style: "{styleClassification}"
|
|
44
|
+
|
|
45
|
+
color_palette:
|
|
46
|
+
detected: {hasColors}
|
|
47
|
+
primary:
|
|
48
|
+
# Extracted background colors
|
|
49
|
+
text_colors:
|
|
50
|
+
# Extracted text colors
|
|
51
|
+
border_colors:
|
|
52
|
+
# Extracted border colors
|
|
53
|
+
|
|
54
|
+
typography:
|
|
55
|
+
detected: {hasTypography}
|
|
56
|
+
fonts: []
|
|
57
|
+
weights: []
|
|
58
|
+
sizes: []
|
|
59
|
+
|
|
60
|
+
spacing_system:
|
|
61
|
+
detected: {hasSpacing}
|
|
62
|
+
grid_base: {gridBase}
|
|
63
|
+
common_values: []
|
|
64
|
+
|
|
65
|
+
component_styles:
|
|
66
|
+
detected: {hasComponents}
|
|
67
|
+
buttons: []
|
|
68
|
+
cards: []
|
|
69
|
+
inputs: []
|
|
70
|
+
|
|
71
|
+
shadows_elevation:
|
|
72
|
+
detected: {hasShadows}
|
|
73
|
+
values: []
|
|
74
|
+
|
|
75
|
+
animations_transitions:
|
|
76
|
+
detected: {hasAnimations}
|
|
77
|
+
keyframes: []
|
|
78
|
+
transitions: []
|
|
79
|
+
|
|
80
|
+
border_radius:
|
|
81
|
+
detected: {hasBorderRadius}
|
|
82
|
+
values: []
|
|
83
|
+
|
|
84
|
+
border_styles:
|
|
85
|
+
detected: {hasBorders}
|
|
86
|
+
widths: []
|
|
87
|
+
|
|
88
|
+
layout_patterns:
|
|
89
|
+
detected: {hasLayout}
|
|
90
|
+
container_width: "1280px"
|
|
91
|
+
grid_columns: 12
|
|
92
|
+
|
|
93
|
+
# Detailed animation states
|
|
94
|
+
animations:
|
|
95
|
+
# Component animation states go here
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Feb 3, 2026
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
11
|
+
</claude-mem-context>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Design Setup Skill
|
|
2
|
+
|
|
3
|
+
Interactive design system setup with theme selection and AI recommendations.
|
|
4
|
+
|
|
5
|
+
## Triggers
|
|
6
|
+
|
|
7
|
+
- "/designsetup [@context-files...]"
|
|
8
|
+
- "setup design system"
|
|
9
|
+
- "create design system from extracted sites"
|
|
10
|
+
- "สร้าง design system"
|
|
11
|
+
|
|
12
|
+
## Prerequisites
|
|
13
|
+
|
|
14
|
+
Must have extracted at least 1 site first:
|
|
15
|
+
```bash
|
|
16
|
+
/extract https://airbnb.com
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Quick Usage
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# With context files
|
|
23
|
+
/designsetup @prd.md @project.md
|
|
24
|
+
|
|
25
|
+
# Without context (interactive mode)
|
|
26
|
+
/designsetup
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Output Files
|
|
30
|
+
|
|
31
|
+
| File | Purpose | Audience |
|
|
32
|
+
|------|---------|----------|
|
|
33
|
+
| `design-system/data.yaml` | Design tokens (~300 lines) | Agents |
|
|
34
|
+
| `design-system/README.md` | Human-readable guide (~100 lines) | Humans |
|
|
35
|
+
| `design-system/patterns/*.md` | Code patterns | Agents |
|
|
36
|
+
|
|
37
|
+
## 3-Round Interactive Process
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Round 1: Style Selection
|
|
41
|
+
├── Present extracted styles with Match Scores
|
|
42
|
+
├── User selects (or "Mix/Custom" for adjustments)
|
|
43
|
+
└── AI calculates fit based on brand personality
|
|
44
|
+
|
|
45
|
+
Round 2: Animation Selection
|
|
46
|
+
├── Show all available animations from references
|
|
47
|
+
├── User multi-selects desired patterns
|
|
48
|
+
└── Include scroll animations, hover effects
|
|
49
|
+
|
|
50
|
+
Round 3: Theme & Decorative Direction
|
|
51
|
+
├── AI recommends 3-4 themes based on project
|
|
52
|
+
├── Each theme has USE and AVOID elements
|
|
53
|
+
└── User selects or creates custom theme
|
|
54
|
+
|
|
55
|
+
Confirmation → Generate Files
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## What Gets Generated
|
|
59
|
+
|
|
60
|
+
### data.yaml (For Agents)
|
|
61
|
+
- Style classification + feel
|
|
62
|
+
- Colors (primary, secondary, semantic)
|
|
63
|
+
- Typography (fonts, weights, sizes)
|
|
64
|
+
- Spacing (grid base, scale)
|
|
65
|
+
- Animations (durations, easing, patterns)
|
|
66
|
+
- Theme direction (use/avoid elements)
|
|
67
|
+
- Psychology (emotions, target audience)
|
|
68
|
+
|
|
69
|
+
### README.md (For Humans)
|
|
70
|
+
- Overview and characteristics
|
|
71
|
+
- Color palette guide
|
|
72
|
+
- Typography guide
|
|
73
|
+
- Spacing system
|
|
74
|
+
- Theme direction
|
|
75
|
+
- Critical rules
|
|
76
|
+
|
|
77
|
+
### patterns/*.md (For Agents)
|
|
78
|
+
- `buttons.md` - Button variants and sizes
|
|
79
|
+
- `cards.md` - Card variants
|
|
80
|
+
- `forms.md` - Form elements
|
|
81
|
+
- `scroll-animations.md` - Scroll patterns
|
|
82
|
+
- `decorations.md` - Decorative elements
|
|
83
|
+
|
|
84
|
+
## Detailed Documentation
|
|
85
|
+
|
|
86
|
+
| Reference | Use When |
|
|
87
|
+
|-----------|----------|
|
|
88
|
+
| [references/interactive-workflow.md](references/interactive-workflow.md) | Understanding the 3-round loop |
|
|
89
|
+
| [references/generation-steps.md](references/generation-steps.md) | File generation process |
|
|
90
|
+
| [references/data-yaml-schema.md](references/data-yaml-schema.md) | data.yaml structure |
|
|
91
|
+
| [references/error-handling.md](references/error-handling.md) | Handling failures |
|
|
92
|
+
|
|
93
|
+
## Next Steps After Setup
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# Plan pages (reads data.yaml)
|
|
97
|
+
/pageplan @prd.md
|
|
98
|
+
|
|
99
|
+
# Setup development workflow
|
|
100
|
+
/csetup {change-id}
|
|
101
|
+
|
|
102
|
+
# Start development (agents read data.yaml)
|
|
103
|
+
/cdev {change-id}
|
|
104
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Feb 3, 2026
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
11
|
+
</claude-mem-context>
|