picasso-skill 1.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/LICENSE +21 -0
- package/README.md +124 -0
- package/SKILL.md +202 -0
- package/bin/install.mjs +81 -0
- package/package.json +36 -0
- package/references/anti-patterns.md +95 -0
- package/references/color-and-contrast.md +174 -0
- package/references/component-patterns.md +113 -0
- package/references/design-system.md +176 -0
- package/references/generative-art.md +54 -0
- package/references/interaction-design.md +162 -0
- package/references/motion-and-animation.md +260 -0
- package/references/react-patterns.md +216 -0
- package/references/responsive-design.md +118 -0
- package/references/sensory-design.md +125 -0
- package/references/spatial-design.md +176 -0
- package/references/typography.md +168 -0
- package/skills/picasso/SKILL.md +202 -0
- package/skills/picasso/references/anti-patterns.md +95 -0
- package/skills/picasso/references/color-and-contrast.md +174 -0
- package/skills/picasso/references/component-patterns.md +113 -0
- package/skills/picasso/references/design-system.md +176 -0
- package/skills/picasso/references/generative-art.md +54 -0
- package/skills/picasso/references/interaction-design.md +162 -0
- package/skills/picasso/references/motion-and-animation.md +260 -0
- package/skills/picasso/references/react-patterns.md +216 -0
- package/skills/picasso/references/responsive-design.md +118 -0
- package/skills/picasso/references/sensory-design.md +125 -0
- package/skills/picasso/references/spatial-design.md +176 -0
- package/skills/picasso/references/typography.md +168 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Viperr
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Picasso
|
|
2
|
+
|
|
3
|
+
The ultimate AI design skill for producing distinctive, production-grade frontend interfaces.
|
|
4
|
+
|
|
5
|
+
Picasso consolidates best practices from 18+ sources into a single comprehensive skill that covers every dimension of frontend design: typography, color systems, spatial composition, motion, interaction patterns, responsive design, sound, haptics, icons, generative art, theming, React architecture, component taxonomy, configurable design intensity, and an exhaustive anti-patterns library.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
### Option 1: npx (Recommended)
|
|
10
|
+
|
|
11
|
+
Works with Claude Code, Cursor, Codex, and any agent that reads skill files:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Install to current project (Claude Code)
|
|
15
|
+
npx picasso-skill
|
|
16
|
+
|
|
17
|
+
# Install globally (all Claude Code projects)
|
|
18
|
+
npx picasso-skill --global
|
|
19
|
+
|
|
20
|
+
# Install for Cursor
|
|
21
|
+
npx picasso-skill --cursor
|
|
22
|
+
|
|
23
|
+
# Install for Codex
|
|
24
|
+
npx picasso-skill --codex
|
|
25
|
+
|
|
26
|
+
# Install to .agents/skills/
|
|
27
|
+
npx picasso-skill --agents
|
|
28
|
+
|
|
29
|
+
# Custom path
|
|
30
|
+
npx picasso-skill --path ./my-skills
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Option 2: One-Liner (no npm needed)
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Project-specific
|
|
37
|
+
git clone https://github.com/viperrcrypto/picasso.git /tmp/picasso && mkdir -p .claude/skills && cp -r /tmp/picasso/skills/picasso .claude/skills/picasso && rm -rf /tmp/picasso
|
|
38
|
+
|
|
39
|
+
# Global (all projects)
|
|
40
|
+
git clone https://github.com/viperrcrypto/picasso.git /tmp/picasso && cp -r /tmp/picasso/skills/picasso ~/.claude/skills/picasso && rm -rf /tmp/picasso
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Option 3: Manual
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
git clone https://github.com/viperrcrypto/picasso.git
|
|
47
|
+
cp -r picasso/skills/picasso ~/.claude/skills/picasso
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Option 4: Claude.ai (Consumer)
|
|
51
|
+
|
|
52
|
+
Upload `skills/picasso/SKILL.md` as a Custom Skill in Claude.ai settings. Upload the reference files alongside it for full coverage.
|
|
53
|
+
|
|
54
|
+
## What's Inside
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
skills/picasso/
|
|
58
|
+
SKILL.md # Main skill file
|
|
59
|
+
references/
|
|
60
|
+
typography.md # Type systems, font pairing, scales, OpenType
|
|
61
|
+
color-and-contrast.md # OKLCH, tinted neutrals, dark mode, a11y
|
|
62
|
+
spatial-design.md # Spacing scales, grids, visual hierarchy
|
|
63
|
+
motion-and-animation.md # Easing, staggering, text morphing, reduced motion
|
|
64
|
+
interaction-design.md # Forms, focus, loading, empty states, errors
|
|
65
|
+
responsive-design.md # Mobile-first, fluid, container queries
|
|
66
|
+
sensory-design.md # UI sounds, haptic feedback
|
|
67
|
+
react-patterns.md # Server/client components, state, performance
|
|
68
|
+
anti-patterns.md # What NOT to do (the most important file)
|
|
69
|
+
design-system.md # DESIGN.md generation, theming, tokens
|
|
70
|
+
generative-art.md # Algorithmic art, p5.js, seeded randomness
|
|
71
|
+
component-patterns.md # Standard naming, taxonomy, state matrix
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Configurable Settings
|
|
75
|
+
|
|
76
|
+
Three dials (1-10) control the design output:
|
|
77
|
+
|
|
78
|
+
| Setting | Low (1-3) | Mid (4-6) | High (7-10) |
|
|
79
|
+
|---|---|---|---|
|
|
80
|
+
| **DESIGN_VARIANCE** | Clean, centered, conventional | Considered asymmetry | Avant-garde, overlapping, unconventional |
|
|
81
|
+
| **MOTION_INTENSITY** | Hover states and fades only | Staggered reveals, scroll-triggered | Magnetic cursors, parallax, complex choreography |
|
|
82
|
+
| **VISUAL_DENSITY** | Spacious, luxury | Balanced whitespace | Dense dashboards, data-heavy |
|
|
83
|
+
|
|
84
|
+
## 21 Commands
|
|
85
|
+
|
|
86
|
+
| Command | Effect |
|
|
87
|
+
|---|---|
|
|
88
|
+
| `/audit` | Technical quality check: a11y, performance, responsive |
|
|
89
|
+
| `/critique` | UX design review: hierarchy, clarity, resonance |
|
|
90
|
+
| `/polish` | Final pass: spacing, transitions, copy refinement |
|
|
91
|
+
| `/simplify` | Strip to essence |
|
|
92
|
+
| `/animate` | Add purposeful motion |
|
|
93
|
+
| `/bolder` | Amplify timid designs |
|
|
94
|
+
| `/quieter` | Tone down aggressive designs |
|
|
95
|
+
| `/normalize` | Align with design system standards |
|
|
96
|
+
| `/theme` | Generate or apply a theme |
|
|
97
|
+
| `/sound` | Add UI sound effects |
|
|
98
|
+
| `/haptics` | Add haptic feedback |
|
|
99
|
+
| `/redesign` | Audit existing project, fix systematically |
|
|
100
|
+
| `/soft` | Premium soft aesthetic preset |
|
|
101
|
+
| `/minimalist` | Editorial minimalism preset |
|
|
102
|
+
| `/brutalist` | Raw mechanical aesthetic preset |
|
|
103
|
+
| `/stitch` | Generate Google Stitch DESIGN.md |
|
|
104
|
+
| `/clarify` | Improve unclear UX copy |
|
|
105
|
+
| `/harden` | Error handling, i18n, edge cases |
|
|
106
|
+
| `/colorize` | Introduce strategic color |
|
|
107
|
+
| `/delight` | Add moments of joy |
|
|
108
|
+
| `/extract` | Pull into reusable components |
|
|
109
|
+
|
|
110
|
+
## Sources
|
|
111
|
+
|
|
112
|
+
Built on 18+ sources including [Anthropic's official skills](https://github.com/anthropics/skills), [Impeccable](https://github.com/pbakaus/impeccable), [Taste Skill](https://github.com/Leonxlnx/taste-skill), [VoltAgent/awesome-design-md](https://github.com/VoltAgent/awesome-design-md), [Component Gallery](https://component.gallery/), [Torph](https://torph.lochie.me/), [Soundcn](https://github.com/kapishdima/soundcn), [Vercel agent-skills](https://github.com/vercel-labs/agent-skills), and more. See the full attribution list in the skill file.
|
|
113
|
+
|
|
114
|
+
## The Non-Negotiables
|
|
115
|
+
|
|
116
|
+
1. No design should look like AI made it.
|
|
117
|
+
2. Every design must have a clear aesthetic point of view.
|
|
118
|
+
3. Match implementation complexity to vision.
|
|
119
|
+
4. Text is always a design element.
|
|
120
|
+
5. Every detail matters.
|
|
121
|
+
|
|
122
|
+
## License
|
|
123
|
+
|
|
124
|
+
MIT
|
package/SKILL.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: picasso
|
|
3
|
+
description: >
|
|
4
|
+
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.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Picasso
|
|
8
|
+
|
|
9
|
+
The ultimate design skill for producing distinctive, production-grade frontend interfaces, visual artifacts, and design systems. This skill consolidates best practices from Anthropic's frontend-design, canvas-design, algorithmic-art, and theme-factory skills, Impeccable's 7-domain reference system, VoltAgent's DESIGN.md format, Vercel's React and typography standards, and specialized libraries for sound, haptics, icons, and text animation.
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Configurable Settings
|
|
16
|
+
|
|
17
|
+
These three dials (1-10) control the overall character of the output. Adjust based on what is being built. The user can set these explicitly or they can be inferred from context.
|
|
18
|
+
|
|
19
|
+
- **DESIGN_VARIANCE** (default: 6) — How experimental the layout is. 1-3: clean, centered, conventional. 4-6: considered asymmetry, intentional breaks. 7-10: avant-garde, overlapping elements, unconventional grids.
|
|
20
|
+
- **MOTION_INTENSITY** (default: 5) — How much animation is present. 1-3: hover states and fades only. 4-6: staggered reveals, scroll-triggered, text morphing. 7-10: magnetic cursors, parallax, complex choreography.
|
|
21
|
+
- **VISUAL_DENSITY** (default: 5) — How much content fits on one screen. 1-3: spacious, luxury, breathing room. 4-6: balanced, structured whitespace. 7-10: dense dashboards, data-heavy, compact.
|
|
22
|
+
|
|
23
|
+
When the user says "make it premium" or "luxury feel," drop VISUAL_DENSITY to 2-3 and MOTION_INTENSITY to 4-5. When they say "dashboard" or "admin panel," raise VISUAL_DENSITY to 7-8. When they say "make it pop" or "wow factor," raise DESIGN_VARIANCE and MOTION_INTENSITY to 7-8.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Step 0: Read the Right References
|
|
28
|
+
|
|
29
|
+
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
|
+
|
|
31
|
+
| Reference File | When to Read |
|
|
32
|
+
|---|---|
|
|
33
|
+
| `references/typography.md` | Any task involving text, fonts, headings, or type hierarchy |
|
|
34
|
+
| `references/color-and-contrast.md` | Color palettes, dark mode, accessibility, tinted neutrals |
|
|
35
|
+
| `references/spatial-design.md` | Layout, spacing, grids, visual hierarchy, whitespace |
|
|
36
|
+
| `references/motion-and-animation.md` | Transitions, scroll effects, text morphing, micro-interactions |
|
|
37
|
+
| `references/interaction-design.md` | Forms, focus states, loading, empty states, error handling |
|
|
38
|
+
| `references/responsive-design.md` | Mobile-first, fluid, container queries, touch targets |
|
|
39
|
+
| `references/sensory-design.md` | UI sound effects, haptic feedback, multi-sensory interfaces |
|
|
40
|
+
| `references/react-patterns.md` | React/Next.js component architecture, hooks, performance |
|
|
41
|
+
| `references/anti-patterns.md` | Explicit list of what NOT to do (the most important reference) |
|
|
42
|
+
| `references/design-system.md` | Generating DESIGN.md files, theming, systematic tokens |
|
|
43
|
+
| `references/generative-art.md` | Algorithmic art, p5.js, seeded randomness, flow fields |
|
|
44
|
+
| `references/component-patterns.md` | Standard component naming, taxonomy, and state patterns |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Step 1: Design Thinking
|
|
49
|
+
|
|
50
|
+
Before writing a single line of code, answer these questions internally:
|
|
51
|
+
|
|
52
|
+
**Purpose.** What problem does this interface solve? Who uses it? What is the single most important action?
|
|
53
|
+
|
|
54
|
+
**Tone.** Commit to a specific aesthetic direction. Not "clean and modern" (that is meaningless). Pick something with teeth: brutalist, editorial, retro-terminal, luxury serif, toy-like, industrial, organic, Swiss grid, art deco, vaporwave, newspaper broadsheet, scientific journal, or something entirely original. The direction should be informed by the content, not applied generically.
|
|
55
|
+
|
|
56
|
+
**Differentiation.** What makes this unforgettable? What is the one thing someone will remember after closing the tab? If there is no answer, the design is not ready.
|
|
57
|
+
|
|
58
|
+
**Constraints.** Framework requirements, accessibility targets, performance budgets, existing design tokens.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Step 2: Aesthetic Execution
|
|
63
|
+
|
|
64
|
+
### Typography
|
|
65
|
+
|
|
66
|
+
Choose fonts that are distinctive, not default. Never use Inter, Roboto, Arial, or system fonts as primary choices. Pair a display font with a body font. Use a modular type scale (1.25 or 1.333 ratio). Set line heights between 1.4 and 1.6 for body text. Use OpenType features (ligatures, tabular numbers, small caps) when the font supports them. See `references/typography.md` for the full system.
|
|
67
|
+
|
|
68
|
+
### Color
|
|
69
|
+
|
|
70
|
+
Build palettes with intention. Use OKLCH for perceptually uniform color manipulation. Always tint neutrals (never use pure gray or pure black). Dominant color with sharp accent outperforms evenly distributed palettes. Test contrast ratios: 4.5:1 minimum for body text, 3:1 for large text and UI elements. See `references/color-and-contrast.md`.
|
|
71
|
+
|
|
72
|
+
### Spatial Composition
|
|
73
|
+
|
|
74
|
+
Use a spacing scale (4px base: 4, 8, 12, 16, 24, 32, 48, 64, 96). Asymmetric layouts, overlapping elements, diagonal flow, and grid-breaking moments create visual interest. Generous negative space communicates confidence. Dense layouts need careful rhythm. See `references/spatial-design.md`.
|
|
75
|
+
|
|
76
|
+
### Backgrounds and Visual Depth
|
|
77
|
+
|
|
78
|
+
Never default to flat solid colors. Create atmosphere with gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, grain overlays, or subtle backdrop filters. Depth comes from elevation systems: consistent shadow scales, surface hierarchy, and z-index discipline.
|
|
79
|
+
|
|
80
|
+
### Motion
|
|
81
|
+
|
|
82
|
+
One well-orchestrated page load with staggered reveals (using animation-delay) creates more impact than scattered micro-interactions. Use CSS transitions for simple state changes. Use `framer-motion` or the Motion library for React when choreography matters. Never use bounce or elastic easing (it looks dated). Respect `prefers-reduced-motion`. See `references/motion-and-animation.md`.
|
|
83
|
+
|
|
84
|
+
### Text Animation
|
|
85
|
+
|
|
86
|
+
For text morphing effects (counters, status changes, tab labels), use `torph` (dependency-free, works with React/Vue/Svelte). Import as `import { TextMorph } from 'torph/react'` and wrap any text that changes dynamically.
|
|
87
|
+
|
|
88
|
+
### Sound
|
|
89
|
+
|
|
90
|
+
For UI sound feedback (clicks, notifications, transitions), use the soundcn pattern: inline base64 audio data URIs with a `useSound` hook via Web Audio API. Zero dependencies. See `references/sensory-design.md`.
|
|
91
|
+
|
|
92
|
+
### Haptics
|
|
93
|
+
|
|
94
|
+
For mobile web, use the WebHaptics pattern via the Vibration API (`navigator.vibrate()`) to provide tactile feedback on button presses, toggles, and destructive actions. Always gate behind feature detection and user preference. See `references/sensory-design.md`.
|
|
95
|
+
|
|
96
|
+
### Icons
|
|
97
|
+
|
|
98
|
+
Use Lucide React as the default icon library (`lucide-react`). For broader searches across 200K+ icons from 150+ collections, use the `better-icons` CLI pattern: search by keyword, retrieve SVG, sync to project. Prefer outline style for UI, solid for emphasis.
|
|
99
|
+
|
|
100
|
+
### Avatars and Identity
|
|
101
|
+
|
|
102
|
+
For deterministic avatar generation from strings (usernames, emails, UUIDs), use the Facehash pattern: a React component that generates unique face avatars. Same input always produces the same face. Zero external assets.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Step 3: Implementation Standards
|
|
107
|
+
|
|
108
|
+
### Single-File Artifacts
|
|
109
|
+
|
|
110
|
+
When building for claude.ai artifacts (HTML or React), everything goes in one file. No external CSS files, no separate JS. Inline everything. For HTML artifacts, import external scripts only from `https://cdnjs.cloudflare.com`. For React artifacts, use only available libraries (lucide-react, recharts, d3, Three.js r128, Tone, shadcn/ui, Tailwind core utilities, lodash, mathjs, papaparse, Chart.js).
|
|
111
|
+
|
|
112
|
+
### React Best Practices
|
|
113
|
+
|
|
114
|
+
Follow these rules (see `references/react-patterns.md` for details):
|
|
115
|
+
|
|
116
|
+
- Server Components by default, `'use client'` only when needed
|
|
117
|
+
- Colocate state with the component that uses it
|
|
118
|
+
- Prefer composition over prop drilling
|
|
119
|
+
- Use `Suspense` boundaries with meaningful fallbacks
|
|
120
|
+
- Never store derived state, compute it during render
|
|
121
|
+
- Use semantic HTML elements, not `div` soup
|
|
122
|
+
- Memoize expensive computations, not everything
|
|
123
|
+
- Default export for page/route components, named exports for utilities
|
|
124
|
+
|
|
125
|
+
### CSS Variables for Theming
|
|
126
|
+
|
|
127
|
+
Always define a CSS variable system for colors, spacing, typography, and shadows. This makes themes swappable and dark mode trivial.
|
|
128
|
+
|
|
129
|
+
```css
|
|
130
|
+
:root {
|
|
131
|
+
--color-surface: #fafaf9;
|
|
132
|
+
--color-text: #1c1917;
|
|
133
|
+
--color-accent: #dc2626;
|
|
134
|
+
--radius: 8px;
|
|
135
|
+
--shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.05);
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Accessibility Defaults
|
|
140
|
+
|
|
141
|
+
Every interface must include: visible focus indicators (never `outline: none` without replacement), sufficient color contrast, keyboard navigability, ARIA labels on interactive elements without visible text, and `alt` text on meaningful images. Do not treat accessibility as optional.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Step 4: Audit and Polish
|
|
146
|
+
|
|
147
|
+
Before delivering any interface, run this mental checklist:
|
|
148
|
+
|
|
149
|
+
1. **Typography audit.** Is there a clear type hierarchy? Are fonts loaded and rendering? Is body text readable at default zoom?
|
|
150
|
+
2. **Color audit.** Does the palette feel cohesive? Do accents draw the eye to the right places? Does it work in both light and dark contexts?
|
|
151
|
+
3. **Spatial audit.** Is spacing consistent? Are elements aligned to an invisible grid? Is there breathing room?
|
|
152
|
+
4. **Interaction audit.** Do all interactive elements have hover, focus, and active states? Are transitions smooth? Is there loading feedback?
|
|
153
|
+
5. **Responsive audit.** Does it work on 375px wide screens? Does it scale gracefully to ultrawide?
|
|
154
|
+
6. **Motion audit.** Does the page load feel choreographed? Are transitions purposeful? Does `prefers-reduced-motion` disable non-essential animation?
|
|
155
|
+
7. **Accessibility audit.** Can you tab through the entire interface? Are contrast ratios sufficient? Do screen readers make sense of the structure?
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Step 5: Design System Generation
|
|
160
|
+
|
|
161
|
+
When asked to create a design system or DESIGN.md, follow the VoltAgent/Stitch format. See `references/design-system.md` for the complete template covering: visual theme and atmosphere, color palette with semantic roles, typography hierarchy, component styling (buttons, cards, inputs, navigation with states), layout principles, depth and elevation system, explicit dos and don'ts, responsive behavior, and an agent prompt guide.
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Step 6: Generative and Canvas Art
|
|
166
|
+
|
|
167
|
+
When the task involves algorithmic art, generative visuals, or static poster/print design, see `references/generative-art.md`. The process: write an algorithmic philosophy (4-6 paragraphs), then express it through p5.js code with seeded randomness, parameter controls, and seed navigation.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Commands
|
|
172
|
+
|
|
173
|
+
These optional directives can be used to steer design refinement:
|
|
174
|
+
|
|
175
|
+
| Command | Effect |
|
|
176
|
+
|---|---|
|
|
177
|
+
| `/audit` | Technical quality check: accessibility, performance, responsive |
|
|
178
|
+
| `/critique` | UX design review: hierarchy, clarity, emotional resonance |
|
|
179
|
+
| `/polish` | Final pass: refine spacing, transitions, copy |
|
|
180
|
+
| `/simplify` | Strip to essence, remove visual noise |
|
|
181
|
+
| `/animate` | Add purposeful motion and transitions |
|
|
182
|
+
| `/bolder` | Amplify timid designs with stronger visual choices |
|
|
183
|
+
| `/quieter` | Tone down overly aggressive designs |
|
|
184
|
+
| `/normalize` | Align with design system standards |
|
|
185
|
+
| `/theme` | Generate or apply a color/font theme |
|
|
186
|
+
| `/sound` | Add UI sound effects to interactions |
|
|
187
|
+
| `/haptics` | Add haptic feedback for mobile web |
|
|
188
|
+
| `/redesign` | Audit an existing project, identify design problems, fix them systematically |
|
|
189
|
+
| `/soft` | Apply premium soft aesthetic: generous whitespace, depth, smooth spring animations |
|
|
190
|
+
| `/minimalist` | Apply editorial minimalism: monochrome, crisp borders, inspired by Linear/Notion |
|
|
191
|
+
| `/brutalist` | Apply raw mechanical aesthetic: Swiss typography meets CRT terminal |
|
|
192
|
+
| `/stitch` | Generate a Google Stitch-compatible DESIGN.md for the current project |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## The Non-Negotiables
|
|
197
|
+
|
|
198
|
+
1. No design should ever look like "AI made this." No purple gradients on white. No Inter font. No centered everything. No cards nested in cards. No gray text on colored backgrounds.
|
|
199
|
+
2. Every design must have a clear aesthetic point of view. If it could belong to any product, it belongs to none.
|
|
200
|
+
3. Match implementation complexity to vision. Maximalist designs need elaborate code. Minimalist designs need surgical precision. Both require the same level of care.
|
|
201
|
+
4. Text is always a design element, never an afterthought.
|
|
202
|
+
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.
|
package/bin/install.mjs
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { existsSync, mkdirSync, cpSync, readdirSync } from "fs";
|
|
4
|
+
import { resolve, join, dirname } from "path";
|
|
5
|
+
import { fileURLToPath } from "url";
|
|
6
|
+
|
|
7
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
|
+
const packageRoot = resolve(__dirname, "..");
|
|
9
|
+
const skillSource = join(packageRoot, "skills", "picasso");
|
|
10
|
+
|
|
11
|
+
const args = process.argv.slice(2);
|
|
12
|
+
const command = args[0] || "install";
|
|
13
|
+
|
|
14
|
+
if (command === "help" || command === "--help" || command === "-h") {
|
|
15
|
+
console.log(`
|
|
16
|
+
picasso-skill - The ultimate AI design skill
|
|
17
|
+
|
|
18
|
+
Usage:
|
|
19
|
+
npx picasso-skill Install to current project (.claude/skills/)
|
|
20
|
+
npx picasso-skill --global Install globally (~/.claude/skills/)
|
|
21
|
+
npx picasso-skill --cursor Install for Cursor (.cursor/skills/)
|
|
22
|
+
npx picasso-skill --codex Install for Codex (~/.codex/skills/)
|
|
23
|
+
npx picasso-skill --agents Install to .agents/skills/
|
|
24
|
+
npx picasso-skill --path DIR Install to a custom directory
|
|
25
|
+
`);
|
|
26
|
+
process.exit(0);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
let targetDir;
|
|
30
|
+
|
|
31
|
+
if (args.includes("--global") || args.includes("-g")) {
|
|
32
|
+
const home = process.env.HOME || process.env.USERPROFILE;
|
|
33
|
+
targetDir = join(home, ".claude", "skills", "picasso");
|
|
34
|
+
} else if (args.includes("--cursor")) {
|
|
35
|
+
targetDir = join(process.cwd(), ".cursor", "skills", "picasso");
|
|
36
|
+
} else if (args.includes("--codex")) {
|
|
37
|
+
const home = process.env.HOME || process.env.USERPROFILE;
|
|
38
|
+
targetDir = join(home, ".codex", "skills", "picasso");
|
|
39
|
+
} else if (args.includes("--agents")) {
|
|
40
|
+
targetDir = join(process.cwd(), ".agents", "skills", "picasso");
|
|
41
|
+
} else if (args.includes("--path")) {
|
|
42
|
+
const pathIdx = args.indexOf("--path");
|
|
43
|
+
const customPath = args[pathIdx + 1];
|
|
44
|
+
if (!customPath) {
|
|
45
|
+
console.error("Error: --path requires a directory argument");
|
|
46
|
+
process.exit(1);
|
|
47
|
+
}
|
|
48
|
+
targetDir = resolve(customPath, "picasso");
|
|
49
|
+
} else {
|
|
50
|
+
// Default: project-level Claude Code
|
|
51
|
+
targetDir = join(process.cwd(), ".claude", "skills", "picasso");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
console.log(`\n Installing Picasso skill to: ${targetDir}\n`);
|
|
55
|
+
|
|
56
|
+
try {
|
|
57
|
+
mkdirSync(targetDir, { recursive: true });
|
|
58
|
+
mkdirSync(join(targetDir, "references"), { recursive: true });
|
|
59
|
+
|
|
60
|
+
// Copy SKILL.md
|
|
61
|
+
cpSync(join(skillSource, "SKILL.md"), join(targetDir, "SKILL.md"));
|
|
62
|
+
|
|
63
|
+
// Copy all reference files
|
|
64
|
+
const refs = readdirSync(join(skillSource, "references"));
|
|
65
|
+
for (const ref of refs) {
|
|
66
|
+
cpSync(
|
|
67
|
+
join(skillSource, "references", ref),
|
|
68
|
+
join(targetDir, "references", ref)
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
console.log(` Done! Installed ${1 + refs.length} files:`);
|
|
73
|
+
console.log(` SKILL.md`);
|
|
74
|
+
for (const ref of refs) {
|
|
75
|
+
console.log(` references/${ref}`);
|
|
76
|
+
}
|
|
77
|
+
console.log(`\n Picasso is ready. Start designing.\n`);
|
|
78
|
+
} catch (err) {
|
|
79
|
+
console.error(` Error installing: ${err.message}`);
|
|
80
|
+
process.exit(1);
|
|
81
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "picasso-skill",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "The ultimate AI design skill for producing distinctive, production-grade frontend interfaces",
|
|
5
|
+
"bin": {
|
|
6
|
+
"picasso-skill": "./bin/install.mjs"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"claude",
|
|
10
|
+
"claude-code",
|
|
11
|
+
"skill",
|
|
12
|
+
"design",
|
|
13
|
+
"frontend",
|
|
14
|
+
"ui",
|
|
15
|
+
"ux",
|
|
16
|
+
"cursor",
|
|
17
|
+
"codex",
|
|
18
|
+
"ai-agent",
|
|
19
|
+
"tailwind",
|
|
20
|
+
"react"
|
|
21
|
+
],
|
|
22
|
+
"author": "viperrcrypto",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/viperrcrypto/picasso.git"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/viperrcrypto/picasso",
|
|
29
|
+
"files": [
|
|
30
|
+
"bin/",
|
|
31
|
+
"skills/",
|
|
32
|
+
"SKILL.md",
|
|
33
|
+
"references/",
|
|
34
|
+
"LICENSE"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Anti-Patterns Reference
|
|
2
|
+
|
|
3
|
+
This is the most important reference file. These are the patterns that make AI-generated interfaces immediately recognizable. Avoid all of them.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Typography Anti-Patterns
|
|
8
|
+
|
|
9
|
+
- **Inter everywhere.** The default safe choice. It signals "I did not think about fonts."
|
|
10
|
+
- **Roboto, Arial, Helvetica, system-ui as primary.** Same problem.
|
|
11
|
+
- **Space Grotesk on repeat.** Overused in AI/crypto contexts. Pick something else.
|
|
12
|
+
- **Light (300) weight for body text.** Hard to read on most screens.
|
|
13
|
+
- **Centered paragraphs.** Center alignment works for 1-2 lines (headings, quotes). Never for body text.
|
|
14
|
+
- **No max-width on text.** Lines spanning 1400px are unreadable. Cap at 600-750px for body text.
|
|
15
|
+
- **All caps without letter-spacing.** All-caps text needs 0.08-0.15em spacing to be legible.
|
|
16
|
+
- **More than 3 font families.** Two is ideal. Three is the maximum.
|
|
17
|
+
- **Font size under 14px for body text.** Especially on mobile.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Color Anti-Patterns
|
|
22
|
+
|
|
23
|
+
- **Purple gradient on white background.** The signature AI slop aesthetic.
|
|
24
|
+
- **Pure black text (#000000).** Always use tinted near-black (e.g., oklch(0.15 0.02 260)).
|
|
25
|
+
- **Pure gray (#808080, #cccccc).** Always tint neutrals toward the palette hue.
|
|
26
|
+
- **Gray text on colored backgrounds.** Creates low contrast and looks washed out.
|
|
27
|
+
- **Full-saturation brand colors for large surfaces.** Reserve maximum chroma for small accents. Large areas need reduced saturation.
|
|
28
|
+
- **Too many accent colors.** One primary, one secondary maximum. More creates visual chaos.
|
|
29
|
+
- **Using opacity instead of actual color values.** opacity:0.5 on colored elements creates inconsistent results depending on background.
|
|
30
|
+
- **No dark mode consideration.** Even if not implementing dark mode, design with the possibility in mind.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Layout Anti-Patterns
|
|
35
|
+
|
|
36
|
+
- **Everything centered vertically and horizontally.** Creates a lifeless vertical highway. Use left-aligned content with intentional centering for specific elements.
|
|
37
|
+
- **Cards nested inside cards.** One level of card is usually enough. Nesting creates visual confusion about hierarchy.
|
|
38
|
+
- **Wrapping everything in cards.** Not every piece of content needs a container with rounded corners and a shadow. Sometimes flat sections, dividers, or whitespace work better.
|
|
39
|
+
- **Uniform rounded corners on everything.** Vary border-radius by context: pills for tags (999px), subtle rounding for cards (8-12px), sharper for data elements (4px).
|
|
40
|
+
- **Equal spacing everywhere.** Groups need tighter internal spacing and wider external spacing. Without this, there is no visual structure.
|
|
41
|
+
- **Three or four equal columns at every breakpoint.** Asymmetric grids (2:1, 3:2) are more interesting and create clearer hierarchy.
|
|
42
|
+
- **Content that could belong to any product.** If the layout has no personality, the design is not done.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Motion Anti-Patterns
|
|
47
|
+
|
|
48
|
+
- **Bounce/elastic easing.** Feels dated and gimmicky. Use ease-out curves.
|
|
49
|
+
- **Animating everything on the page.** Creates visual noise. Animate the important moments.
|
|
50
|
+
- **transition: all 0.3s.** Animates properties you did not intend. Be specific: `transition: opacity 0.2s, transform 0.3s`.
|
|
51
|
+
- **No loading feedback.** User clicks a button and nothing happens for 2 seconds. Always show progress.
|
|
52
|
+
- **Spinner for content areas.** Use skeleton screens instead. Spinners should be reserved for small inline actions.
|
|
53
|
+
- **Animation without prefers-reduced-motion handling.** Always provide a reduced-motion path.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Interaction Anti-Patterns
|
|
58
|
+
|
|
59
|
+
- **Placeholder text as the only label.** Disappears on focus. Inaccessible.
|
|
60
|
+
- **outline: none without replacement.** Keyboard users lose all orientation.
|
|
61
|
+
- **Hover-only interactions.** Must have keyboard and touch equivalents.
|
|
62
|
+
- **Custom scrollbars that break native behavior.** Users expect scrolling to work natively.
|
|
63
|
+
- **Toast notifications for errors.** They disappear. Use inline error messages instead.
|
|
64
|
+
- **Alert/confirm dialogs for minor actions.** Blocking the entire page for "Are you sure?" on non-destructive actions.
|
|
65
|
+
- **No focus trapping in modals.** Tab key escapes the modal and the user gets lost.
|
|
66
|
+
- **Links that look like buttons and buttons that look like links.** Use the correct element for the correct purpose.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Code Anti-Patterns
|
|
71
|
+
|
|
72
|
+
- **div soup.** Use semantic HTML: nav, main, section, article, aside, header, footer.
|
|
73
|
+
- **Inline styles for everything.** Use CSS variables, modules, or Tailwind. Inline styles cannot be overridden or themed.
|
|
74
|
+
- **!important everywhere.** If specificity requires !important, the CSS architecture is broken.
|
|
75
|
+
- **z-index: 9999.** Use a z-index scale (1, 10, 20, 30...) with named CSS variables.
|
|
76
|
+
- **Fixed pixel values for everything.** Use rem for typography and spacing, em for component-internal sizing, px only for borders and shadows.
|
|
77
|
+
- **console.log left in production.** Clean it up.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Content Anti-Patterns
|
|
82
|
+
|
|
83
|
+
- **"Lorem ipsum" in final deliverables.** Use real or realistic content. Design without content is decoration.
|
|
84
|
+
- **Stock photo people smiling at laptops.** If using imagery, make it contextual.
|
|
85
|
+
- **"Click here" link text.** Links should describe their destination: "View documentation" not "Click here".
|
|
86
|
+
- **"Submit" button text.** Use the specific action: "Create account", "Send message", "Save changes".
|
|
87
|
+
- **Walls of text without hierarchy.** Break content with headings, spacing, and visual rhythm.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## The Overall Pattern to Avoid
|
|
92
|
+
|
|
93
|
+
The "AI slop" aesthetic is recognizable by its combination of: Inter/Roboto font, purple/blue gradient accents, evenly spaced centered layouts, uniform card grids with identical rounded corners, and generic stock imagery. Any single element might be fine in isolation. Together, they signal "an AI made this with zero human judgment."
|
|
94
|
+
|
|
95
|
+
The antidote is intentionality. Every choice (font, color, spacing, layout, animation) should be a conscious decision tied to the specific context of what you are building.
|