picasso-skill 1.3.1 → 1.3.3

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 CHANGED
@@ -4,15 +4,17 @@
4
4
  </p>
5
5
 
6
6
  <p align="center">
7
- 20 reference domains &bull; 25+ commands &bull; 4,700+ lines of actionable design intelligence<br/>
7
+ 20 reference domains &bull; 35+ commands &bull; 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> &bull;
13
13
  <a href="#what-makes-picasso-different">Why Picasso</a> &bull;
14
+ <a href="#the-design-interview">Interview</a> &bull;
15
+ <a href="#creative-commands">Creative Commands</a> &bull;
14
16
  <a href="#benchmark">Benchmarks</a> &bull;
15
- <a href="#commands">Commands</a> &bull;
17
+ <a href="#commands">All Commands</a> &bull;
16
18
  <a href="#references">References</a> &bull;
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** | **25+** | 0 | 20 | 0 | 0-3 |
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** | **/20 tech + /40 UX** | None | /20 + /40 | None | None |
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,59 @@ 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
+ ### `/godmode` -- The Nuclear Option
449
+
450
+ One command. Full transformation. Interview, audit, score, roast, fix everything, verify, before/after report.
451
+
452
+ ```
453
+ /godmode
454
+
455
+ Phase 1: Understanding your project...
456
+ Phase 2: Scoring... 42/100. Roasting... 🔥🔥🔥🔥
457
+ Phase 3: Found 23 issues. Fixing all = score ~85. Proceed? [y]
458
+ Phase 4: Fixing... typography ✓ color ✓ spacing ✓ a11y ✓ motion ✓ responsive ✓ perf ✓
459
+ Phase 5: Re-scoring... 87/100 (+45 points)
460
+ Phase 6: Before/after report generated.
461
+
462
+ GODMODE Complete: 42 → 87 (+45 points), 47 files modified, 23 issues fixed
463
+ ```
464
+
465
+ ---
466
+
467
+ ### Creative
468
+
469
+ | Command | What It Does |
470
+ |---|---|
471
+ | `/godmode` | The ultimate command: interview + audit + score + roast + fix everything + before/after report |
472
+ | `/picasso` | Run the design interview -- deep discovery conversation, generates `.picasso.md` config |
473
+ | `/roast` | Brutally honest critique with designer-Twitter energy. Every roast includes the fix. Rated 🔥-🔥🔥🔥🔥🔥. |
474
+ | `/score` | Quantified 0-100 design score with category breakdown (typography, color, spacing, a11y, motion, responsive, perf, anti-slop) |
475
+ | `/steal <url>` | Extract design DNA from any live website into a `.picasso.md` config |
476
+ | `/mood <word>` | Generate complete design system from a single evocative word (cyberpunk, cottage, luxury, etc.) |
477
+ | `/evolve` | Multi-round iterative refinement: 3 directions → pick → refine → ship |
478
+ | `/compete <url>` | Head-to-head design comparison against a competitor with per-category scoring |
479
+ | `/before-after` | Visual side-by-side comparison report after changes (HTML export) |
480
+ | `/mood-board` | Generate interactive HTML mood board from adjectives |
481
+ | `/design-system-sync` | Detect and auto-fix drift between DESIGN.md and actual code |
482
+ | `/preset <name>` | Apply a curated preset (linear, stripe, vercel, notion, brutalist, etc.) |
483
+
272
484
  ### Advanced
273
485
 
274
486
  | Command | What It Does |
275
487
  |---|---|
