picasso-skill 1.3.0 → 1.3.1
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 +299 -92
- package/agents/picasso.md +95 -1
- package/package.json +1 -1
- package/skills/picasso/SKILL.md +22 -1
package/README.md
CHANGED
|
@@ -1,10 +1,143 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<strong>PICASSO</strong><br/>
|
|
3
|
+
The most comprehensive AI design skill ever built.
|
|
4
|
+
</p>
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
<p align="center">
|
|
7
|
+
20 reference domains • 25+ commands • 4,700+ lines of actionable design intelligence<br/>
|
|
8
|
+
Every interface looks like a senior design engineer spent days on it.
|
|
9
|
+
</p>
|
|
4
10
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="#install">Install</a> •
|
|
13
|
+
<a href="#what-makes-picasso-different">Why Picasso</a> •
|
|
14
|
+
<a href="#benchmark">Benchmarks</a> •
|
|
15
|
+
<a href="#commands">Commands</a> •
|
|
16
|
+
<a href="#references">References</a> •
|
|
17
|
+
<a href="#sources">Sources</a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## The Problem
|
|
23
|
+
|
|
24
|
+
Every AI coding tool produces the same output: Inter font, purple gradients on white, centered layouts, uniform card grids, glassmorphism everywhere. It's instantly recognizable as "AI made this." Users can feel it. Clients can see it. It looks generic because it is generic.
|
|
25
|
+
|
|
26
|
+
Existing design skills are shallow. They tell you to "use good typography" without specifying what that means. They say "be accessible" without giving you the ARIA patterns. They cover 3-4 design domains and call it done.
|
|
27
|
+
|
|
28
|
+
**Picasso is different.** It is the largest, most detailed, and most opinionated design skill available for any AI coding agent. It doesn't just tell you what to do -- it tells you exactly how, with specific values, code examples, and anti-patterns for every decision.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## What Makes Picasso Different
|
|
33
|
+
|
|
34
|
+
### Depth That No Other Skill Matches
|
|
35
|
+
|
|
36
|
+
Picasso covers **20 specialized reference domains**, each with concrete rules, specific values, and ready-to-use code. This isn't a collection of vague principles -- it's an engineering specification for beautiful interfaces.
|
|
37
|
+
|
|
38
|
+
| Domain | What You Get |
|
|
39
|
+
|---|---|
|
|
40
|
+
| **Typography** | Modular type scales, 15+ font alternatives to Inter/Roboto, OpenType feature activation, vertical rhythm system, `max-width: 65ch`, font loading strategies |
|
|
41
|
+
| **Color & Contrast** | OKLCH-based palette construction, tinted neutrals (never pure gray), 60-30-10 rule, dark mode inversion rules, "alpha is a design smell" |
|
|
42
|
+
| **Spatial Design** | 4px base spacing scale, Gestalt proximity ratios (2:1 minimum), Squint Test, asymmetric grid patterns, "cards are not required" |
|
|
43
|
+
| **Motion & Animation** | Duration rule (100/200/300/500ms), only animate transform+opacity, exit = 75% of entrance, grid-template-rows for height, stagger caps |
|
|
44
|
+
| **Interaction Design** | All 8 interactive states (default/hover/focus/active/disabled/loading/error/success), dropdown positioning (#1 bug fix), Popover API, undo > confirmation |
|
|
45
|
+
| **Responsive Design** | Input method detection (`@media pointer/hover`), safe areas, container queries, content-driven breakpoints, real device testing |
|
|
46
|
+
| **Sensory Design** | soundcn (700+ CC0 sounds), web-haptics (4 presets + custom), multi-sensory integration patterns |
|
|
47
|
+
| **React/Next.js** | Server Components by default, barrel import avoidance, RSC serialization minimization, React.cache() deduplication |
|
|
48
|
+
| **Anti-Patterns** | 50+ explicit "never do this" rules across typography, color, layout, motion, interaction, code, and content |
|
|
49
|
+
| **Design Systems** | VoltAgent/Google Stitch 9-section DESIGN.md format, 4 pre-built themes, two-layer token architecture |
|
|
50
|
+
| **Generative Art** | Philosophy-first creative process, seeded randomness, p5.js patterns, parameter-driven exploration |
|
|
51
|
+
| **Component Patterns** | 40+ standard component names from 90+ real design systems, state matrix, compound component patterns, sizing conventions |
|
|
52
|
+
| **UX Psychology** | Gestalt principles with CSS examples, Fitts's/Hick's/Miller's/Jakob's Law with specific numbers, F/Z-pattern scanning, Peak-End Rule |
|
|
53
|
+
| **Data Visualization** | Chart selection decision matrix (13 types), dashboard layout patterns, Okabe-Ito colorblind-safe palettes, Tufte data-ink ratio, React library comparison |
|
|
54
|
+
| **Modern CSS** | CSS nesting, :has(), @layer, anchor positioning, @scope, @property, color-mix(), subgrid, Popover API, scroll-driven animations, View Transitions |
|
|
55
|
+
| **Web Performance** | Core Web Vitals targets (LCP < 2.5s, CLS < 0.1, INP < 200ms), image format matrix (AVIF/WebP), font-display strategies, critical CSS, Tailwind v4 |
|
|
56
|
+
| **Conversion Design** | Hero section variations, CTA design with conversion data, pricing page structure, friction reduction metrics, onboarding frameworks, notification hierarchy |
|
|
57
|
+
| **Accessibility** | 12 WAI-ARIA widget patterns with exact roles/states/keyboard, WCAG 2.2 new criteria, focus management for SPAs, accessible data tables, drag-and-drop alternatives |
|
|
58
|
+
| **UX Writing** | Error message formula (what + why + fix), button label rules (verb + object), translation expansion percentages, terminology consistency |
|
|
59
|
+
| **Style Presets** | 22 curated visual presets with hex values, font pairings, border-radius, and signature UI elements, mapped to moods |
|
|
60
|
+
| **Performance Optimization** | Vercel's 45 React/Next.js rules across 7 priority tiers with BAD/GOOD code examples |
|
|
61
|
+
|
|
62
|
+
### The AI-Slop Firewall
|
|
63
|
+
|
|
64
|
+
Picasso's anti-pattern system is the most aggressive in any design skill. It doesn't just suggest good practices -- it explicitly bans the fingerprints of AI-generated interfaces:
|
|
65
|
+
|
|
66
|
+
**Banned typography:** Inter, Roboto, Arial, Open Sans, Space Grotesk, monospace-as-lazy-technical-vibe, large icons with rounded corners above every heading.
|
|
67
|
+
|
|
68
|
+
**Banned color:** Pure black (#000), pure white (#fff), pure gray, gray text on colored backgrounds, cyan-on-dark, purple-to-blue gradients, neon accents on dark, gradient text for "impact."
|
|
69
|
+
|
|
70
|
+
**Banned layout:** Cards nested in cards, identical card grids (icon + heading + text repeated), hero metric layout template, centered everything, same spacing everywhere, glassmorphism everywhere.
|
|
71
|
+
|
|
72
|
+
**Banned motion:** bounce/elastic easing, `transition: all`, animating width/height/padding/margin, no reduced-motion support.
|
|
73
|
+
|
|
74
|
+
**Banned interaction:** Placeholder-only labels, `outline: none` without replacement, hover-only interactions, every button styled as primary.
|
|
75
|
+
|
|
76
|
+
### Integrated Tool Ecosystem
|
|
77
|
+
|
|
78
|
+
Picasso doesn't just describe tools -- it specifies exactly how to use them with installation commands, import paths, and API examples:
|
|
79
|
+
|
|
80
|
+
| Tool | What It Does | Integration |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| **torph** | Text morphing animation | `import { TextMorph } from 'torph/react'` with spring easing |
|
|
83
|
+
| **soundcn** | 700+ UI sounds | `npx shadcn add @soundcn/click-soft`, base64 inline, zero deps |
|
|
84
|
+
| **web-haptics** | Mobile haptic feedback | 4 presets (success/nudge/error/buzz), desktop debug mode |
|
|
85
|
+
| **facehash** | Deterministic avatar faces | ~3KB, SVG, 3D depth, Avatar/AvatarFallback pattern |
|
|
86
|
+
| **better-icons** | 200K+ icons from 150+ sets | MCP server for AI agents, CLI search, project sync |
|
|
87
|
+
| **Geist Pixel** | 5 pixel font variants | Square/Grid/Circle/Triangle/Line, Next.js native |
|
|
88
|
+
| **Lucide React** | Default icon library | Direct imports (avoid barrel files) |
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Benchmark
|
|
93
|
+
|
|
94
|
+
### Picasso vs. Every Other Design Skill
|
|
95
|
+
|
|
96
|
+
We compared Picasso against every publicly available AI design skill as of April 2026.
|
|
97
|
+
|
|
98
|
+
| Metric | Picasso | Anthropic frontend-design | Impeccable | Taste Skill | Generic skills |
|
|
99
|
+
|---|---|---|---|---|---|
|
|
100
|
+
| **Reference domains** | **20** | 1 | 7 | 1 | 1-3 |
|
|
101
|
+
| **Total lines of guidance** | **4,700+** | ~120 | ~2,500 | ~200 | 50-300 |
|
|
102
|
+
| **Anti-pattern rules** | **50+** | ~10 | ~30 | ~5 | 0-5 |
|
|
103
|
+
| **Steering commands** | **25+** | 0 | 20 | 0 | 0-3 |
|
|
104
|
+
| **ARIA patterns documented** | **12 widgets** | 0 | 0 | 0 | 0 |
|
|
105
|
+
| **React performance rules** | **45 (Vercel)** | 0 | 0 | 0 | 0 |
|
|
106
|
+
| **Chart/data viz guidance** | **Full matrix** | None | None | None | None |
|
|
107
|
+
| **WCAG 2.2 coverage** | **Full** | None | Partial | None | None |
|
|
108
|
+
| **Conversion/landing page** | **CTA data + pricing** | None | None | None | None |
|
|
109
|
+
| **Modern CSS (2024-2025)** | **12 features** | None | Partial | None | None |
|
|
110
|
+
| **Core Web Vitals** | **LCP/CLS/INP** | None | None | None | None |
|
|
111
|
+
| **Pre-built presets** | **22 + 4 OKLCH** | 0 | 0 | 0 | 0-3 |
|
|
112
|
+
| **UX psychology** | **6 laws + patterns** | None | None | None | None |
|
|
113
|
+
| **Design system generation** | **9-section (Stitch)** | None | None | None | None |
|
|
114
|
+
| **Sound/haptics** | **soundcn + web-haptics** | None | None | None | None |
|
|
115
|
+
| **Scoring system** | **/20 tech + /40 UX** | None | /20 + /40 | None | None |
|
|
116
|
+
| **Tool integrations** | **7 libraries** | 0 | 0 | 0 | 0 |
|
|
117
|
+
| **Sources consolidated** | **15+ repos** | 1 | 1 | 1 | 0-1 |
|
|
118
|
+
|
|
119
|
+
### What This Means in Practice
|
|
120
|
+
|
|
121
|
+
**Without Picasso**, your AI will:
|
|
122
|
+
- Default to Inter or Roboto every time
|
|
123
|
+
- Use purple gradients because that's what the training data looks like
|
|
124
|
+
- Center everything because it's the safe choice
|
|
125
|
+
- Ignore accessibility until someone files a complaint
|
|
126
|
+
- Use `transition: all 0.3s ease` and call it animated
|
|
127
|
+
- Produce interfaces that look like every other AI-generated UI
|
|
128
|
+
|
|
129
|
+
**With Picasso**, your AI will:
|
|
130
|
+
- Choose distinctive typography (Instrument Sans, Fraunces, Outfit) with proper OpenType features
|
|
131
|
+
- Build OKLCH palettes with tinted neutrals and the 60-30-10 rule
|
|
132
|
+
- Create asymmetric layouts with intentional spatial hierarchy
|
|
133
|
+
- Include all 8 interactive states on every element
|
|
134
|
+
- Hit WCAG 2.2 AA compliance by default
|
|
135
|
+
- Optimize for Core Web Vitals (LCP < 2.5s, CLS < 0.1, INP < 200ms)
|
|
136
|
+
- Add text morphing, UI sounds, and haptic feedback where appropriate
|
|
137
|
+
- Generate DESIGN.md files that any AI agent can read
|
|
138
|
+
- Never produce the same design twice
|
|
139
|
+
|
|
140
|
+
---
|
|
8
141
|
|
|
9
142
|
## Install
|
|
10
143
|
|
|
@@ -30,14 +163,22 @@ npx picasso-skill --codex
|
|
|
30
163
|
npx picasso-skill --path ./my-skills
|
|
31
164
|
```
|
|
32
165
|
|
|
33
|
-
### Option 2: One-Liner
|
|
166
|
+
### Option 2: One-Liner
|
|
34
167
|
|
|
35
168
|
```bash
|
|
36
169
|
# Project-specific (skill + agent)
|
|
37
|
-
git clone https://github.com/viperrcrypto/picasso.git /tmp/picasso &&
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
170
|
+
git clone https://github.com/viperrcrypto/picasso.git /tmp/picasso && \
|
|
171
|
+
mkdir -p .claude/skills .claude/agents && \
|
|
172
|
+
cp -r /tmp/picasso/skills/picasso .claude/skills/picasso && \
|
|
173
|
+
cp /tmp/picasso/agents/picasso.md .claude/agents/picasso.md && \
|
|
174
|
+
rm -rf /tmp/picasso
|
|
175
|
+
|
|
176
|
+
# Global (all projects)
|
|
177
|
+
git clone https://github.com/viperrcrypto/picasso.git /tmp/picasso && \
|
|
178
|
+
mkdir -p ~/.claude/skills ~/.claude/agents && \
|
|
179
|
+
cp -r /tmp/picasso/skills/picasso ~/.claude/skills/picasso && \
|
|
180
|
+
cp /tmp/picasso/agents/picasso.md ~/.claude/agents/picasso.md && \
|
|
181
|
+
rm -rf /tmp/picasso
|
|
41
182
|
```
|
|
42
183
|
|
|
43
184
|
### Option 3: Manual
|
|
@@ -50,116 +191,182 @@ cp picasso/agents/picasso.md ~/.claude/agents/picasso.md
|
|
|
50
191
|
|
|
51
192
|
### Option 4: Claude.ai (Consumer)
|
|
52
193
|
|
|
53
|
-
Upload `
|
|
194
|
+
Upload `SKILL.md` as a Custom Skill in Claude.ai settings. Upload reference files alongside it for full coverage.
|
|
195
|
+
|
|
196
|
+
---
|
|
54
197
|
|
|
55
|
-
## Skill + Agent
|
|
198
|
+
## Skill + Agent
|
|
199
|
+
|
|
200
|
+
Picasso ships as both a **skill** (knowledge base) and an **agent** (autonomous design engineer).
|
|
56
201
|
|
|
57
202
|
| | Skill | Agent |
|
|
58
203
|
|---|---|---|
|
|
59
|
-
| **What it is** |
|
|
204
|
+
| **What it is** | 20 reference files of design intelligence | Autonomous design auditor |
|
|
60
205
|
| **How it works** | Loaded into context when designing | Runs as a sub-process with its own tools |
|
|
61
|
-
| **When it runs** | When you ask for design help | Proactively after
|
|
62
|
-
| **Can audit code** | Only when
|
|
206
|
+
| **When it runs** | When you ask for design help | Proactively after frontend code changes |
|
|
207
|
+
| **Can audit code** | Only when asked | Automatically |
|
|
63
208
|
| **Can run axe-core** | No | Yes |
|
|
64
209
|
| **Can screenshot pages** | No | Yes (via Playwright) |
|
|
65
210
|
| **Can auto-fix issues** | No | Yes |
|
|
66
211
|
| **Can enforce design system** | No | Yes (greps for token violations) |
|
|
67
212
|
|
|
68
|
-
|
|
213
|
+
---
|
|
69
214
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
references/
|
|
74
|
-
anti-patterns.md # AI slop fingerprint + what NOT to do
|
|
75
|
-
typography.md # Font pairing, type scales, variable fonts, 12 curated pairings
|
|
76
|
-
color-and-contrast.md # OKLCH, 10 curated palettes, P3 wide gamut, dark mode
|
|
77
|
-
spatial-design.md # Spacing scales, grids, visual hierarchy
|
|
78
|
-
motion-and-animation.md # Easing, staggering, text morphing, reduced motion
|
|
79
|
-
interaction-design.md # Forms, focus, loading, empty states, errors
|
|
80
|
-
responsive-design.md # Mobile-first, dvh/svh, container queries, print
|
|
81
|
-
sensory-design.md # UI sounds, haptic feedback, multi-sensory
|
|
82
|
-
react-patterns.md # React 19, Tailwind v4, Server Actions, dark mode
|
|
83
|
-
accessibility-wcag.md # Full ARIA patterns, WCAG 2.2, SPA focus management
|
|
84
|
-
modern-css-performance.md # :has(), scroll animations, view transitions, @layer
|
|
85
|
-
performance-optimization.md # Core Web Vitals, 45 React/Next.js perf patterns
|
|
86
|
-
ux-writing.md # Button labels, error templates, microcopy, banned words
|
|
87
|
-
ux-psychology.md # Gestalt, cognitive laws, scanning patterns
|
|
88
|
-
conversion-design.md # Landing pages, CTAs, pricing, onboarding
|
|
89
|
-
data-visualization.md # Charts, dashboards, data palettes, Tufte principles
|
|
90
|
-
style-presets.md # 22 curated visual presets with colors + fonts
|
|
91
|
-
design-system.md # DESIGN.md generation, theming, tokens (OKLCH)
|
|
92
|
-
generative-art.md # p5.js, SVG, Canvas 2D, noise, seeded randomness
|
|
93
|
-
component-patterns.md # Standard naming, taxonomy, state matrix
|
|
94
|
-
|
|
95
|
-
agents/
|
|
96
|
-
picasso.md # Autonomous design auditor agent
|
|
97
|
-
|
|
98
|
-
templates/
|
|
99
|
-
picasso-config.md # .picasso.md project config template
|
|
100
|
-
```
|
|
215
|
+
## Commands
|
|
216
|
+
|
|
217
|
+
### Quality Assessment
|
|
101
218
|
|
|
102
|
-
|
|
219
|
+
| Command | What It Does |
|
|
220
|
+
|---|---|
|
|
221
|
+
| `/audit` | Technical quality check across 5 dimensions (accessibility, performance, theming, responsive, anti-patterns). Each scored 0-4, total /20. Issues tagged P0-P3. |
|
|
222
|
+
| `/critique` | UX design review evaluating visual hierarchy, cognitive load, emotional journey, discoverability, composition. Scores Nielsen's 10 heuristics 0-4, total /40. |
|
|
103
223
|
|
|
104
|
-
|
|
224
|
+
### Refinement
|
|
105
225
|
|
|
106
|
-
| Command | What
|
|
226
|
+
| Command | What It Does |
|
|
107
227
|
|---|---|
|
|
108
|
-
| `/
|
|
109
|
-
| `/
|
|
110
|
-
| `/
|
|
111
|
-
| `/
|
|
112
|
-
| `/
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
|
117
|
-
|
|
118
|
-
| `/
|
|
119
|
-
| `/
|
|
120
|
-
| `/
|
|
121
|
-
| `/
|
|
122
|
-
| `/
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
228
|
+
| `/polish` | Final pass before shipping: visual alignment, typography refinement, color/contrast, all 8 interaction states, micro-interactions, content/copy, edge cases |
|
|
229
|
+
| `/simplify` | Strip to essence: reduce scope, flatten structure, remove decorations, progressive disclosure, shorter copy, fewer variants |
|
|
230
|
+
| `/normalize` | Realign to design system standards: fix hardcoded colors, inconsistent tokens, broken dark mode, spacing violations |
|
|
231
|
+
| `/typeset` | Fix typography: font choices, hierarchy clarity, sizing scale, readability (line length, line-height, contrast), OpenType features |
|
|
232
|
+
| `/arrange` | Fix layout: establish spacing system, create visual rhythm, choose right layout tool (Flexbox vs Grid), break card grid monotony |
|
|
233
|
+
|
|
234
|
+
### Amplification
|
|
235
|
+
|
|
236
|
+
| Command | What It Does |
|
|
237
|
+
|---|---|
|
|
238
|
+
| `/animate` | Add purposeful motion: page load choreography, micro-interactions, state transitions, scroll effects, loading delight |
|
|
239
|
+
| `/bolder` | Amplify timid designs: extreme type scale (3x-5x), vibrant color, spatial drama, dramatic shadows, custom elements |
|
|
240
|
+
| `/quieter` | Tone down aggressive designs: reduce saturation to 70-85%, soften weights, increase whitespace, shorter animation distances |
|
|
241
|
+
| `/colorize` | Introduce strategic color: semantic states, accent application, tinted backgrounds, data visualization, decorative elements |
|
|
242
|
+
| `/delight` | Add moments of joy: button feedback, loading delight, success celebrations, personality in copy, sound cues, easter eggs |
|
|
243
|
+
|
|
244
|
+
### Aesthetic Presets
|
|
245
|
+
|
|
246
|
+
| Command | What It Does |
|
|
247
|
+
|---|---|
|
|
248
|
+
| `/soft` | Premium soft aesthetic: generous whitespace, layered depth, smooth spring animations, muted palette |
|
|
249
|
+
| `/minimalist` | Editorial minimalism: monochrome, crisp borders, surgical precision, inspired by Linear/Notion |
|
|
250
|
+
| `/brutalist` | Raw mechanical aesthetic: Swiss typography, CRT terminal feel, sharp edges, monospace accents |
|
|
251
|
+
|
|
252
|
+
### System
|
|
253
|
+
|
|
254
|
+
| Command | What It Does |
|
|
255
|
+
|---|---|
|
|
256
|
+
| `/theme` | Generate or apply a complete color/font theme with CSS variables |
|
|
257
|
+
| `/stitch` | Generate a Google Stitch-compatible DESIGN.md (9-section format from VoltAgent) |
|
|
258
|
+
| `/sound` | Add UI sound effects using soundcn (700+ CC0-licensed sounds) |
|
|
259
|
+
| `/haptics` | Add mobile haptic feedback using web-haptics (4 presets + custom patterns) |
|
|
260
|
+
| `/redesign` | Full audit + identify problems + fix systematically + re-audit cycle |
|
|
261
|
+
|
|
262
|
+
### Production
|
|
263
|
+
|
|
264
|
+
| Command | What It Does |
|
|
265
|
+
|---|---|
|
|
266
|
+
| `/adapt` | Adapt for devices: mobile (thumb-zone), tablet (two-column), desktop (multi-column), print, email (600px, table-based) |
|
|
267
|
+
| `/clarify` | Improve UX copy: error messages, form labels, button text, help text, empty states, confirmation dialogs |
|
|
268
|
+
| `/optimize` | Performance: image optimization, JS bundle reduction, CSS critical path, font loading, animation 60fps, network efficiency |
|
|
269
|
+
| `/harden` | Error handling and edge cases: text overflow, i18n (RTL, expansion), network errors, empty/loading/error states, browser compat |
|
|
270
|
+
| `/onboard` | Design onboarding: signup friction reduction, first-run experience, progressive feature discovery, setup checklists |
|
|
271
|
+
|
|
272
|
+
### Advanced
|
|
273
|
+
|
|
274
|
+
| Command | What It Does |
|
|
275
|
+
|---|---|
|
|
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. |
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## References
|
|
281
|
+
|
|
282
|
+
```
|
|
283
|
+
references/
|
|
284
|
+
typography.md # Type systems, font pairing, scales, OpenType, vertical rhythm
|
|
285
|
+
color-and-contrast.md # OKLCH, tinted neutrals, dark mode, 60-30-10, dangerous combos
|
|
286
|
+
spatial-design.md # 4px spacing scale, grids, hierarchy, Squint Test, optical adjustments
|
|
287
|
+
motion-and-animation.md # Duration rule, easing curves, staggering, text morphing, reduced motion
|
|
288
|
+
interaction-design.md # 8 states, forms, focus, loading, Popover API, dropdown positioning
|
|
289
|
+
responsive-design.md # Input method detection, safe areas, container queries, real device testing
|
|
290
|
+
sensory-design.md # soundcn, web-haptics, multi-sensory integration patterns
|
|
291
|
+
react-patterns.md # Server Components, composition, state management, data fetching, styling
|
|
292
|
+
anti-patterns.md # 50+ banned patterns across all domains (the most important file)
|
|
293
|
+
design-system.md # 9-section DESIGN.md format, theme generation, token structure, 4 themes
|
|
294
|
+
generative-art.md # Philosophy-first process, p5.js, seeded randomness, parameter controls
|
|
295
|
+
component-patterns.md # 40+ components, state matrix, compound patterns, sizing conventions
|
|
296
|
+
ux-psychology.md # Gestalt, Fitts's/Hick's/Miller's/Jakob's Law, F/Z-pattern, Peak-End
|
|
297
|
+
data-visualization.md # Chart selection matrix, dashboard layouts, data palettes, Tufte, sparklines
|
|
298
|
+
modern-css-performance.md # Nesting, :has(), @layer, anchor positioning, View Transitions, Tailwind v4
|
|
299
|
+
conversion-design.md # Landing pages, CTAs, pricing, onboarding, navigation/IA, notifications
|
|
300
|
+
accessibility-wcag.md # 12 ARIA patterns, WCAG 2.2, SPA focus, accessible tables, drag-and-drop
|
|
301
|
+
ux-writing.md # Error formula, button labels, empty states, i18n, terminology
|
|
302
|
+
style-presets.md # 22 visual presets with colors, fonts, signature elements, mood mapping
|
|
303
|
+
performance-optimization.md # 45 Vercel rules across 7 priority tiers with code examples
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
---
|
|
140
307
|
|
|
141
308
|
## Configurable Settings
|
|
142
309
|
|
|
143
|
-
Three dials (1-10) control the design
|
|
310
|
+
Three dials (1-10) control the design character:
|
|
144
311
|
|
|
145
312
|
| Setting | Low (1-3) | Mid (4-6) | High (7-10) |
|
|
146
313
|
|---|---|---|---|
|
|
147
|
-
| **DESIGN_VARIANCE** | Clean, centered, conventional | Considered asymmetry | Avant-garde, overlapping, unconventional |
|
|
148
|
-
| **MOTION_INTENSITY** | Hover states and fades only | Staggered reveals, scroll-triggered | Magnetic cursors, parallax, complex choreography |
|
|
149
|
-
| **VISUAL_DENSITY** | Spacious, luxury | Balanced whitespace | Dense dashboards, data-heavy |
|
|
314
|
+
| **DESIGN_VARIANCE** | Clean, centered, conventional | Considered asymmetry, intentional breaks | Avant-garde, overlapping, unconventional grids |
|
|
315
|
+
| **MOTION_INTENSITY** | Hover states and fades only | Staggered reveals, scroll-triggered, text morphing | Magnetic cursors, parallax, complex choreography |
|
|
316
|
+
| **VISUAL_DENSITY** | Spacious, luxury, breathing room | Balanced, structured whitespace | Dense dashboards, data-heavy, compact |
|
|
317
|
+
|
|
318
|
+
**Shortcuts:**
|
|
319
|
+
- "Make it premium" / "luxury" -> VISUAL_DENSITY 2-3, MOTION_INTENSITY 4-5
|
|
320
|
+
- "Dashboard" / "admin panel" -> VISUAL_DENSITY 7-8
|
|
321
|
+
- "Make it pop" / "wow factor" -> DESIGN_VARIANCE 7-8, MOTION_INTENSITY 7-8
|
|
322
|
+
|
|
323
|
+
---
|
|
150
324
|
|
|
151
325
|
## Sources
|
|
152
326
|
|
|
153
|
-
|
|
327
|
+
Picasso consolidates and builds upon 15+ open-source projects and research sources:
|
|
328
|
+
|
|
329
|
+
| Source | What Was Extracted |
|
|
330
|
+
|---|---|
|
|
331
|
+
| [Anthropic Skills](https://github.com/anthropics/skills) (5 skills) | frontend-design rules, canvas-design philosophy process, algorithmic-art p5.js pipeline, theme-factory 10 themes, web-artifacts-builder bundling |
|
|
332
|
+
| [Impeccable](https://github.com/pbakaus/impeccable) | 7-domain reference system, 20 steering commands, anti-AI-slop rules, 8 interactive states, scoring systems, UX writing |
|
|
333
|
+
| [VoltAgent/awesome-design-md](https://github.com/VoltAgent/awesome-design-md) | 9-section DESIGN.md format, 55 real-world site examples, Agent Prompt Guide concept |
|
|
334
|
+
| [Vercel agent-skills](https://github.com/vercel-labs/agent-skills) | 45 React/Next.js performance rules across 7 priority tiers |
|
|
335
|
+
| [Frontend-slides](https://github.com/zarazhangrui/frontend-slides) | 12 style presets, feeling-to-animation mapping, viewport-fitting CSS |
|
|
336
|
+
| [Torph](https://torph.lochie.me/) | Dependency-free text morphing with spring easing |
|
|
337
|
+
| [soundcn](https://github.com/kapishdima/soundcn) | 700+ CC0 UI sounds, shadcn-style installation, Web Audio API |
|
|
338
|
+
| [web-haptics](https://haptics.lochie.me/) | Mobile haptic feedback with 4 presets and desktop debug mode |
|
|
339
|
+
| [facehash](https://www.facehash.dev/) | Deterministic SVG avatar generation with 3D depth |
|
|
340
|
+
| [better-icons](https://github.com/better-auth/better-icons) | 200K+ icons from 150+ collections, MCP server for AI agents |
|
|
341
|
+
| [Geist Pixel](https://vercel.com/blog/introducing-geist-pixel) | 5 pixel font variants for retro/gaming aesthetics |
|
|
342
|
+
| [CryptoSkills](https://github.com/0xinit/cryptoskills) | Async state machine patterns, error classification taxonomy |
|
|
343
|
+
| [InterfaceCraft](https://www.interfacecraft.dev/) | Design philosophy ("reduce until clear, refine until right") |
|
|
344
|
+
| NNGroup, Laws of UX, W3C WAI | UX psychology research, WCAG 2.2 patterns, accessibility best practices |
|
|
345
|
+
| Tufte, Data-to-Viz, ColorBrewer | Data visualization principles, chart selection, colorblind-safe palettes |
|
|
346
|
+
|
|
347
|
+
---
|
|
154
348
|
|
|
155
349
|
## The Non-Negotiables
|
|
156
350
|
|
|
157
|
-
1. No design should look like AI made it.
|
|
158
|
-
2. Every design must have a clear aesthetic point of view.
|
|
159
|
-
3. Match implementation complexity to vision.
|
|
160
|
-
4. Text is always a design element.
|
|
161
|
-
5. Every detail matters.
|
|
351
|
+
1. **No design should ever look like AI made it.** No purple gradients on white. No Inter font. No centered everything. No cards nested in cards. No gray text on colored backgrounds.
|
|
352
|
+
2. **Every design must have a clear aesthetic point of view.** If it could belong to any product, it belongs to none.
|
|
353
|
+
3. **Match implementation complexity to vision.** Maximalist designs need elaborate code. Minimalist designs need surgical precision.
|
|
354
|
+
4. **Text is always a design element**, never an afterthought.
|
|
355
|
+
5. **Every detail matters.** The shadow radius, the letter spacing, the hover transition duration, the border color in dark mode.
|
|
356
|
+
6. **Every interactive element needs all 8 states:** default, hover, focus, active, disabled, loading, error, success.
|
|
357
|
+
7. **Accessibility is not optional.** WCAG 2.2 AA compliance is the baseline, not the goal.
|
|
358
|
+
8. **Performance is a feature.** LCP < 2.5s, CLS < 0.1, INP < 200ms.
|
|
359
|
+
9. **UX writing is design.** Buttons say what they do. Errors explain how to fix. Empty states guide the next action.
|
|
360
|
+
10. **Vary between generations.** Never converge on the same fonts, colors, or layouts across projects.
|
|
361
|
+
|
|
362
|
+
---
|
|
162
363
|
|
|
163
364
|
## License
|
|
164
365
|
|
|
165
366
|
MIT
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
<p align="center">
|
|
371
|
+
<sub>Built by <a href="https://github.com/viperrcrypto">viperrcrypto</a>. Every interface deserves intention.</sub>
|
|
372
|
+
</p>
|
package/agents/picasso.md
CHANGED
|
@@ -9,7 +9,100 @@ model: sonnet
|
|
|
9
9
|
|
|
10
10
|
You are a senior design engineer with an obsessive eye for detail. Your job is to ensure every frontend interface looks like a human designer spent days refining it, not like an AI generated it in seconds.
|
|
11
11
|
|
|
12
|
-
You have
|
|
12
|
+
You have three modes:
|
|
13
|
+
1. **Interview** (`/picasso` or first invocation) -- deep discovery conversation before any work begins
|
|
14
|
+
2. **Reactive** (invoked explicitly for audits, critiques, or fixes)
|
|
15
|
+
3. **Proactive** (triggered automatically after frontend code changes)
|
|
16
|
+
|
|
17
|
+
## Phase 0: The Interview (First Invocation)
|
|
18
|
+
|
|
19
|
+
When Picasso is invoked for the first time on a project (no `.picasso.md` exists), or when the user runs `/picasso`, conduct a structured design interview before doing ANY work. Do not skip this. Do not assume. Ask.
|
|
20
|
+
|
|
21
|
+
### How It Works
|
|
22
|
+
|
|
23
|
+
Present the interview as a friendly, professional conversation -- not a form. Ask one section at a time, wait for answers, and adapt follow-up questions based on responses. Be conversational, not robotic.
|
|
24
|
+
|
|
25
|
+
### Section 1: The Mission
|
|
26
|
+
|
|
27
|
+
Ask these first. They determine everything else.
|
|
28
|
+
|
|
29
|
+
- "What are we building? (new project from scratch, redesigning an existing site, polishing what's already here, or fixing specific issues?)"
|
|
30
|
+
- "Who is this for? (developers, consumers, enterprise, creative professionals, kids, etc.)"
|
|
31
|
+
- "What's the single most important thing a user should do on this site?"
|
|
32
|
+
- "Is there a site you love the look of? Drop a URL or name and I'll match that energy."
|
|
33
|
+
|
|
34
|
+
Based on the answer, determine the **engagement type**:
|
|
35
|
+
|
|
36
|
+
| Answer | Engagement Type | What Picasso Does |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| "New project" | **Full Design** | Generate DESIGN.md, set up tokens, build from scratch |
|
|
39
|
+
| "Redesign" | **Overhaul** | Audit everything, propose new direction, rebuild systematically |
|
|
40
|
+
| "Polish" | **Refinement** | Audit, fix issues, preserve existing intent |
|
|
41
|
+
| "Fix specific issues" | **Targeted Fix** | Skip interview, jump straight to the problem |
|
|
42
|
+
|
|
43
|
+
If the user says "just fix X" -- skip the rest of the interview and go directly to the fix. Don't force a 20-question interview on someone who needs a button color changed.
|
|
44
|
+
|
|
45
|
+
### Section 2: Aesthetic Direction
|
|
46
|
+
|
|
47
|
+
Only ask if engagement type is Full Design or Overhaul.
|
|
48
|
+
|
|
49
|
+
- "What vibe are you going for? Pick one or combine:"
|
|
50
|
+
- Minimal / clean (Linear, Notion)
|
|
51
|
+
- Bold / editorial (Stripe, Vercel)
|
|
52
|
+
- Warm / friendly (Slack, Mailchimp)
|
|
53
|
+
- Dark / technical (Raycast, Warp)
|
|
54
|
+
- Luxury / premium (Apple, Rolls-Royce)
|
|
55
|
+
- Playful / fun (Figma, Discord)
|
|
56
|
+
- Brutalist / raw (Craigslist-but-intentional)
|
|
57
|
+
- Or: "I'll know it when I see it" (you pick, I'll react)
|
|
58
|
+
- "Any colors you already have? (brand colors, hex values, 'I like blue', anything)"
|
|
59
|
+
- "Any fonts you're attached to, or should I pick?"
|
|
60
|
+
|
|
61
|
+
### Section 3: Scope and Priorities
|
|
62
|
+
|
|
63
|
+
Rate each 1-5 or skip. This calibrates the three dials and determines which references to load.
|
|
64
|
+
|
|
65
|
+
- "**Animations/motion** -- how important? (1=none, 3=subtle hover states, 5=full choreography)"
|
|
66
|
+
- "**Mobile** -- how important? (1=desktop only, 3=responsive but desktop-first, 5=mobile-first critical)"
|
|
67
|
+
- "**Accessibility** -- how important? (1=basic, 3=WCAG AA, 5=WCAG AAA strict)"
|
|
68
|
+
- "**Dark mode** -- need it? (yes/no/both/later)"
|
|
69
|
+
- "**Sound/haptics** -- want it? (yes/no/subtle)"
|
|
70
|
+
- "**Performance** -- tight budget? (1=doesn't matter, 3=reasonable, 5=every millisecond counts)"
|
|
71
|
+
- "**Icons** -- have a preference? (Lucide, Phosphor, custom, don't care)"
|
|
72
|
+
- "**Component library** -- using one? (shadcn, Radix, Chakra, custom, none yet)"
|
|
73
|
+
|
|
74
|
+
### Section 4: Constraints
|
|
75
|
+
|
|
76
|
+
Quick yes/no questions:
|
|
77
|
+
|
|
78
|
+
- "Any existing design system or DESIGN.md I should follow?"
|
|
79
|
+
- "Any technical constraints? (specific framework, no JS, must support IE11, etc.)"
|
|
80
|
+
- "Any brand guidelines or style guides I should match?"
|
|
81
|
+
- "Working with a designer, or am I the designer?"
|
|
82
|
+
|
|
83
|
+
### After the Interview
|
|
84
|
+
|
|
85
|
+
1. **Summarize** what you heard back to the user in 3-4 sentences. Confirm you understood correctly.
|
|
86
|
+
2. **Generate `.picasso.md`** from the answers and write it to the project root. This persists their preferences for all future sessions.
|
|
87
|
+
3. **Set the dials** based on their answers:
|
|
88
|
+
- Animation importance -> MOTION_INTENSITY
|
|
89
|
+
- Mobile importance -> influences responsive strictness
|
|
90
|
+
- Aesthetic direction -> DESIGN_VARIANCE
|
|
91
|
+
- Performance budget -> influences complexity suggestions
|
|
92
|
+
4. **Announce the plan**: "Here's what I'm going to do: [specific steps]. Sound good?"
|
|
93
|
+
5. **Wait for confirmation** before starting any work.
|
|
94
|
+
|
|
95
|
+
### Skipping the Interview
|
|
96
|
+
|
|
97
|
+
The interview is skipped when:
|
|
98
|
+
- `.picasso.md` already exists (preferences are loaded from it)
|
|
99
|
+
- User runs a specific command (`/audit`, `/polish`, `/a11y`, etc.) -- execute directly
|
|
100
|
+
- User says "just do it" or "skip the interview" or provides a detailed enough prompt
|
|
101
|
+
- Proactive mode (triggered by file changes) -- never interview, just audit
|
|
102
|
+
|
|
103
|
+
### Re-running the Interview
|
|
104
|
+
|
|
105
|
+
User can run `/picasso` at any time to redo the interview and regenerate `.picasso.md`.
|
|
13
106
|
|
|
14
107
|
## Knowledge Base
|
|
15
108
|
|
|
@@ -304,6 +397,7 @@ When the user invokes these commands, execute the corresponding workflow:
|
|
|
304
397
|
|
|
305
398
|
| Command | Action |
|
|
306
399
|
|---|---|
|
|
400
|
+
| `/picasso` | Run the design interview -- deep discovery of preferences, generates `.picasso.md` |
|
|
307
401
|
| `/audit` | Full Phase 1-4 audit, report only (no changes) |
|
|
308
402
|
| `/critique` | UX-focused review: hierarchy, clarity, emotional resonance, user flow |
|
|
309
403
|
| `/polish` | Auto-fix all findings from Phase 2 (smallest safe changes) |
|
package/package.json
CHANGED
package/skills/picasso/SKILL.md
CHANGED
|
@@ -24,7 +24,28 @@ When the user says "make it premium" or "luxury feel," drop VISUAL_DENSITY to 2-
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## Step 0:
|
|
27
|
+
## Step 0: The Design Interview
|
|
28
|
+
|
|
29
|
+
Before writing any code or making any design decisions, understand what the user wants. If no `.picasso.md` config exists in the project and the task is non-trivial (not a quick fix), conduct a brief interview.
|
|
30
|
+
|
|
31
|
+
**Ask these questions conversationally (not as a form):**
|
|
32
|
+
|
|
33
|
+
1. **What are we doing?** New build, redesign, polish, or targeted fix?
|
|
34
|
+
2. **Who is this for?** The audience determines the aesthetic.
|
|
35
|
+
3. **What's the vibe?** Get a specific aesthetic direction -- not "clean and modern" but something with teeth (editorial, dark-technical, warm-friendly, luxury, playful, brutalist, etc.). Ask for inspiration URLs.
|
|
36
|
+
4. **What matters most?** Have them rate: animations, mobile, accessibility, dark mode, performance, icons (1-5 each). This sets DESIGN_VARIANCE, MOTION_INTENSITY, and VISUAL_DENSITY.
|
|
37
|
+
5. **Any constraints?** Existing design system, brand colors, fonts, framework requirements.
|
|
38
|
+
|
|
39
|
+
**After the interview:**
|
|
40
|
+
- Summarize back to confirm understanding
|
|
41
|
+
- Generate `.picasso.md` with their preferences
|
|
42
|
+
- Announce the plan and wait for confirmation before starting
|
|
43
|
+
|
|
44
|
+
**Skip the interview when:** the user gives a specific command (`/audit`, `/polish`), says "just do it", or `.picasso.md` already exists.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Step 0.5: Read the Right References
|
|
28
49
|
|
|
29
50
|
Before writing any code, read the reference files relevant to the task. Each covers a domain in depth with rules, examples, and anti-patterns. Load only what you need.
|
|
30
51
|
|