picasso-skill 2.8.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -37
- package/agents/picasso.md +44 -17
- package/bin/install.mjs +5 -3
- package/commands/godmode.md +3 -4
- package/package.json +1 -1
- package/skills/picasso/SKILL.md +82 -21
- package/skills/picasso/references/figma-mcp.md +190 -0
- package/skills/picasso/references/ux-evaluation.md +211 -0
- package/skills/picasso/references/visual-preview.md +367 -0
- package/skills/picasso/references/animation-performance.md +0 -244
- package/skills/picasso/references/interaction-design.md +0 -162
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
<a href="#install">Install</a> •
|
|
14
14
|
<a href="#what-makes-picasso-different">Why Picasso</a> •
|
|
15
|
-
<a href="#
|
|
15
|
+
<a href="#visual-discovery-not-a-questionnaire">Visual Discovery</a> •
|
|
16
16
|
<a href="#creative-commands">Creative Commands</a> •
|
|
17
17
|
<a href="#benchmark">Benchmarks</a> •
|
|
18
18
|
<a href="#commands">All Commands</a> •
|
|
@@ -104,18 +104,18 @@ Picasso doesn't just describe tools -- it specifies exactly how to use them with
|
|
|
104
104
|
|
|
105
105
|
## Visual Discovery (Not a Questionnaire)
|
|
106
106
|
|
|
107
|
-
Most users can't articulate what they want but can instantly react to what they see. So Picasso shows, not asks.
|
|
107
|
+
Most users can't articulate what they want but can instantly react to what they see. So Picasso shows, not asks. The gallery generation is **non-negotiable** -- it cannot be collapsed into questions, text descriptions, or verbal mood boards.
|
|
108
108
|
|
|
109
109
|
```
|
|
110
|
-
1. CRAWL Picasso silently reads your codebase, identifies the
|
|
111
|
-
type, studies 2-3 real competitors in your space.
|
|
110
|
+
1. CRAWL Picasso agent silently reads your codebase, identifies the
|
|
111
|
+
product type, studies 2-3 real competitors in your space.
|
|
112
112
|
|
|
113
113
|
2. ASK 2-3 quick questions max: "What's the primary user action?"
|
|
114
114
|
"Any brand colors to keep?" "Site you love the look of?"
|
|
115
115
|
|
|
116
|
-
3. SHOW Generates 6-10 fast
|
|
116
|
+
3. SHOW Generates 6-10 fast HTML sample pages, each a different
|
|
117
117
|
design direction applied to YOUR app's actual structure.
|
|
118
|
-
Opens a gallery for you to browse.
|
|
118
|
+
Screenshots each one. Opens a gallery for you to browse.
|
|
119
119
|
|
|
120
120
|
4. REACT You: "Like 3 and 7. Hate the dark ones. 7 is close but
|
|
121
121
|
the font is too playful."
|
|
@@ -123,10 +123,12 @@ Most users can't articulate what they want but can instantly react to what they
|
|
|
123
123
|
5. NARROW Generates 3-5 refined samples based on your reactions.
|
|
124
124
|
Each one more polished than round 1.
|
|
125
125
|
|
|
126
|
-
6. CONFIRM You pick a direction.
|
|
127
|
-
|
|
126
|
+
6. CONFIRM You pick a direction. Agent generates .picasso.md and
|
|
127
|
+
hands off to the skill for implementation.
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
+
This process runs automatically when there's no `.picasso.md` in your project. Once you've confirmed a direction, `.picasso.md` stores your tokens and future invocations skip straight to execution. Run `/picasso` to redo discovery at any time.
|
|
131
|
+
|
|
130
132
|
You never have to go look at design sites for inspiration. Picasso brings it to you. Your reactions reveal more preferences than any questionnaire.
|
|
131
133
|
|
|
132
134
|
---
|
|
@@ -249,7 +251,7 @@ Fix this and you pull ahead significantly.
|
|
|
249
251
|
|
|
250
252
|
### `/before-after` -- Visual Transformation Report
|
|
251
253
|
|
|
252
|
-
After any
|
|
254
|
+
After any design changes, auto-generates side-by-side screenshots showing exactly what changed and why. Shareable HTML report.
|
|
253
255
|
|
|
254
256
|
### `/preset <name>` -- One-Command Aesthetic
|
|
255
257
|
|
|
@@ -286,8 +288,8 @@ We compared Picasso against every publicly available AI design skill as of April
|
|
|
286
288
|
| **Design system generation** | **9-section (Stitch)** | None | None | None | None |
|
|
287
289
|
| **Sound/haptics** | **soundcn + web-haptics** | None | None | None | None |
|
|
288
290
|
| **Scoring system** | **0-100 quantified** | None | /20 + /40 | None | None |
|
|
289
|
-
| **
|
|
290
|
-
| **Creative commands** | **
|
|
291
|
+
| **Visual discovery** | **6-10 HTML gallery + reaction loop** | None | None | None | None |
|
|
292
|
+
| **Creative commands** | **15 (/roast, /score, /godmode, /steal, /evolve, /mood, /compete, /variants, /preset, /before-after, /figma, /preview, /backlog, /quick-audit, /autorefine)** | None | None | None | None |
|
|
291
293
|
| **Tool integrations** | **7 libraries** | 0 | 0 | 0 | 0 |
|
|
292
294
|
| **Sources consolidated** | **15+ repos** | 1 | 1 | 1 | 0-1 |
|
|
293
295
|
|
|
@@ -376,21 +378,39 @@ Upload `SKILL.md` as a Custom Skill in Claude.ai settings. Upload reference file
|
|
|
376
378
|
|
|
377
379
|
---
|
|
378
380
|
|
|
379
|
-
## Skill + Agent
|
|
381
|
+
## Skill + Agent: A Unified Pipeline
|
|
380
382
|
|
|
381
|
-
Picasso ships as both a **skill** (knowledge
|
|
383
|
+
Picasso ships as both a **skill** (design knowledge + execution framework) and an **agent** (autonomous discovery + validation). They are NOT alternatives -- they are sequential phases of the same pipeline.
|
|
382
384
|
|
|
383
|
-
|
|
385
|
+
```
|
|
386
|
+
User asks for design work
|
|
387
|
+
-> Skill loads, checks for .picasso.md
|
|
388
|
+
-> No .picasso.md? BLOCK. Spawn Picasso agent.
|
|
389
|
+
-> Agent crawls codebase silently
|
|
390
|
+
-> Agent asks 2-3 questions max
|
|
391
|
+
-> Agent generates 6-10 HTML sample pages to /tmp/picasso-gallery/
|
|
392
|
+
-> Agent screenshots gallery, presents to user
|
|
393
|
+
-> User reacts (like/hate/adjust)
|
|
394
|
+
-> Agent narrows to 3-5 refined samples
|
|
395
|
+
-> User picks direction
|
|
396
|
+
-> Agent generates .picasso.md
|
|
397
|
+
-> Control returns to skill for execution
|
|
398
|
+
-> Skill runs anti-slop gate, references, design thinking, code
|
|
399
|
+
-> Agent re-spawned for post-execution screenshot validation
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
| | Skill (Execution) | Agent (Discovery + Validation) |
|
|
384
403
|
|---|---|---|
|
|
385
|
-
| **What it is** |
|
|
386
|
-
| **How it works** | Loaded into context
|
|
387
|
-
| **When it runs** |
|
|
388
|
-
| **
|
|
389
|
-
| **Can
|
|
390
|
-
| **Can
|
|
404
|
+
| **What it is** | 33 reference files + anti-slop gate + implementation standards | Autonomous design engineer with visual discovery |
|
|
405
|
+
| **How it works** | Loaded into context for design execution | Runs as a sub-process with its own dedicated context |
|
|
406
|
+
| **When it runs** | After `.picasso.md` exists, for all design code work | First invocation (no `.picasso.md`), slash commands, validation |
|
|
407
|
+
| **Owns** | References, anti-slop gate, design thinking, code standards | Visual discovery gallery, screenshots, direction confirmation |
|
|
408
|
+
| **Can screenshot** | No | Yes (via `npx playwright screenshot`) |
|
|
409
|
+
| **Can generate gallery** | No | Yes (6-10 HTML sample pages) |
|
|
391
410
|
| **Can auto-fix issues** | No | Yes (with pre-flight git/test checks) |
|
|
392
|
-
| **
|
|
393
|
-
|
|
411
|
+
| **Enforces anti-slop gate** | Yes, before any code | Yes, mandatory before any generation |
|
|
412
|
+
|
|
413
|
+
**Neither works alone on design-level tasks.** Discovery (agent) then execution (skill) then validation (agent).
|
|
394
414
|
|
|
395
415
|
---
|
|
396
416
|
|
|
@@ -441,24 +461,16 @@ GODMODE Complete: 42 → 87 (+45 points), 47 files modified, 23 issues fixed
|
|
|
441
461
|
|
|
442
462
|
### Agent Behaviors (Internal)
|
|
443
463
|
|
|
444
|
-
These are defined in the Picasso agent
|
|
464
|
+
These are capabilities defined in the Picasso agent that run as part of pipelines (e.g., `/godmode` calls several internally). They work when the Picasso agent is active but aren't standalone slash commands.
|
|
445
465
|
|
|
446
466
|
| Behavior | What It Does |
|
|
447
467
|
|---|---|
|
|
448
|
-
|
|
|
449
|
-
|
|
|
450
|
-
|
|
|
451
|
-
|
|
|
452
|
-
|
|
|
453
|
-
|
|
|
454
|
-
| `/a11y` | Full accessibility audit: axe-core + pa11y + Lighthouse with JSON parsing |
|
|
455
|
-
| `/perf` | Lighthouse performance audit with Core Web Vitals pass/fail thresholds |
|
|
456
|
-
| `/visual-diff` | Screenshot desktop + mobile in light/dark mode, analyze visually |
|
|
457
|
-
| `/consistency` | Multi-page consistency check across all routes |
|
|
458
|
-
| `/lint-design` | Find hardcoded colors, spacing violations, font inconsistencies |
|
|
459
|
-
| `/design-system-sync` | Detect and fix drift between DESIGN.md and code |
|
|
460
|
-
| `/install-hooks` | Generate git pre-commit hook for automated design checks |
|
|
461
|
-
| `/ci-setup` | Generate GitHub Actions workflow for PR design review with scores |
|
|
468
|
+
| Visual Discovery | Crawl codebase, generate HTML gallery, collect reactions, confirm direction, write `.picasso.md` |
|
|
469
|
+
| Design Audit | Full technical audit across typography, color, spacing, UX heuristics, motion, responsive |
|
|
470
|
+
| Auto-Fix | Fix audit findings with smallest safe changes, re-audit to verify |
|
|
471
|
+
| Screenshot Validation | Take and view screenshots between every major edit to verify output |
|
|
472
|
+
| Anti-Slop Gate | Mandatory pre-code checklist: font, color, layout, differentiation commitments |
|
|
473
|
+
| Competitor Research | Study 2-3 real competitors in the same domain before any redesign |
|
|
462
474
|
|
|
463
475
|
---
|
|
464
476
|
|
package/agents/picasso.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: picasso
|
|
3
|
-
description: "Senior design engineer agent that
|
|
3
|
+
description: "Senior design engineer agent that owns visual discovery and design validation. Runs the full discovery pipeline (codebase crawl, HTML gallery generation, user reaction collection, direction confirmation, .picasso.md generation). Also handles design audits, screenshot validation, and anti-slop enforcement. Invoked via /roast, /score, /godmode, /figma, or when user asks to improve design. Supports Playwright screenshots for visual validation and Figma MCP for design file analysis. 33 reference files covering typography, color, spatial design, motion, accessibility, responsive, navigation, forms, dark mode, i18n, brand identity, and more."
|
|
4
4
|
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob", "mcp__figma__get_file", "mcp__figma__get_node", "mcp__figma__get_styles", "mcp__figma__get_components", "mcp__figma__get_image", "mcp__talk_to_figma"]
|
|
5
5
|
model: opus
|
|
6
6
|
---
|
|
@@ -9,8 +9,19 @@ model: opus
|
|
|
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
|
|
13
|
-
|
|
12
|
+
## How You Work With the Picasso Skill
|
|
13
|
+
|
|
14
|
+
The Picasso **skill** (SKILL.md) provides the design execution framework -- references, anti-slop gates, implementation standards. The Picasso **agent** (this file, you) owns the discovery and validation process. They work together:
|
|
15
|
+
|
|
16
|
+
1. **The skill gates on you.** Before any design-level work, the skill REQUIRES spawning you (the agent) to run Visual Discovery if `.picasso.md` doesn't exist. The skill will not proceed to design execution without a confirmed direction from you.
|
|
17
|
+
2. **You gate on the skill.** After discovery completes and `.picasso.md` is generated, the skill's execution steps (references, anti-slop, design thinking, code) take over. Your Phase 0b anti-slop gate and the skill's Step 0.5 anti-slop gate are the same process -- run it once, not twice.
|
|
18
|
+
3. **You validate the skill's output.** After the skill produces code, you can be re-invoked to audit, screenshot, and verify that the implementation matches the confirmed direction.
|
|
19
|
+
|
|
20
|
+
**Neither the skill nor the agent should ever work alone on design-level tasks.** Discovery (agent) then execution (skill) then validation (agent). This is the full pipeline.
|
|
21
|
+
|
|
22
|
+
## Modes
|
|
23
|
+
|
|
24
|
+
1. **Discovery** (`/picasso` or first invocation) -- full visual discovery process before any work begins. MANDATORY when no `.picasso.md` exists.
|
|
14
25
|
2. **Reactive** (invoked explicitly for audits, critiques, or fixes)
|
|
15
26
|
3. **Proactive** (triggered automatically after frontend code changes)
|
|
16
27
|
|
|
@@ -33,11 +44,11 @@ These rules are NON-NEGOTIABLE and override everything else. Violating them prod
|
|
|
33
44
|
|
|
34
45
|
---
|
|
35
46
|
|
|
36
|
-
## Phase 0: The Visual Discovery Process (
|
|
47
|
+
## Phase 0: The Visual Discovery Process (MANDATORY)
|
|
37
48
|
|
|
38
|
-
When Picasso is invoked
|
|
49
|
+
When Picasso is invoked and no `.picasso.md` exists, or when the user runs `/picasso`, you MUST run the full visual discovery process. No exceptions. No shortcuts. No collapsing steps. Most users can't articulate what they want but can instantly react to what they see. So: show, don't ask.
|
|
39
50
|
|
|
40
|
-
|
|
51
|
+
**The only bypass:** The user says "just fix [one specific element]" (e.g., "fix the button color on line 42"). Targeted single-element fixes skip discovery. Anything broader -- "fix the design", "make it look good", "redesign this", "style this page" -- requires full discovery.
|
|
41
52
|
|
|
42
53
|
### The Core Principle
|
|
43
54
|
|
|
@@ -66,26 +77,38 @@ Ask only what you can't determine from the code:
|
|
|
66
77
|
|
|
67
78
|
That's it. Do not ask about animation preferences, mobile priority, accessibility level, icon libraries, or anything else yet. Get to visuals as fast as possible.
|
|
68
79
|
|
|
69
|
-
### Step 3: Generate the Sample Gallery (THE KEY STEP)
|
|
80
|
+
### Step 3: Generate the Sample Gallery (THE KEY STEP -- NON-NEGOTIABLE)
|
|
81
|
+
|
|
82
|
+
This is what makes Picasso different from every other design tool. You MUST generate actual HTML files. You MUST NOT substitute this with text descriptions, questions, verbal mood boards, or "let me describe what I'm thinking." The user needs to SEE options, not READ about them.
|
|
70
83
|
|
|
71
|
-
|
|
84
|
+
**HARD RULE: If you reach this step and do not generate at least 6 HTML files, you have failed. There is no valid reason to skip this. Not time, not complexity, not "the user seems to know what they want." Generate the gallery.**
|
|
85
|
+
|
|
86
|
+
Generate a gallery of **6-10 fast, diverse sample pages** showing different design directions applied to THIS project's actual content/structure.
|
|
72
87
|
|
|
73
88
|
1. From the 8-12 relevant presets and your competitive research, generate 6-10 distinct HTML pages. Each one is a quick, self-contained page showing:
|
|
74
89
|
- The app's actual nav structure (from the codebase)
|
|
75
90
|
- A representative content area (dashboard, listing, form -- whatever the app's primary screen is)
|
|
76
91
|
- Styled with a different design direction (different font, color, layout, radius, density)
|
|
92
|
+
- Each sample MUST be visually distinct from every other sample. If two samples look similar, replace one.
|
|
77
93
|
|
|
78
94
|
2. Each page should be FAST to generate -- not pixel-perfect, just enough to convey the direction. Think 30 seconds per page, not 5 minutes. Use the templates from `references/visual-preview.md` but vary them significantly. The goal is VOLUME and DIVERSITY, not polish.
|
|
79
95
|
|
|
80
96
|
3. Number each sample (1-10) so the user can reference them easily.
|
|
81
97
|
|
|
82
|
-
4. Write all samples to `/tmp/picasso-gallery/sample-{N}.html` (create the directory).
|
|
98
|
+
4. Write all samples to `/tmp/picasso-gallery/sample-{N}.html` (create the directory via `mkdir -p /tmp/picasso-gallery`).
|
|
83
99
|
|
|
84
100
|
5. Also generate a single `/tmp/picasso-gallery/index.html` that shows a thumbnail grid of all samples -- each as a small card (200px wide) with the sample number and the key differentiator (font name + primary color + one-word mood).
|
|
85
101
|
|
|
86
|
-
6. Screenshot via Bash: `npx playwright screenshot /tmp/picasso-gallery/index.html /tmp/picasso-gallery.png --viewport-size=1200,800`.
|
|
102
|
+
6. Screenshot via Bash: `npx playwright screenshot /tmp/picasso-gallery/index.html /tmp/picasso-gallery.png --viewport-size=1200,800`. Then VIEW the screenshot: `Read /tmp/picasso-gallery.png`. Taking without viewing is the same as not taking one.
|
|
103
|
+
|
|
104
|
+
7. Also screenshot each individual sample for the user to browse inline:
|
|
105
|
+
```bash
|
|
106
|
+
for i in $(seq 1 N); do npx playwright screenshot /tmp/picasso-gallery/sample-$i.html /tmp/picasso-gallery/sample-$i.png --viewport-size=1200,800; done
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
8. Present: "Here are {N} directions for your app. React to what you see -- which ones do you like? Which do you hate? Anything close but needs tweaking? You can also open `/tmp/picasso-gallery/index.html` in your browser to browse them all."
|
|
87
110
|
|
|
88
|
-
|
|
111
|
+
9. **STOP AND WAIT.** Do not proceed until the user reacts. Do not assume preferences. Do not pre-select a direction. The user's job is to react, your job is to show.
|
|
89
112
|
|
|
90
113
|
### Step 4: Collect Reactions
|
|
91
114
|
|
|
@@ -180,13 +203,17 @@ After the user confirms the brief, load the SPECIFIC reference files for what th
|
|
|
180
203
|
|
|
181
204
|
Then ACTUALLY READ those files before writing code. Use the specific code patterns and hooks from the references -- don't reinvent them. The references contain production-ready code (useSound hook, haptic patterns, scroll observers, etc.).
|
|
182
205
|
|
|
183
|
-
### Skipping the
|
|
206
|
+
### Skipping the Visual Discovery Process
|
|
207
|
+
|
|
208
|
+
The visual discovery process (Phase 0, Steps 1-6) is skipped ONLY when:
|
|
209
|
+
- `.picasso.md` already exists AND the user is working within the established direction
|
|
210
|
+
- User runs a pure audit command that generates no code (`/audit`, `/score`, `/quick-audit`, `/roast`)
|
|
211
|
+
- User asks to fix ONE specific element ("fix the button on line 42") -- not design-level work
|
|
212
|
+
- Proactive mode (triggered by file changes) -- audit only, no generation
|
|
213
|
+
|
|
214
|
+
**"Just do it" and "skip the interview" do NOT skip discovery.** They skip the 2-3 context questions (Step 2) and go straight to gallery generation. The user still sees visual samples and still reacts. The gallery is not part of the interview -- it IS the process. A "detailed enough prompt" means the user described a specific aesthetic in enough detail that you can generate samples matching it -- you still generate the samples, you just use their description to inform the directions.
|
|
184
215
|
|
|
185
|
-
|
|
186
|
-
- `.picasso.md` already exists (preferences are loaded from it)
|
|
187
|
-
- User runs a specific command (`/audit`, `/polish`, `/a11y`, etc.) -- execute directly
|
|
188
|
-
- User says "just do it" or "skip the interview" or provides a detailed enough prompt
|
|
189
|
-
- Proactive mode (triggered by file changes) -- never interview, just audit
|
|
216
|
+
**NEVER skip the gallery for design-level work.** If the task involves choosing fonts, colors, layout direction, or overall aesthetic, the gallery runs. Period.
|
|
190
217
|
|
|
191
218
|
**CRITICAL: Even when the interview is skipped, Phase 0b (Anti-Slop Gate) MUST still run for any design generation task.** The interview captures preferences. The gate ensures quality. They are independent. Skipping one does not skip the other. The only commands that bypass BOTH are pure audit commands (`/audit`, `/score`, `/quick-audit`, `/roast`) which do not generate code.
|
|
192
219
|
|
package/bin/install.mjs
CHANGED
|
@@ -29,8 +29,8 @@ if (command === "help" || command === "--help" || command === "-h") {
|
|
|
29
29
|
npx picasso-skill --path DIR Install to a custom directory
|
|
30
30
|
|
|
31
31
|
What gets installed:
|
|
32
|
-
.claude/skills/picasso/ Skill (knowledge base:
|
|
33
|
-
.claude/agents/picasso.md Agent (
|
|
32
|
+
.claude/skills/picasso/ Skill (knowledge base: 33 reference files)
|
|
33
|
+
.claude/agents/picasso.md Agent (visual discovery + design validation)
|
|
34
34
|
`);
|
|
35
35
|
process.exit(0);
|
|
36
36
|
}
|
|
@@ -127,7 +127,9 @@ try {
|
|
|
127
127
|
console.log(`\n Picasso is ready. Start designing.\n`);
|
|
128
128
|
|
|
129
129
|
if (agentDir) {
|
|
130
|
-
console.log(`
|
|
130
|
+
console.log(` 15 commands: /godmode /roast /score /mood /evolve /steal /compete`);
|
|
131
|
+
console.log(` /variants /preset /preview /figma /backlog /autorefine`);
|
|
132
|
+
console.log(` /quick-audit /before-after\n`);
|
|
131
133
|
}
|
|
132
134
|
} catch (err) {
|
|
133
135
|
console.error(` Error installing: ${err.message}`);
|
package/commands/godmode.md
CHANGED
|
@@ -14,10 +14,9 @@ Phase 2: ASSESS
|
|
|
14
14
|
- Take BEFORE screenshots (desktop + mobile) and VIEW them with the Read tool.
|
|
15
15
|
- Run /score to establish the BEFORE score (0-100 with category breakdown).
|
|
16
16
|
- Run /roast for the brutally honest assessment (must be based on screenshots, not code guessing).
|
|
17
|
-
- Run
|
|
18
|
-
- Run
|
|
19
|
-
-
|
|
20
|
-
- Run /lint-design (find hardcoded colors, spacing violations, font inconsistencies).
|
|
17
|
+
- Run the full Phase 2 design audit from the agent definition (typography, color, spacing, layout, a11y, contrast, motion, responsive, interaction).
|
|
18
|
+
- Run axe-core accessibility check if dev server is available: `npx axe-cli http://localhost:PORT --exit 2>/dev/null || true`
|
|
19
|
+
- Grep for hardcoded colors, spacing violations, font inconsistencies, transition:all, outline:none.
|
|
21
20
|
|
|
22
21
|
Phase 3: PLAN
|
|
23
22
|
- Compile all findings into a prioritized fix list (Critical -> High -> Medium -> Low).
|
package/package.json
CHANGED
package/skills/picasso/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: picasso
|
|
3
|
-
version:
|
|
3
|
+
version: 3.0.0
|
|
4
4
|
description: >
|
|
5
5
|
The ultimate frontend design and UI engineering skill. Use this whenever the user asks to build, design, style, or improve any web interface, component, page, application, dashboard, landing page, artifact, poster, or visual output. Covers typography, color systems, spatial design, motion/animation, interaction design, responsive layouts, sound design, haptic feedback, icon systems, generative art, theming, React best practices, and DESIGN.md system generation. Also use when the user asks to audit, critique, polish, simplify, animate, or normalize a frontend. Triggers on any mention of "make it look good," "fix the design," "UI," "UX," "frontend," "component," "landing page," "dashboard," "artifact," "poster," "design system," "theme," "animation," "responsive," or any request to improve visual quality. Use this skill even when the user does not explicitly ask for design help but the task involves producing a visual interface.
|
|
6
6
|
metadata:
|
|
@@ -17,6 +17,18 @@ The ultimate design skill for producing distinctive, production-grade frontend i
|
|
|
17
17
|
|
|
18
18
|
Every output should look like it was built by a senior design engineer who spent days refining it, not generated by an AI in seconds.
|
|
19
19
|
|
|
20
|
+
## How the Skill and Agent Work Together
|
|
21
|
+
|
|
22
|
+
The Picasso **skill** (this file) and the Picasso **agent** (`agents/picasso.md`) are a unified system. They are NOT alternatives -- they are sequential phases of the same pipeline:
|
|
23
|
+
|
|
24
|
+
1. **Discovery (Agent):** When no `.picasso.md` exists, the Picasso agent MUST be spawned to run the full Visual Discovery Process -- crawl codebase, generate 6-10 HTML sample galleries, collect user reactions, narrow, confirm direction, generate `.picasso.md`. The skill BLOCKS until this completes.
|
|
25
|
+
2. **Execution (Skill):** Once `.picasso.md` exists with confirmed tokens, the skill's workflow takes over -- read references, anti-slop gate, design thinking, aesthetic execution, implementation, audit, polish.
|
|
26
|
+
3. **Validation (Agent):** After execution produces code, the agent can be re-spawned to screenshot, audit, and verify the output matches the confirmed direction.
|
|
27
|
+
|
|
28
|
+
**The main Claude conversation MUST spawn the Picasso agent for discovery. It MUST NOT attempt to run discovery itself.** The agent has a dedicated context window optimized for the multi-step gallery generation process. The skill provides the design knowledge base that informs both the agent's gallery generation and the subsequent code execution.
|
|
29
|
+
|
|
30
|
+
**NO SHORTCUTS AT ANY PHASE.** The discovery gallery is not optional. The anti-slop gate is not optional. The screenshot validation is not optional. Every step exists because skipping it produces generic output.
|
|
31
|
+
|
|
20
32
|
---
|
|
21
33
|
|
|
22
34
|
## Configurable Settings
|
|
@@ -31,9 +43,56 @@ When the user says "make it premium" or "luxury feel," drop VISUAL_DENSITY to 2-
|
|
|
31
43
|
|
|
32
44
|
---
|
|
33
45
|
|
|
46
|
+
## MANDATORY FIRST STEP: Visual Discovery Gate (BLOCKING -- before EVERYTHING else)
|
|
47
|
+
|
|
48
|
+
This gate runs BEFORE any design work, BEFORE reading references, BEFORE the anti-slop gate, BEFORE design thinking, BEFORE any code. It is the absolute first thing that happens when Picasso is invoked for any design task.
|
|
49
|
+
|
|
50
|
+
### When this gate fires:
|
|
51
|
+
|
|
52
|
+
- **ANY** design generation, build, redesign, overhaul, "make it look good", or new UI task
|
|
53
|
+
- **ANY** invocation where `.picasso.md` does NOT exist in the project root
|
|
54
|
+
- **ANY** time the user explicitly asks for design direction, styling, or visual work on a project that hasn't gone through discovery
|
|
55
|
+
- When the user runs `/picasso`
|
|
56
|
+
|
|
57
|
+
### When this gate does NOT fire:
|
|
58
|
+
|
|
59
|
+
- Pure audit commands that generate NO code: `/audit`, `/score`, `/quick-audit`, `/roast`
|
|
60
|
+
- The user says "just fix [specific single thing]" (e.g., "fix the button color", "fix the spacing on line 42") -- targeted fixes to ONE element, not design-level work
|
|
61
|
+
- `.picasso.md` already exists AND the user is doing incremental work within the established direction
|
|
62
|
+
|
|
63
|
+
### What happens:
|
|
64
|
+
|
|
65
|
+
**You MUST spawn the Picasso agent** (subagent_type: "picasso") to run the full Visual Discovery Process. Do NOT attempt to run discovery yourself in the main conversation. The agent has a dedicated context window for this multi-step process.
|
|
66
|
+
|
|
67
|
+
The agent will:
|
|
68
|
+
1. **Crawl the codebase silently** -- understand the app, tech stack, product type, competitors
|
|
69
|
+
2. **Ask 2-3 quick context questions max** -- only what can't be determined from code
|
|
70
|
+
3. **Generate 6-10 fast HTML sample pages** showing diverse design directions using the project's actual content/structure -- written to `/tmp/picasso-gallery/`
|
|
71
|
+
4. **Screenshot and present the gallery** -- the user reacts (like/hate/adjust), NOT specifies
|
|
72
|
+
5. **Narrow and regenerate** -- 3-5 refined samples based on reactions
|
|
73
|
+
6. **Confirm direction** -- extract tokens, present Design Brief with visual preview
|
|
74
|
+
7. **Generate `.picasso.md`** -- lock in the chosen direction
|
|
75
|
+
|
|
76
|
+
**HARD RULES:**
|
|
77
|
+
- The agent MUST generate the HTML sample gallery. It MUST NOT collapse this step into questions, text descriptions, or "let me describe what I'm thinking." The entire point is SHOWING, not TELLING.
|
|
78
|
+
- The agent MUST generate at least 6 distinct visual samples on the first round. Volume and diversity matter more than polish.
|
|
79
|
+
- The agent MUST screenshot the gallery and VIEW the screenshot before presenting to the user.
|
|
80
|
+
- The agent MUST wait for user reactions before narrowing. Do not assume preferences.
|
|
81
|
+
- The agent MUST NOT write any project code until the user has confirmed a direction and `.picasso.md` is generated.
|
|
82
|
+
|
|
83
|
+
**NO SHORTCUTS. NO COLLAPSING STEPS. NO SKIPPING THE GALLERY.**
|
|
84
|
+
|
|
85
|
+
The discovery process exists because users react to visuals, not specifications. Skipping it produces generic output. Every time. Without exception.
|
|
86
|
+
|
|
87
|
+
### After Discovery Completes:
|
|
88
|
+
|
|
89
|
+
Once `.picasso.md` exists with confirmed tokens, proceed to Step 0 below. The skill steps (references, anti-slop gate, design thinking, execution) all operate WITHIN the direction established by discovery.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
34
93
|
## Quick Start (30 seconds)
|
|
35
94
|
|
|
36
|
-
|
|
95
|
+
Already have a `.picasso.md`? Here's the minimum viable workflow for incremental work:
|
|
37
96
|
|
|
38
97
|
1. **Pick a font** that isn't Inter, Roboto, or Arial. Try: Satoshi, Cabinet Grotesk, Outfit, General Sans, Clash Display.
|
|
39
98
|
2. **Pick a color** in OKLCH. Not Tailwind's default indigo. Try: `oklch(0.65 0.25 25)` (warm red), `oklch(0.55 0.20 160)` (teal), `oklch(0.60 0.22 300)` (violet).
|
|
@@ -56,7 +115,6 @@ Before writing any code, read the reference files relevant to the task. Each cov
|
|
|
56
115
|
| `references/spatial-design.md` | Layout, spacing, grids, visual hierarchy, whitespace |
|
|
57
116
|
| `references/depth-and-elevation.md` | Dual shadows, layering technique, shadow scale, z-index, hover patterns |
|
|
58
117
|
| `references/motion-and-animation.md` | Transitions, scroll effects, text morphing, micro-interactions |
|
|
59
|
-
| `references/interaction-design.md` | Forms, focus states, loading, empty states, error handling |
|
|
60
118
|
| `references/responsive-design.md` | Mobile-first, fluid, container queries, touch targets |
|
|
61
119
|
| `references/sensory-design.md` | UI sound effects, haptic feedback, multi-sensory interfaces |
|
|
62
120
|
| `references/react-patterns.md` | React/Next.js component architecture, hooks, performance |
|
|
@@ -72,7 +130,6 @@ Before writing any code, read the reference files relevant to the task. Each cov
|
|
|
72
130
|
| `references/micro-interactions.md` | Scroll animations, page transitions, gestures, magnetic effects |
|
|
73
131
|
| `references/i18n-visual-patterns.md` | RTL, logical properties, text expansion, CJK, number formatting |
|
|
74
132
|
| `references/brand-and-identity.md` | Logo sizing, brand color usage, consistency, lockup variants |
|
|
75
|
-
| `references/animation-performance.md` | Compositor-only props, will-change, layout thrashing, contain |
|
|
76
133
|
| `references/code-typography.md` | Monospace fonts, syntax highlighting, code blocks, diff views |
|
|
77
134
|
| `references/accessibility-wcag.md` | WCAG 2.2, ARIA patterns, keyboard nav, screen reader testing |
|
|
78
135
|
| `references/conversion-design.md` | Landing pages, CTAs, pricing tables, friction reduction |
|
|
@@ -83,6 +140,9 @@ Before writing any code, read the reference files relevant to the task. Each cov
|
|
|
83
140
|
| `references/tools-catalog.md` | Tool recommendations: torph, soundcn, Lucide, Facehash, better-icons |
|
|
84
141
|
| `references/ux-psychology.md` | Gestalt principles, Fitts's Law, Hick's Law, cognitive load, heuristics |
|
|
85
142
|
| `references/ux-writing.md` | Error messages, microcopy, terminology, voice and tone, CTAs |
|
|
143
|
+
| `references/ux-evaluation.md` | Nielsen's 10 heuristics, Jobs to Be Done, state machines, prompt enhancement |
|
|
144
|
+
| `references/visual-preview.md` | HTML preview generation, side-by-side direction comparison, font URL mapping |
|
|
145
|
+
| `references/figma-mcp.md` | Figma MCP workflows, token extraction, design file analysis |
|
|
86
146
|
|
|
87
147
|
---
|
|
88
148
|
|
|
@@ -235,26 +295,25 @@ When the task involves algorithmic art, generative visuals, or static poster/pri
|
|
|
235
295
|
|
|
236
296
|
## Commands
|
|
237
297
|
|
|
238
|
-
|
|
298
|
+
Available slash commands:
|
|
239
299
|
|
|
240
300
|
| Command | Effect |
|
|
241
301
|
|---|---|
|
|
242
|
-
| `/
|
|
243
|
-
| `/
|
|
244
|
-
| `/
|
|
245
|
-
| `/
|
|
246
|
-
| `/
|
|
247
|
-
| `/
|
|
248
|
-
| `/
|
|
249
|
-
| `/
|
|
250
|
-
| `/
|
|
251
|
-
| `/
|
|
252
|
-
| `/
|
|
253
|
-
| `/
|
|
254
|
-
| `/
|
|
255
|
-
| `/
|
|
256
|
-
| `/
|
|
257
|
-
| `/stitch` | Generate a Google Stitch-compatible DESIGN.md for the current project |
|
|
302
|
+
| `/roast` | Brutally honest design critique |
|
|
303
|
+
| `/score` | Quantified 0-100 design quality score with category breakdown |
|
|
304
|
+
| `/quick-audit` | 5-minute fast design audit: 6 binary checks |
|
|
305
|
+
| `/godmode` | The ultimate design transformation pipeline |
|
|
306
|
+
| `/figma` | Analyze a Figma file and extract its design DNA |
|
|
307
|
+
| `/steal` | Extract design DNA from a URL or Figma file |
|
|
308
|
+
| `/variants` | Generate 2-3 distinct visual directions with side-by-side previews |
|
|
309
|
+
| `/preview` | Generate visual previews of design directions or current tokens |
|
|
310
|
+
| `/evolve` | Iterative multi-round design refinement |
|
|
311
|
+
| `/mood` | Generate a complete design system from a mood word |
|
|
312
|
+
| `/preset` | Browse and apply curated design presets with visual previews |
|
|
313
|
+
| `/autorefine` | Binary evaluation loop: define criteria, mutate, iterate to 95%+ pass |
|
|
314
|
+
| `/backlog` | Create and manage a persistent design debt backlog |
|
|
315
|
+
| `/before-after` | Visual transformation report |
|
|
316
|
+
| `/compete` | Head-to-head design comparison |
|
|
258
317
|
|
|
259
318
|
---
|
|
260
319
|
|
|
@@ -318,3 +377,5 @@ These are not best practices. These are things that actually break in production
|
|
|
318
377
|
5. Every detail matters. The shadow radius, the letter spacing, the hover transition duration, the border color in dark mode. These are not small decisions.
|
|
319
378
|
6. **The Anti-Slop Gate (Step 0.5) must be completed before writing any design code.** No exceptions. If you cannot articulate specific, non-default commitments for font, color, layout, and differentiation, you are not ready to design. Go back to the references.
|
|
320
379
|
7. **Transformation means transformation.** When asked to redesign or improve a site, the result must be visually unrecognizable from the original. Changing CSS variables and swapping fonts is engineering, not design. A redesign changes the spatial logic, the visual hierarchy, the emotional register, and the layout structure. If someone could confuse the before and after, the redesign failed.
|
|
380
|
+
8. **The Visual Discovery Gate must complete before any design-level execution.** If `.picasso.md` does not exist, spawn the Picasso agent for full visual discovery. Do not attempt to run discovery in the main conversation. Do not skip the gallery. Do not substitute questions for visuals. The agent generates HTML samples, the user reacts, direction is confirmed, `.picasso.md` is created. Only then does execution begin.
|
|
381
|
+
9. **Post-execution validation is mandatory.** After implementing design changes, screenshot the result and compare against the `.picasso.md` direction. If the implementation drifts from the confirmed direction, fix it before delivering. Every major edit gets a screenshot. Not just at the end -- between each significant change.
|