276
- | `/overdrive` | Technically extraordinary effects. Proposes 2-3 directions before building. Toolkit: View Transitions API, scroll-driven animations, WebGL/Three.js, @property gradient animation, Web Audio, spring physics. Targets 60fps. Progressive enhancement required. |
488
+ | `/overdrive` | Technically extraordinary effects. View Transitions, scroll-driven animations, WebGL, @property gradients, Web Audio, spring physics. 60fps. Progressive enhancement. |
489
+
490
+ ### Automation (Agent-Only)
491
+
492
+ | Command | What It Does |
493
+ |---|---|
494
+ | `/a11y` | Full accessibility audit: axe-core + pa11y + Lighthouse with JSON parsing |
495
+ | `/perf` | Lighthouse performance audit with Core Web Vitals pass/fail thresholds |
496
+ | `/visual-diff` | Screenshot desktop + mobile in light/dark mode, analyze visually |
497
+ | `/consistency` | Multi-page consistency check across all routes |
498
+ | `/lint-design` | Find hardcoded colors, spacing violations, font inconsistencies, z-index chaos |
499
+ | `/install-hooks` | Generate git pre-commit hook for automated design checks |
500
+ | `/ci-setup` | Generate GitHub Actions workflow for PR design review with scores |
277
501
 
278
502
  ---
279
503
 
