picasso-skill 1.3.1 → 1.3.2
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 +209 -5
- package/agents/picasso.md +184 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
</p>
|
|
5
5
|
|
|
6
6
|
<p align="center">
|
|
7
|
-
20 reference domains •
|
|
7
|
+
20 reference domains • 35+ commands • 4,700+ lines of actionable design intelligence<br/>
|
|
8
8
|
Every interface looks like a senior design engineer spent days on it.
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="#install">Install</a> •
|
|
13
13
|
<a href="#what-makes-picasso-different">Why Picasso</a> •
|
|
14
|
+
<a href="#the-design-interview">Interview</a> •
|
|
15
|
+
<a href="#creative-commands">Creative Commands</a> •
|
|
14
16
|
<a href="#benchmark">Benchmarks</a> •
|
|
15
|
-
<a href="#commands">Commands</a> •
|
|
17
|
+
<a href="#commands">All Commands</a> •
|
|
16
18
|
<a href="#references">References</a> •
|
|
17
19
|
<a href="#sources">Sources</a>
|
|
18
20
|
</p>
|
|
@@ -89,6 +91,178 @@ Picasso doesn't just describe tools -- it specifies exactly how to use them with
|
|
|
89
91
|
|
|
90
92
|
---
|
|
91
93
|
|
|
94
|
+
## The Design Interview
|
|
95
|
+
|
|
96
|
+
When you first use Picasso on a project, it doesn't just start generating. It asks.
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Picasso: What are we building? New project, redesign, polish, or fixing specific issues?
|
|
100
|
+
You: New SaaS dashboard for a fintech startup
|
|
101
|
+
|
|
102
|
+
Picasso: Who is this for?
|
|
103
|
+
You: Financial analysts, 30-50 age range, use Bloomberg terminals all day
|
|
104
|
+
|
|
105
|
+
Picasso: What's the vibe? Any sites you love the look of?
|
|
106
|
+
You: Dark, dense, like Linear meets Bloomberg. Here's a reference: linear.app
|
|
107
|
+
|
|
108
|
+
Picasso: Rate these 1-5:
|
|
109
|
+
Animations? Mobile? Accessibility? Dark mode? Performance?
|
|
110
|
+
You: Animations 3, Mobile 2, A11y 5, Dark mode YES, Perf 5
|
|
111
|
+
|
|
112
|
+
Picasso: Got it. Here's what I'm building:
|
|
113
|
+
→ Dark-tech aesthetic inspired by Linear
|
|
114
|
+
→ Dense layout (VISUAL_DENSITY: 8), subtle motion (MOTION_INTENSITY: 3)
|
|
115
|
+
→ WCAG AAA accessibility, dark-first, performance-critical
|
|
116
|
+
→ Generating .picasso.md and DESIGN.md now...
|
|
117
|
+
Sound good?
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The interview generates a `.picasso.md` config that persists your preferences across every future session. Run `/picasso` anytime to redo it.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Creative Commands
|
|
125
|
+
|
|
126
|
+
These are the features that make Picasso unlike any other design tool.
|
|
127
|
+
|
|
128
|
+
### `/roast` -- The Brutally Honest Critique
|
|
129
|
+
|
|
130
|
+
Forget polite feedback. `/roast` tears your design apart with designer-Twitter energy.
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
🔥🔥🔥🔥 ROAST SCORE: 4/5
|
|
134
|
+
|
|
135
|
+
This hero section looks like every v0 output from 2024. The purple gradient
|
|
136
|
+
physically hurts my eyes. The three identical cards are a cry for help. And
|
|
137
|
+
the "Build the future of work" headline? It's 2026 -- we've moved on.
|
|
138
|
+
|
|
139
|
+
The Inter font is doing NOTHING for you. It's the design equivalent of
|
|
140
|
+
wearing khakis to a nightclub. And transition: all 0.3s? That's animating
|
|
141
|
+
your box-shadow, your border-color, and your will to live.
|
|
142
|
+
|
|
143
|
+
Here's how to fix it:
|
|
144
|
+
1. Kill the gradient. Use oklch(0.15 0.02 250) as your background.
|
|
145
|
+
2. Replace Inter with Satoshi for display, DM Sans for body.
|
|
146
|
+
3. Break the three-card grid. Make the first card 2x width.
|
|
147
|
+
...
|
|
148
|
+
|
|
149
|
+
What IS working: Your spacing scale is consistent (4px base) and the
|
|
150
|
+
semantic HTML structure is solid. Build on that.
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### `/score` -- Quantified Design Quality
|
|
154
|
+
|
|
155
|
+
A single 0-100 score, broken down by category. Track it over time.
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
## Picasso Design Score: 73/100
|
|
159
|
+
|
|
160
|
+
Typography: ████████████░░░ 12/15
|
|
161
|
+
Color: ████████████░░░ 11/15
|
|
162
|
+
Spacing: ████████░░ 8/10
|
|
163
|
+
Accessibility: ████████████████ 16/20
|
|
164
|
+
Motion: ██████░░░░ 6/10
|
|
165
|
+
Responsive: ████████░░ 8/10
|
|
166
|
+
Performance: ██████░░░░ 6/10
|
|
167
|
+
Anti-Slop: ██████░░░░ 6/10
|
|
168
|
+
|
|
169
|
+
Top fixes for +15 points:
|
|
170
|
+
1. Add prefers-reduced-motion support (+4)
|
|
171
|
+
2. Replace #000 with tinted near-black (+3)
|
|
172
|
+
3. Add staggered entrance animation (+3)
|
|
173
|
+
4. Set max-width on body text (+3)
|
|
174
|
+
5. Replace outline:none with focus-visible (+2)
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### `/steal <url>` -- Extract Any Site's Design DNA
|
|
178
|
+
|
|
179
|
+
Point at a live website and Picasso extracts its entire design language into a `.picasso.md` config.
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
/steal https://linear.app
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Extracts: fonts, color palette, spacing rhythm, border-radius system, shadow style, animation patterns, layout structure. Generates a config that makes your project match that aesthetic.
|
|
186
|
+
|
|
187
|
+
### `/mood <word>` -- Instant Design System from a Word
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
/mood cyberpunk
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Generates a complete design system -- palette, fonts, spacing, motion, component styling -- from a single evocative word. Works with: `cyberpunk`, `cottage`, `brutalist`, `luxury`, `editorial`, `playful`, `corporate`, `dark-tech`, `warm-saas`, `minimal`, and any combination.
|
|
194
|
+
|
|
195
|
+
### `/evolve` -- Iterative Multi-Round Refinement
|
|
196
|
+
|
|
197
|
+
Instead of generating once and hoping, Picasso proposes 3 distinct directions, lets you pick, then refines through multiple rounds:
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
Round 1: Here are 3 directions:
|
|
201
|
+
A) Minimal monochrome -- Geist font, black/white, sharp corners
|
|
202
|
+
B) Warm editorial -- Instrument Serif headers, terracotta accent, soft radius
|
|
203
|
+
C) Dark technical -- JetBrains Mono accent, neon green, dense layout
|
|
204
|
+
|
|
205
|
+
You: B, but darker
|
|
206
|
+
|
|
207
|
+
Round 2: [implements B with darker surfaces, screenshots]
|
|
208
|
+
What do you love? What's not right?
|
|
209
|
+
|
|
210
|
+
You: Love the typography. Cards need more breathing room.
|
|
211
|
+
|
|
212
|
+
Round 3: [adjusts spacing, screenshots]
|
|
213
|
+
Are we there?
|
|
214
|
+
|
|
215
|
+
You: Ship it.
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### `/compete <url>` -- Head-to-Head Design Battle
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
/compete https://competitor.com
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Screenshots both sites, scores both, produces a head-to-head comparison:
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
You Competitor
|
|
228
|
+
Typography: 72 88 ← They win (modular scale)
|
|
229
|
+
Color: 85 71 ← You win (better contrast)
|
|
230
|
+
Responsive: 90 65 ← You win (mobile-first)
|
|
231
|
+
Performance: 45 92 ← They win (image optimization)
|
|
232
|
+
Accessibility: 88 42 ← You win (focus states)
|
|
233
|
+
Overall: 76 72 ← You win, barely
|
|
234
|
+
|
|
235
|
+
Key gap: Their typography is stronger because they use a consistent
|
|
236
|
+
1.25 ratio scale. Yours has 7 different sizes with no clear ratio.
|
|
237
|
+
Fix this and you pull ahead significantly.
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### `/before-after` -- Visual Transformation Report
|
|
241
|
+
|
|
242
|
+
After any `/polish` or `/redesign`, auto-generates side-by-side screenshots showing exactly what changed and why. Shareable HTML report.
|
|
243
|
+
|
|
244
|
+
### `/mood-board` -- Visual Inspiration Generator
|
|
245
|
+
|
|
246
|
+
Not sure what you want? Give Picasso 3-5 adjectives and it generates an interactive HTML mood board with color swatches, font samples, and example components in that style.
|
|
247
|
+
|
|
248
|
+
### `/design-system-sync` -- Keep Code and DESIGN.md in Sync
|
|
249
|
+
|
|
250
|
+
Detects when your code has drifted from your design system. Finds every hardcoded color that should be a token, every wrong font weight, every spacing violation. Offers one-click fix.
|
|
251
|
+
|
|
252
|
+
### `/preset <name>` -- One-Command Aesthetic
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
/preset linear # Linear-inspired dark minimal
|
|
256
|
+
/preset stripe # Stripe-inspired gradient editorial
|
|
257
|
+
/preset vercel # Vercel-inspired black/white sharp
|
|
258
|
+
/preset notion # Notion-inspired warm readable
|
|
259
|
+
/preset brutalist # Raw, intentional, monospace
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
Generates `.picasso.md` + `DESIGN.md` + updates your CSS variables in one command.
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
92
266
|
## Benchmark
|
|
93
267
|
|
|
94
268
|
### Picasso vs. Every Other Design Skill
|
|
@@ -100,7 +274,7 @@ We compared Picasso against every publicly available AI design skill as of April
|
|
|
100
274
|
| **Reference domains** | **20** | 1 | 7 | 1 | 1-3 |
|
|
101
275
|
| **Total lines of guidance** | **4,700+** | ~120 | ~2,500 | ~200 | 50-300 |
|
|
102
276
|
| **Anti-pattern rules** | **50+** | ~10 | ~30 | ~5 | 0-5 |
|
|
103
|
-
| **Steering commands** | **
|
|
277
|
+
| **Steering commands** | **35+** | 0 | 20 | 0 | 0-3 |
|
|
104
278
|
| **ARIA patterns documented** | **12 widgets** | 0 | 0 | 0 | 0 |
|
|
105
279
|
| **React performance rules** | **45 (Vercel)** | 0 | 0 | 0 | 0 |
|
|
106
280
|
| **Chart/data viz guidance** | **Full matrix** | None | None | None | None |
|
|
@@ -112,7 +286,9 @@ We compared Picasso against every publicly available AI design skill as of April
|
|
|
112
286
|
| **UX psychology** | **6 laws + patterns** | None | None | None | None |
|
|
113
287
|
| **Design system generation** | **9-section (Stitch)** | None | None | None | None |
|
|
114
288
|
| **Sound/haptics** | **soundcn + web-haptics** | None | None | None | None |
|
|
115
|
-
| **Scoring system** |
|
|
289
|
+
| **Scoring system** | **0-100 quantified** | None | /20 + /40 | None | None |
|
|
290
|
+
| **Design interview** | **4-section onboarding** | None | None | None | None |
|
|
291
|
+
| **Creative commands** | **10 (/roast, /steal, /evolve...)** | None | None | None | None |
|
|
116
292
|
| **Tool integrations** | **7 libraries** | 0 | 0 | 0 | 0 |
|
|
117
293
|
| **Sources consolidated** | **15+ repos** | 1 | 1 | 1 | 0-1 |
|
|
118
294
|
|
|
@@ -269,11 +445,39 @@ Picasso ships as both a **skill** (knowledge base) and an **agent** (autonomous
|
|
|
269
445
|
| `/harden` | Error handling and edge cases: text overflow, i18n (RTL, expansion), network errors, empty/loading/error states, browser compat |
|
|
270
446
|
| `/onboard` | Design onboarding: signup friction reduction, first-run experience, progressive feature discovery, setup checklists |
|
|
271
447
|
|
|
448
|
+
### Creative
|
|
449
|
+
|
|
450
|
+
| Command | What It Does |
|
|
451
|
+
|---|---|
|
|
452
|
+
| `/picasso` | Run the design interview -- deep discovery conversation, generates `.picasso.md` config |
|
|
453
|
+
| `/roast` | Brutally honest critique with designer-Twitter energy. Every roast includes the fix. Rated 🔥-🔥🔥🔥🔥🔥. |
|
|
454
|
+
| `/score` | Quantified 0-100 design score with category breakdown (typography, color, spacing, a11y, motion, responsive, perf, anti-slop) |
|
|
455
|
+
| `/steal <url>` | Extract design DNA from any live website into a `.picasso.md` config |
|
|
456
|
+
| `/mood <word>` | Generate complete design system from a single evocative word (cyberpunk, cottage, luxury, etc.) |
|
|
457
|
+
| `/evolve` | Multi-round iterative refinement: 3 directions → pick → refine → ship |
|
|
458
|
+
| `/compete <url>` | Head-to-head design comparison against a competitor with per-category scoring |
|
|
459
|
+
| `/before-after` | Visual side-by-side comparison report after changes (HTML export) |
|
|
460
|
+
| `/mood-board` | Generate interactive HTML mood board from adjectives |
|
|
461
|
+
| `/design-system-sync` | Detect and auto-fix drift between DESIGN.md and actual code |
|
|
462
|
+
| `/preset <name>` | Apply a curated preset (linear, stripe, vercel, notion, brutalist, etc.) |
|
|
463
|
+
|
|
272
464
|
### Advanced
|
|
273
465
|
|
|
274
466
|
| Command | What It Does |
|
|
275
467
|
|---|---|
|
|
276
|
-
| `/overdrive` | Technically extraordinary effects.
|
|
468
|
+
| `/overdrive` | Technically extraordinary effects. View Transitions, scroll-driven animations, WebGL, @property gradients, Web Audio, spring physics. 60fps. Progressive enhancement. |
|
|
469
|
+
|
|
470
|
+
### Automation (Agent-Only)
|
|
471
|
+
|
|
472
|
+
| Command | What It Does |
|
|
473
|
+
|---|---|
|
|
474
|
+
| `/a11y` | Full accessibility audit: axe-core + pa11y + Lighthouse with JSON parsing |
|
|
475
|
+
| `/perf` | Lighthouse performance audit with Core Web Vitals pass/fail thresholds |
|
|
476
|
+
| `/visual-diff` | Screenshot desktop + mobile in light/dark mode, analyze visually |
|
|
477
|
+
| `/consistency` | Multi-page consistency check across all routes |
|
|
478
|
+
| `/lint-design` | Find hardcoded colors, spacing violations, font inconsistencies, z-index chaos |
|
|
479
|
+
| `/install-hooks` | Generate git pre-commit hook for automated design checks |
|
|
480
|
+
| `/ci-setup` | Generate GitHub Actions workflow for PR design review with scores |
|
|
277
481
|
|
|
278
482
|
---
|
|
279
483
|
|
package/agents/picasso.md
CHANGED
|
@@ -417,6 +417,190 @@ When the user invokes these commands, execute the corresponding workflow:
|
|
|
417
417
|
| `/lint-design` | Design token linting: find hardcoded colors, inconsistent spacing, non-standard fonts, z-index chaos, transition:all |
|
|
418
418
|
| `/install-hooks` | Generate a git pre-commit hook that runs fast grep-based design checks (no server needed) |
|
|
419
419
|
| `/ci-setup` | Generate a GitHub Actions workflow for PR design review: a11y, perf, screenshots, PR comment |
|
|
420
|
+
| `/roast` | Brutally honest design critique with sharp, specific, funny feedback |
|
|
421
|
+
| `/before-after` | Visual side-by-side comparison after changes with HTML report |
|
|
422
|
+
| `/steal <url>` | Extract design DNA from any live website into .picasso.md |
|
|
423
|
+
| `/mood <word>` | Generate complete design system from a single evocative word |
|
|
424
|
+
| `/score` | Quantified 0-100 design quality score with category breakdown |
|
|
425
|
+
| `/compete <url>` | Head-to-head design comparison against a competitor site |
|
|
426
|
+
| `/evolve` | Multi-round iterative design refinement with screenshots |
|
|
427
|
+
| `/mood-board` | Generate visual inspiration HTML from adjectives |
|
|
428
|
+
| `/design-system-sync` | Detect and fix drift between DESIGN.md and code |
|
|
429
|
+
| `/preset <name>` | Apply a curated community design preset |
|
|
430
|
+
|
|
431
|
+
## Creative Commands
|
|
432
|
+
|
|
433
|
+
### /roast -- Brutally Honest Design Critique
|
|
434
|
+
|
|
435
|
+
The anti-polite review. Write feedback in sharp, designer-Twitter energy. Be specific, be funny, be cutting -- but always constructive. Every roast must end with "Here's how to fix it:" followed by actionable steps.
|
|
436
|
+
|
|
437
|
+
Example tone: "This hero section looks like every v0 output from 2024. The purple gradient physically hurts my eyes. The three identical cards are a cry for help. And the 'Build the future of work' headline? My brother in Christ, it's 2026."
|
|
438
|
+
|
|
439
|
+
Rules:
|
|
440
|
+
- Never be mean about the developer, only the design
|
|
441
|
+
- Every criticism must be specific (file:line or element)
|
|
442
|
+
- Every roast point must include the fix
|
|
443
|
+
- End with a genuine compliment about what IS working
|
|
444
|
+
- Output a "Roast Score" from 🔥 (barely warm) to 🔥🔥🔥🔥🔥 (absolute inferno)
|
|
445
|
+
|
|
446
|
+
### /before-after -- Visual Diff Report
|
|
447
|
+
|
|
448
|
+
After any /polish or /redesign, auto-generate a comparison:
|
|
449
|
+
1. Take "before" screenshots (desktop + mobile) BEFORE making changes
|
|
450
|
+
2. Make the changes
|
|
451
|
+
3. Take "after" screenshots
|
|
452
|
+
4. Generate an HTML report at `/tmp/picasso-before-after.html` showing side-by-side comparisons with annotations
|
|
453
|
+
5. List every change made with file:line references
|
|
454
|
+
|
|
455
|
+
```bash
|
|
456
|
+
# Before screenshots
|
|
457
|
+
npx playwright screenshot http://localhost:3000 /tmp/picasso-before-desktop.png --viewport-size=1440,900
|
|
458
|
+
npx playwright screenshot http://localhost:3000 /tmp/picasso-before-mobile.png --viewport-size=375,812
|
|
459
|
+
|
|
460
|
+
# ... make changes ...
|
|
461
|
+
|
|
462
|
+
# After screenshots
|
|
463
|
+
npx playwright screenshot http://localhost:3000 /tmp/picasso-after-desktop.png --viewport-size=1440,900
|
|
464
|
+
npx playwright screenshot http://localhost:3000 /tmp/picasso-after-mobile.png --viewport-size=375,812
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### /steal <url> -- Design DNA Extraction
|
|
468
|
+
|
|
469
|
+
Point at any live website and extract its design DNA:
|
|
470
|
+
1. Screenshot the URL at multiple viewports
|
|
471
|
+
2. Analyze the screenshot visually for: fonts, color palette, spacing rhythm, border-radius, animation style, layout structure
|
|
472
|
+
3. Use bash to fetch the page and extract CSS:
|
|
473
|
+
```bash
|
|
474
|
+
curl -s "<url>" | grep -oP 'font-family:[^;]+' | sort -u | head -10
|
|
475
|
+
curl -s "<url>" | grep -oP '#[0-9a-fA-F]{3,8}' | sort | uniq -c | sort -rn | head -15
|
|
476
|
+
curl -s "<url>" | grep -oP 'border-radius:[^;]+' | sort -u
|
|
477
|
+
```
|
|
478
|
+
4. Generate a `.picasso.md` config that matches the extracted aesthetic
|
|
479
|
+
5. Optionally generate a DESIGN.md based on the extraction
|
|
480
|
+
|
|
481
|
+
### /mood <word> -- Instant Aesthetic from a Single Word
|
|
482
|
+
|
|
483
|
+
Generate a complete design system from an evocative word or phrase:
|
|
484
|
+
1. Parse the mood word(s): "cyberpunk", "cottage", "brutalist-banking", "warm-saas", "dark-editorial"
|
|
485
|
+
2. Map to design tokens:
|
|
486
|
+
- Color palette (5-7 OKLCH values)
|
|
487
|
+
- Font pairing (display + body + mono)
|
|
488
|
+
- Border radius scale
|
|
489
|
+
- Shadow style
|
|
490
|
+
- Motion intensity
|
|
491
|
+
- Spacing density
|
|
492
|
+
3. Generate a complete `.picasso.md` config
|
|
493
|
+
4. Generate a `DESIGN.md` with the full token set
|
|
494
|
+
5. Show a preview summary: "Mood: cyberpunk -> Neon green on near-black, JetBrains Mono headers, sharp 2px radius, high motion, dense layout"
|
|
495
|
+
|
|
496
|
+
Include a mood mapping table:
|
|
497
|
+
| Mood | Palette Direction | Typography | Radius | Motion |
|
|
498
|
+
|---|---|---|---|---|
|
|
499
|
+
| cyberpunk | neon on dark, high contrast | monospace display + geometric body | sharp (0-2px) | high, glitch effects |
|
|
500
|
+
| cottage | warm earth tones, muted | serif display + rounded body | soft (12-16px) | gentle, slow fades |
|
|
501
|
+
| brutalist | black/white + one accent | mono or slab | none (0px) | minimal, abrupt |
|
|
502
|
+
| luxury | deep neutrals + gold/cream | thin serif display + elegant sans | subtle (4-8px) | smooth, slow |
|
|
503
|
+
| editorial | high contrast, limited palette | strong serif + clean sans | minimal (2-4px) | moderate, text-focused |
|
|
504
|
+
| playful | bright, saturated, varied | rounded sans + handwritten accent | large (16-24px) | bouncy, energetic |
|
|
505
|
+
| corporate | conservative blue/gray | clean sans + readable body | standard (8px) | subtle, professional |
|
|
506
|
+
| dark-tech | dark surfaces + accent glow | geometric sans + monospace | sharp (2-4px) | fast, precise |
|
|
507
|
+
| warm-saas | warm neutrals + friendly accent | humanist sans | medium (8-12px) | moderate, smooth |
|
|
508
|
+
| minimal | near-black + white + one accent | one font family, varied weights | subtle (4px) | very subtle |
|
|
509
|
+
|
|
510
|
+
### /score -- Quantified Design Quality Score
|
|
511
|
+
|
|
512
|
+
Run a comprehensive scoring algorithm:
|
|
513
|
+
|
|
514
|
+
1. **Typography (0-15 pts)**: font choice (not banned default: 3), type scale consistency (3), max-width on text (3), line-height correctness (3), letter-spacing on caps (3)
|
|
515
|
+
2. **Color (0-15 pts)**: no pure black/gray (3), OKLCH or HSL usage (3), tinted neutrals (3), 60-30-10 rule (3), semantic colors exist (3)
|
|
516
|
+
3. **Spacing (0-10 pts)**: consistent scale (5), Gestalt grouping (5)
|
|
517
|
+
4. **Accessibility (0-20 pts)**: axe-core violations (10), focus-visible (3), semantic HTML (3), alt text (2), reduced-motion (2)
|
|
518
|
+
5. **Motion (0-10 pts)**: no transition:all (3), stagger pattern (3), reduced-motion support (2), no bounce easing (2)
|
|
519
|
+
6. **Responsive (0-10 pts)**: works at 375px (5), touch targets (3), no horizontal scroll (2)
|
|
520
|
+
7. **Performance (0-10 pts)**: Lighthouse perf score mapped (0-100 -> 0-10)
|
|
521
|
+
8. **Anti-Slop (0-10 pts)**: deductions for each AI-slop fingerprint detected (-2 each, minimum 0)
|
|
522
|
+
|
|
523
|
+
Total: 0-100. Output as:
|
|
524
|
+
```
|
|
525
|
+
## Picasso Design Score: 73/100
|
|
526
|
+
|
|
527
|
+
Typography: ████████████░░░ 12/15
|
|
528
|
+
Color: ████████████░░░ 11/15
|
|
529
|
+
Spacing: ████████░░ 8/10
|
|
530
|
+
Accessibility: ████████████████ 16/20
|
|
531
|
+
Motion: ██████░░░░ 6/10
|
|
532
|
+
Responsive: ████████░░ 8/10
|
|
533
|
+
Performance: ██████░░░░ 6/10
|
|
534
|
+
Anti-Slop: ██████░░░░ 6/10
|
|
535
|
+
|
|
536
|
+
Top issues to fix for +15 points:
|
|
537
|
+
1. Add prefers-reduced-motion support (+4)
|
|
538
|
+
2. Replace #000 with tinted near-black (+3)
|
|
539
|
+
3. ...
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
### /compete <url> -- Competitive Design Analysis
|
|
543
|
+
|
|
544
|
+
Compare the current project against a competitor:
|
|
545
|
+
1. Screenshot both sites (desktop + mobile)
|
|
546
|
+
2. Extract design DNA from both
|
|
547
|
+
3. Compare head-to-head across categories:
|
|
548
|
+
- Typography quality
|
|
549
|
+
- Color cohesion
|
|
550
|
+
- Spacing consistency
|
|
551
|
+
- Motion sophistication
|
|
552
|
+
- Mobile experience
|
|
553
|
+
- Performance (Lighthouse)
|
|
554
|
+
- Accessibility (axe)
|
|
555
|
+
4. Output a comparison table with winner per category
|
|
556
|
+
5. Generate specific recommendations: "Their typography is stronger because they use a modular type scale. Yours uses 7 different font sizes with no clear ratio."
|
|
557
|
+
|
|
558
|
+
### /evolve -- Iterative Design Refinement Loop
|
|
559
|
+
|
|
560
|
+
Multi-round design refinement:
|
|
561
|
+
1. **Round 1: Directions** -- Generate 3 distinct aesthetic directions for the page/component. Describe each in 2-3 sentences with the key differentiator. Ask user to pick one (or combine elements).
|
|
562
|
+
2. **Round 2: Refinement** -- Implement the chosen direction. Screenshot it. Ask "What do you love? What's not right?"
|
|
563
|
+
3. **Round 3: Polish** -- Apply feedback. Screenshot again. Ask "Are we there? Or one more round?"
|
|
564
|
+
4. **Round 4+: Iterate** -- Continue until user says "ship it"
|
|
565
|
+
|
|
566
|
+
Rules:
|
|
567
|
+
- Never generate just one option in Round 1
|
|
568
|
+
- Each direction must be genuinely different (not three variations of the same thing)
|
|
569
|
+
- Always screenshot between rounds so the user can SEE the change
|
|
570
|
+
- Max 5 rounds before suggesting we ship (diminishing returns)
|
|
571
|
+
|
|
572
|
+
### /mood-board -- Generate Visual Inspiration
|
|
573
|
+
|
|
574
|
+
When the user isn't sure what they want, generate a mood board:
|
|
575
|
+
1. Ask for 3-5 adjectives or reference points
|
|
576
|
+
2. Search the style-presets.md for matching presets
|
|
577
|
+
3. Generate a single HTML file at `/tmp/picasso-moodboard.html` that shows:
|
|
578
|
+
- Color swatches with OKLCH values
|
|
579
|
+
- Font samples at different sizes
|
|
580
|
+
- Example component (a card, a button, a hero) in that style
|
|
581
|
+
- Spacing rhythm visualization
|
|
582
|
+
4. Open in browser for the user to react to
|
|
583
|
+
|
|
584
|
+
### /design-system-sync -- Auto-sync Code to DESIGN.md
|
|
585
|
+
|
|
586
|
+
Detect drift between DESIGN.md and actual code:
|
|
587
|
+
1. Parse DESIGN.md tokens (colors, fonts, spacing, radius)
|
|
588
|
+
2. Extract actual values used in code (via grep)
|
|
589
|
+
3. Compare and produce a drift report:
|
|
590
|
+
- "DESIGN.md says accent is oklch(0.55 0.25 250) but code uses #3b82f6 in 7 places"
|
|
591
|
+
- "DESIGN.md says body font is 'Outfit' but globals.css declares 'Inter'"
|
|
592
|
+
4. Offer to auto-fix all drift with a single confirmation
|
|
593
|
+
|
|
594
|
+
### /preset <name> -- Apply Community Preset
|
|
595
|
+
|
|
596
|
+
Apply a curated design preset by name:
|
|
597
|
+
1. Load from style-presets.md or a presets directory
|
|
598
|
+
2. Generate `.picasso.md` + `DESIGN.md` from the preset
|
|
599
|
+
3. Apply to the codebase:
|
|
600
|
+
- Update CSS variables / Tailwind config
|
|
601
|
+
- Update font imports
|
|
602
|
+
- Adjust component styling
|
|
603
|
+
4. Available presets: linear, stripe, vercel, notion, raycast, editorial, luxury, brutalist, dark-tech, warm-saas, cyberpunk, cottage, etc.
|
|
420
604
|
|
|
421
605
|
## Advanced Automation Commands
|
|
422
606
|
|