/agent-skills:product-design-directionfrom Agent Skills
Set a distinctive visual design direction before writing UI code: for a new web product or feature area, a design overhaul, or a UI that feels generic or like default SaaS. Use before any UI implementation work.
Ships in Agent Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Invoke this skill before writing any UI code when:
Never skip this step. Vague direction ("feels premium") produces generic output. Concrete token values and per-screen principles produce consistent, intentional results. Establishing design direction before coding saves significant rework.
Before anything else, establish:
Who uses it and what's at stake emotionally?
What is the product's primary job?
Who are the design reference points?
Is this white-labeled?
Write 3–5 specific, concrete adjectives for the product. Not vague ("premium", "modern") — specific:
| Bad (vague) | Good (specific) |
|---|---|
| Premium | Measured, precise, unhurried |
| Modern | Stripped of decoration, purposeful |
| Friendly | Plain-spoken, never condescending |
| Clean | High signal-to-noise, no chrome for chrome's sake |
Then define:
Specify every token concretely. "A nice blue" is not a token. #1B2B5E is.
Primary color selection:
#3B82F6, #1a56db, #2563EB — these read as "I used Tailwind defaults"#1B2B5E), rich indigo (#3730A3), dark teal (#0F766E)#2563EB), sky (#0284C7)Background — never pure white for premium products:
#FAFAF8 (paper feel)#FAFBFC (digital/precise feel)#F9F8F5 (editorial feel)Surface: Usually #FFFFFF against off-white background to create subtle depth.
Full required token set:
:root {
/* Primary */
--color-primary: ;
--color-primary-hover: ;
--color-primary-active: ;
--color-primary-tint: ; /* 10% opacity for backgrounds */
--color-primary-foreground: ; /* text on primary bg — almost always white */
/* Backgrounds */
--color-background: ; /* page background */
--color-surface: ; /* card/panel background */
--color-surface-hover: ; /* hover state on surface */
--color-surface-raised: ; /* modals, popovers */
/* Text */
--color-text: ; /* headings — never pure black */
--color-text-secondary: ; /* body copy */
--color-text-muted: ; /* labels, captions */
--color-text-disabled: ;
/* Borders */
--color-border: ; /* default border */
--color-border-strong: ; /* emphasized border */
/* Status — minimal, semantic */
--color-success: ;
--color-warning: ;
--color-destructive: ;
--color-info: ;
/* Typography */
--font-display: ; /* serif/editorial — for headings */
--font-ui: ; /* sans — for all interface text */
--font-mono: ; /* for reference numbers, code */
/* Radius */
--radius-sm: ; /* inputs, small chips */
--radius-base: ; /* buttons, default */
--radius-md: ; /* cards */
--radius-lg: ; /* large cards, modals */
--radius-xl: ; /* hero containers */
--radius-full: 9999px; /* pills, avatars */
/* Shadows — use dark blue-black, not grey */
--shadow-sm: ; /* subtle card lift */
--shadow-base: ; /* default elevation */
--shadow-md: ; /* dropdowns, popovers */
--shadow-lg: ; /* modals */
/* Motion */
--duration-fast: 100ms;
--duration-base: 200ms;
--duration-slow: 350ms;
--ease-base: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
}
The pairing model:
Never use one font for everything in a premium product. The contrast between serif headings and clean sans UI is what creates sophistication.
Curated Google Fonts pairings by product personality:
| Personality | Display | UI | Feel |
|---|---|---|---|
| Financial / premium | DM Serif Display | DM Sans | Modern banking, precise |
| Financial / premium | Fraunces | Inter | Warm trust, editorial |
| Financial / trust | Playfair Display | Outfit | Classic, established |
| Modern SaaS | Sora | Sora | Unified, techy |
| Modern SaaS | Cabinet Grotesk | Inter | Startup, confident |
| Editorial / content | Lora | Instrument Sans | Readable, editorial |
| Consumer / friendly | Nunito | Nunito Sans | Approachable, rounded |
Typography scale rules:
#111928 or #0F172A for headings, #374151 for bodyAlways use an 8px system. Name the steps:
space-1: 4px (tight inline)space-2: 8px (compact)space-3: 12pxspace-4: 16px (default gap)space-6: 24px (section internal)space-8: 32px (section gap)space-12: 48px (major section)space-16: 64px (hero/page-level)sm: 4–6px — tags, badges, small chipsbase: 8px — inputs, buttonsmd: 12px — cards, panelslg: 16px — large cards, modalsxl: 24px — hero containers, featured sectionsUse dark blue-black (rgb(15 23 42 / 0.X)) not grey (rgb(0 0 0 / 0.X)):
sm: 0 1px 2px 0 rgb(15 23 42 / 0.05)base: 0 1px 3px 0 rgb(15 23 42 / 0.08), 0 1px 2px -1px rgb(15 23 42 / 0.05)md: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.05)lg: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.05)For each major screen/flow, document:
Example format:
## Wizard / Onboarding Flow
**Emotional intent:** Guided, calm, one thing at a time. Never overwhelming.
**Layout:** One question per screen. Full viewport focus. No sidebars.
**Typography:** Step heading in display font — large, warm, human.
"What's your goal?" reads as a conversation, not a form field.
**Signature element:** Option cards (not radio buttons).
Large, tappable, with clear selected state. The selected card
should feel chosen, not just checked.
**Anti-pattern:** A form with 6 fields on one screen.
Progress bar that looks like a loading indicator.
If the product needs multi-brand support:
The three-layer model:
themeConfig), injected as CSS vars.What to expose to tenants:
✅ Override: --color-primary and its scale
✅ Override: --font-display, --font-ui
✅ Override: --logo-url, --logo-width, --logo-height
✅ Override: --color-background, --color-surface
❌ Lock: spacing system
❌ Lock: motion/timing
❌ Lock: border radius system
❌ Lock: shadow system
Auto-generate the primary scale from one input:
When a lender sets primaryColor: "#E8342A" — don't make them specify 8 shades. Generate:
Admin UI copy guidance: Surface constraints to lenders in plain language:
"Your primary color is used for buttons, links, and active states. Dark colors work best — we'll generate all the tints automatically."
Identify 3–5 specific interactions that prove the design direction was actually implemented. These are the moments that make someone say "this feels premium."
For each, specify:
Examples:
If these moments aren't implemented, the design direction failed — no matter how good the tokens are.
Explicitly document what NOT to do. This is as important as the positive spec.
Format each as: Don't → Do
| Don't | Do |
|---|---|
Use pure white (#FFFFFF) as the page background | Use a subtle off-white (#FAFBFC) — adds depth |
| Use the same font for headings and body | Pair a display font for headings with a clean sans for UI |
| Use status rainbow colors (red/orange/yellow/green/blue for 5 states) | Use 3–4 semantic status colors maximum |
| Use heavy drop shadows | Use low-opacity, directional shadows with dark blue-black |
| Show multiple form fields per wizard step | One question, one decision per step |
| Use all-caps for labels | Sentence case everywhere |
Use generic #3B82F6 / #1a56db blue | Choose a primary that reads as intentional for this product |
| Use borders to create structure | Use whitespace and typography hierarchy |
| Animate everything | Animate the 3–5 moments that matter; everything else is instant |
The deliverable is a design direction document saved to the project vault:
Technology/[Product Name] — Design Direction.md
Structure:
default.css or equivalent)After writing the direction document, track these before starting UI code:
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (richardbowman/agent-skills) — no native marketplace selected
npx claudepluginhub p/richardbowman-agent-skills32 skills in this plugin
/backup-vercel-secretsBack up Vercel production and preview environment variables to 1Password as individual key/value fields. Use when the user wants to snapshot or archive their Vercel secrets for a project./brain-dumpInteractive knowledge extraction interviewer. Enters a structured interview mode to extract tacit knowledge from the user and saves a full transcript plus structured notes to the Obsidian vault./brainstormActive ideation partner. The assistant leads the session by proposing angles, surfacing frameworks, filling knowledge gaps, and challenging assumptions. Produces a structured Obsidian ideation doc and session transcript.Other plugins' skills for the same job