package/agents/picasso.md CHANGED
@@ -417,6 +417,272 @@ 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
+ | `/godmode` | The ultimate command: interview + audit + score + roast + fix everything + before/after report |
431
+
432
+ ## /godmode -- The Ultimate Design Transformation
433
+
434
+ `/godmode` is the nuclear option. It chains every major Picasso capability into a single end-to-end pipeline that takes a project from whatever state it's in to production-grade design quality. No shortcuts, no skipping steps.
435
+
436
+ ### The Pipeline (executed in order)
437
+
438
+ **Phase 1: Understand**
439
+ 1. Run the **design interview** (Section 1-4) if no `.picasso.md` exists. If it exists, load it.
440
+ 2. **Gather context** -- read all frontend files, find design system, detect component library, check `.picasso.md`.
441
+
442
+ **Phase 2: Assess**
443
+ 3. Run `/score` -- establish the **before score** (0-100). Save it.
444
+ 4. Run `/roast` -- get the brutally honest assessment. Show it to the user.
445
+ 5. Run `/audit` -- full 5-phase technical audit with severity-ranked findings.
446
+ 6. Run `/a11y` -- axe-core + pa11y + Lighthouse accessibility.
447
+ 7. Run `/perf` -- Lighthouse performance with Core Web Vitals.
448
+ 8. Run `/lint-design` -- find all design token violations.
449
+ 9. Run `/consistency` -- check all pages match each other.
450
+ 10. Take **before screenshots** (desktop light, desktop dark, mobile light, mobile dark).
451
+
452
+ **Phase 3: Plan**
453
+ 11. Compile all findings into a prioritized fix list, grouped by impact:
454
+ - **Critical** (score impact: +10-20): a11y violations, anti-slop fingerprints, broken responsive
455
+ - **High** (score impact: +5-10): typography issues, color problems, spacing inconsistencies
456
+ - **Medium** (score impact: +2-5): motion improvements, interaction state gaps, performance
457
+ - **Low** (score impact: +1-2): polish items, micro-interactions, copy improvements
458
+ 12. Present the plan to the user: "Here are 23 issues. Fixing all of them will take your score from 42 to ~85. Shall I proceed?"
459
+ 13. **Wait for confirmation.** Never proceed without a "go."
460
+
461
+ **Phase 4: Fix**
462
+ 14. Execute fixes in priority order (Critical -> High -> Medium -> Low):
463
+ - Typography: replace banned fonts, fix type scale, set max-width, correct line-heights
464
+ - Color: replace pure black/gray, tint neutrals, fix contrast ratios, apply 60-30-10
465
+ - Spacing: normalize to 4px scale, fix Gestalt grouping, add breathing room
466
+ - Layout: break uniform card grids, add spatial surprises, vary section rhythm
467
+ - Motion: add staggered entrance, fix transition:all, add reduced-motion support
468
+ - Accessibility: fix axe violations, add focus-visible, add ARIA, fix semantic HTML
469
+ - Interaction: add all 8 states, fix form labels, add loading/empty/error states
470
+ - Performance: add lazy loading, set image dimensions, optimize font loading
471
+ - Copy: replace generic headlines, fix button labels, improve error messages
472
+ 15. After each category, re-run the relevant checks to verify the fix worked.
473
+
474
+ **Phase 5: Verify**
475
+ 16. Run `/score` again -- establish the **after score**.
476
+ 17. Take **after screenshots** (same 4 viewports).
477
+ 18. Run `/before-after` -- generate the visual comparison report.
478
+ 19. Run `/a11y` and `/perf` again to confirm improvements.
479
+
480
+ **Phase 6: Report**
481
+ 20. Present the final report:
482
+
483
+ ```
484
+ ## GODMODE Complete
485
+
486
+ Before: 42/100 → After: 87/100 (+45 points)
487
+
488
+ Typography: 6/15 → 14/15 (+8)
489
+ Color: 5/15 → 13/15 (+8)
490
+ Spacing: 4/10 → 9/10 (+5)
491
+ Accessibility: 8/20 → 19/20 (+11)
492
+ Motion: 3/10 → 8/10 (+5)
493
+ Responsive: 6/10 → 9/10 (+3)
494
+ Performance: 5/10 → 8/10 (+3)
495
+ Anti-Slop: 5/10 → 7/10 (+2)
496
+
497
+ Changes made: 47 files modified
498
+ Issues fixed: 23 (8 critical, 7 high, 5 medium, 3 low)
499
+ Time: ~12 minutes
500
+
501
+ Before/after report: /tmp/picasso-before-after.html
502
+ ```
503
+
504
+ ### Godmode Rules
505
+
506
+ - **Always ask before proceeding.** Show the plan, get confirmation.
507
+ - **Fix in priority order.** Critical first, low last. If the user says "stop" at any point, stop and report what was done so far.
508
+ - **Never break working functionality.** If a fix might break something, flag it and ask.
509
+ - **Re-verify after every category.** Don't stack fixes without checking they work.
510
+ - **The before/after report is mandatory.** The user must be able to see and share the transformation.
511
+ - **If the before score is already 85+**, say so: "This is already in great shape. Here are the 3-4 things that would take it to 95+." Don't force a full pipeline on a polished project.
512
+
513
+ ## Creative Commands
514
+
515
+ ### /roast -- Brutally Honest Design Critique
516
+
517
+ 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.
518
+
519
+ 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."
520
+
521
+ Rules:
522
+ - Never be mean about the developer, only the design
523
+ - Every criticism must be specific (file:line or element)
524
+ - Every roast point must include the fix
525
+ - End with a genuine compliment about what IS working
526
+ - Output a "Roast Score" from 🔥 (barely warm) to 🔥🔥🔥🔥🔥 (absolute inferno)
527
+
528
+ ### /before-after -- Visual Diff Report
529
+
530
+ After any /polish or /redesign, auto-generate a comparison:
531
+ 1. Take "before" screenshots (desktop + mobile) BEFORE making changes
532
+ 2. Make the changes
533
+ 3. Take "after" screenshots
534
+ 4. Generate an HTML report at `/tmp/picasso-before-after.html` showing side-by-side comparisons with annotations
535
+ 5. List every change made with file:line references
536
+
537
+ ```bash
538
+ # Before screenshots
539
+ npx playwright screenshot http://localhost:3000 /tmp/picasso-before-desktop.png --viewport-size=1440,900
540
+ npx playwright screenshot http://localhost:3000 /tmp/picasso-before-mobile.png --viewport-size=375,812
541
+
542
+ # ... make changes ...
543
+
544
+ # After screenshots
545
+ npx playwright screenshot http://localhost:3000 /tmp/picasso-after-desktop.png --viewport-size=1440,900
546
+ npx playwright screenshot http://localhost:3000 /tmp/picasso-after-mobile.png --viewport-size=375,812
547
+ ```
548
+
549
+ ### /steal <url> -- Design DNA Extraction
550
+
551
+ Point at any live website and extract its design DNA:
552
+ 1. Screenshot the URL at multiple viewports
553
+ 2. Analyze the screenshot visually for: fonts, color palette, spacing rhythm, border-radius, animation style, layout structure
554
+ 3. Use bash to fetch the page and extract CSS:
555
+ ```bash
556
+ curl -s "<url>" | grep -oP 'font-family:[^;]+' | sort -u | head -10
557
+ curl -s "<url>" | grep -oP '#[0-9a-fA-F]{3,8}' | sort | uniq -c | sort -rn | head -15
558
+ curl -s "<url>" | grep -oP 'border-radius:[^;]+' | sort -u
559
+ ```
560
+ 4. Generate a `.picasso.md` config that matches the extracted aesthetic
561
+ 5. Optionally generate a DESIGN.md based on the extraction
562
+
563
+ ### /mood <word> -- Instant Aesthetic from a Single Word
564
+
565
+ Generate a complete design system from an evocative word or phrase:
566
+ 1. Parse the mood word(s): "cyberpunk", "cottage", "brutalist-banking", "warm-saas", "dark-editorial"
567
+ 2. Map to design tokens:
568
+ - Color palette (5-7 OKLCH values)
569
+ - Font pairing (display + body + mono)
570
+ - Border radius scale
571
+ - Shadow style
572
+ - Motion intensity
573
+ - Spacing density
574
+ 3. Generate a complete `.picasso.md` config
575
+ 4. Generate a `DESIGN.md` with the full token set
576
+ 5. Show a preview summary: "Mood: cyberpunk -> Neon green on near-black, JetBrains Mono headers, sharp 2px radius, high motion, dense layout"
577
+
578
+ Include a mood mapping table:
579
+ | Mood | Palette Direction | Typography | Radius | Motion |
580
+ |---|---|---|---|---|
581
+ | cyberpunk | neon on dark, high contrast | monospace display + geometric body | sharp (0-2px) | high, glitch effects |
582
+ | cottage | warm earth tones, muted | serif display + rounded body | soft (12-16px) | gentle, slow fades |
583
+ | brutalist | black/white + one accent | mono or slab | none (0px) | minimal, abrupt |
584
+ | luxury | deep neutrals + gold/cream | thin serif display + elegant sans | subtle (4-8px) | smooth, slow |
585
+ | editorial | high contrast, limited palette | strong serif + clean sans | minimal (2-4px) | moderate, text-focused |
586
+ | playful | bright, saturated, varied | rounded sans + handwritten accent | large (16-24px) | bouncy, energetic |
587
+ | corporate | conservative blue/gray | clean sans + readable body | standard (8px) | subtle, professional |
588
+ | dark-tech | dark surfaces + accent glow | geometric sans + monospace | sharp (2-4px) | fast, precise |
589
+ | warm-saas | warm neutrals + friendly accent | humanist sans | medium (8-12px) | moderate, smooth |
590
+ | minimal | near-black + white + one accent | one font family, varied weights | subtle (4px) | very subtle |
591
+
592
+ ### /score -- Quantified Design Quality Score
593
+
594
+ Run a comprehensive scoring algorithm:
595
+
596
+ 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)
597
+ 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)
598
+ 3. **Spacing (0-10 pts)**: consistent scale (5), Gestalt grouping (5)
599
+ 4. **Accessibility (0-20 pts)**: axe-core violations (10), focus-visible (3), semantic HTML (3), alt text (2), reduced-motion (2)
600
+ 5. **Motion (0-10 pts)**: no transition:all (3), stagger pattern (3), reduced-motion support (2), no bounce easing (2)
601
+ 6. **Responsive (0-10 pts)**: works at 375px (5), touch targets (3), no horizontal scroll (2)
602
+ 7. **Performance (0-10 pts)**: Lighthouse perf score mapped (0-100 -> 0-10)
603
+ 8. **Anti-Slop (0-10 pts)**: deductions for each AI-slop fingerprint detected (-2 each, minimum 0)
604
+
605
+ Total: 0-100. Output as:
606
+ ```
607
+ ## Picasso Design Score: 73/100
608
+
609
+ Typography: ████████████░░░ 12/15
610
+ Color: ████████████░░░ 11/15
611
+ Spacing: ████████░░ 8/10
612
+ Accessibility: ████████████████ 16/20
613
+ Motion: ██████░░░░ 6/10
614
+ Responsive: ████████░░ 8/10
615
+ Performance: ██████░░░░ 6/10
616
+ Anti-Slop: ██████░░░░ 6/10
617
+
618
+ Top issues to fix for +15 points:
619
+ 1. Add prefers-reduced-motion support (+4)
620
+ 2. Replace #000 with tinted near-black (+3)
621
+ 3. ...
622
+ ```
623
+
624
+ ### /compete <url> -- Competitive Design Analysis
625
+
626
+ Compare the current project against a competitor:
627
+ 1. Screenshot both sites (desktop + mobile)
628
+ 2. Extract design DNA from both
629
+ 3. Compare head-to-head across categories:
630
+ - Typography quality
631
+ - Color cohesion
632
+ - Spacing consistency
633
+ - Motion sophistication
634
+ - Mobile experience
635
+ - Performance (Lighthouse)
636
+ - Accessibility (axe)
637
+ 4. Output a comparison table with winner per category
638
+ 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."
639
+
640
+ ### /evolve -- Iterative Design Refinement Loop
641
+
642
+ Multi-round design refinement:
643
+ 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).
644
+ 2. **Round 2: Refinement** -- Implement the chosen direction. Screenshot it. Ask "What do you love? What's not right?"
645
+ 3. **Round 3: Polish** -- Apply feedback. Screenshot again. Ask "Are we there? Or one more round?"
646
+ 4. **Round 4+: Iterate** -- Continue until user says "ship it"
647
+
648
+ Rules:
649
+ - Never generate just one option in Round 1
650
+ - Each direction must be genuinely different (not three variations of the same thing)
651
+ - Always screenshot between rounds so the user can SEE the change
652
+ - Max 5 rounds before suggesting we ship (diminishing returns)
653
+
654
+ ### /mood-board -- Generate Visual Inspiration
655
+
656
+ When the user isn't sure what they want, generate a mood board:
657
+ 1. Ask for 3-5 adjectives or reference points
658
+ 2. Search the style-presets.md for matching presets
659
+ 3. Generate a single HTML file at `/tmp/picasso-moodboard.html` that shows:
660
+ - Color swatches with OKLCH values
661
+ - Font samples at different sizes
662
+ - Example component (a card, a button, a hero) in that style
663
+ - Spacing rhythm visualization
664
+ 4. Open in browser for the user to react to
665
+
666
+ ### /design-system-sync -- Auto-sync Code to DESIGN.md
667
+
668
+ Detect drift between DESIGN.md and actual code:
669
+ 1. Parse DESIGN.md tokens (colors, fonts, spacing, radius)
670
+ 2. Extract actual values used in code (via grep)
671
+ 3. Compare and produce a drift report:
672
+ - "DESIGN.md says accent is oklch(0.55 0.25 250) but code uses #3b82f6 in 7 places"
673
+ - "DESIGN.md says body font is 'Outfit' but globals.css declares 'Inter'"
674
+ 4. Offer to auto-fix all drift with a single confirmation
675
+
676
+ ### /preset <name> -- Apply Community Preset
677
+
678
+ Apply a curated design preset by name:
679
+ 1. Load from style-presets.md or a presets directory
680
+ 2. Generate `.picasso.md` + `DESIGN.md` from the preset
681
+ 3. Apply to the codebase:
682
+ - Update CSS variables / Tailwind config
683
+ - Update font imports
684
+ - Adjust component styling
685
+ 4. Available presets: linear, stripe, vercel, notion, raycast, editorial, luxury, brutalist, dark-tech, warm-saas, cyberpunk, cottage, etc.
420
686
 
421
687
  ## Advanced Automation Commands
422
688
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picasso-skill",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "The ultimate AI design skill for producing distinctive, production-grade frontend interfaces",
5
5
  "bin": {
6
6
  "picasso-skill": "./bin/install.mjs"