web-design-skill
```markdown
What this skill does
```markdown
---
name: web-design-skill
description: Transform AI-generated web pages from functional to stunning using structured design system prompts, oklch color theory, curated font pairings, and anti-cliché rules.
triggers:
- make this page look better
- improve the design of this webpage
- transform this into a beautiful UI
- apply web design skill to this
- generate a stunning landing page
- use design system for this HTML
- make the UI less generic
- apply professional design to this component
---
# Web Design Engineer Skill
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
A reusable **SKILL.md** for AI coding agents (Claude Code, Cursor, Codex, etc.) that injects professional design taste into AI-generated HTML/CSS/JS artifacts. Inspired by the Claude Design system prompt, this skill transforms "functional but generic" output into editorial, high-quality visual work.
---
## What This Skill Does
When installed, this skill gives your AI agent:
- **Anti-cliché enforcement** — blocks overused AI design patterns (purple-pink gradients, emoji icons, Inter font, fake testimonials)
- **Design system declaration** — forces the agent to define tokens (colors, fonts, spacing, motion) in Markdown *before* writing code
- **oklch color theory** — perceptually uniform color derivation instead of arbitrary hex values
- **Curated font × color pairings** — six validated visual system starting points
- **Six-step structured workflow** — from requirements gathering to delivery verification
- **Placeholder philosophy** — `[icon]` markers instead of poorly drawn inline SVGs
---
## Installation
Copy the skill directory into your project:
```
your-project/
├── .agents/skills/web-design-engineer/
│ ├── SKILL.md # Main skill (~400 lines)
│ └── references/
│ └── advanced-patterns.md # Code template library (~520 lines)
└── src/
└── ...
```
For Claude Code specifically:
```
your-project/
└── .claude/skills/web-design-engineer/
├── SKILL.md
└── references/
└── advanced-patterns.md
```
Clone the repo and copy:
```bash
git clone https://github.com/ConardLi/web-design-skill.git
cp -r web-design-skill/.agents/skills/web-design-engineer your-project/.agents/skills/
```
Or for Claude Code:
```bash
cp -r web-design-skill/.agents/skills/web-design-engineer your-project/.claude/skills/
```
---
## The Six-Step Workflow
When triggered, the agent follows this structured process:
```
1. Understand requirements → Ask only when truly insufficient
2. Gather design context → Look at existing code/screenshots; never start blind
3. Declare design system → Colors, fonts, spacing, motion — in Markdown, before code
4. Show v0 draft early → Layout + tokens + placeholders; let user course-correct
5. Full build → Components, states, motion; pause at key decisions
6. Verify → Pre-delivery checklist; no console errors, no rogue hues
```
---
## Core Design Principles
### oklch Color System
Colors must be derived in oklch space for perceptual uniformity. Same `L` value = same perceived brightness across hues.
```css
:root {
/* Primary palette — blue-violet */
--color-primary-50: oklch(97% 0.02 270);
--color-primary-100: oklch(93% 0.05 270);
--color-primary-200: oklch(86% 0.10 270);
--color-primary-300: oklch(76% 0.15 270);
--color-primary-400: oklch(65% 0.20 270);
--color-primary-500: oklch(55% 0.24 270); /* brand */
--color-primary-600: oklch(46% 0.22 270);
--color-primary-700: oklch(38% 0.18 270);
--color-primary-800: oklch(28% 0.13 270);
--color-primary-900: oklch(18% 0.08 270);
/* Neutrals — warm-tinted to avoid clinical grey */
--color-neutral-50: oklch(98% 0.005 80);
--color-neutral-100: oklch(95% 0.008 80);
--color-neutral-200: oklch(88% 0.010 80);
--color-neutral-500: oklch(58% 0.010 80);
--color-neutral-900: oklch(14% 0.008 80);
/* Semantic */
--color-bg: var(--color-neutral-50);
--color-surface: oklch(100% 0 0);
--color-text: var(--color-neutral-900);
--color-muted: var(--color-neutral-500);
--color-accent: var(--color-primary-500);
}
```
### Typography System
```css
/* Import — never use Inter, Roboto, Arial, system-ui, or Fraunces */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&family=Newsreader:ital,opsz,wght@0,6..72,300..800;1,6..72,300..800&display=swap');
:root {
--font-display: 'Newsreader', Georgia, serif;
--font-body: 'Space Grotesk', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
/* Fluid type scale */
--text-xs: clamp(0.70rem, 0.65rem + 0.25vw, 0.75rem);
--text-sm: clamp(0.85rem, 0.80rem + 0.25vw, 0.875rem);
--text-base: clamp(1.00rem, 0.95rem + 0.25vw, 1.0625rem);
--text-lg: clamp(1.15rem, 1.05rem + 0.50vw, 1.25rem);
--text-xl: clamp(1.30rem, 1.15rem + 0.75vw, 1.5rem);
--text-2xl: clamp(1.60rem, 1.35rem + 1.25vw, 2.00rem);
--text-3xl: clamp(2.00rem, 1.60rem + 2.00vw, 2.75rem);
--text-4xl: clamp(2.50rem, 1.90rem + 3.00vw, 3.75rem);
--text-5xl: clamp(3.00rem, 2.10rem + 4.50vw, 5.00rem);
}
```
### Spacing & Layout Tokens
```css
:root {
/* 4px base grid */
--space-1: 0.25rem;
--space-2: 0.50rem;
--space-3: 0.75rem;
--space-4: 1.00rem;
--space-6: 1.50rem;
--space-8: 2.00rem;
--space-12: 3.00rem;
--space-16: 4.00rem;
--space-24: 6.00rem;
--space-32: 8.00rem;
/* Layout */
--max-w-content: 72rem;
--max-w-prose: 65ch;
--max-w-narrow: 42rem;
/* Grid */
--grid-cols-12: repeat(12, 1fr);
--grid-gap: clamp(1rem, 2vw, 2rem);
/* Radius */
--radius-sm: 0.25rem;
--radius-md: 0.5rem;
--radius-lg: 1.0rem;
--radius-full: 9999px;
/* Motion */
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 150ms;
--duration-base: 250ms;
--duration-slow: 400ms;
}
```
---
## Curated Color × Font Pairings
| Style | Primary Color | Fonts | Best For |
|---|---|---|---|
| Modern tech | `oklch(55% 0.24 270)` blue-violet | Space Grotesk + Inter | SaaS, dev tools |
| Elegant editorial | `oklch(42% 0.12 55)` warm brown | Newsreader + Outfit | Content, blogs |
| Premium brand | `oklch(20% 0.04 270)` near-black | Sora + Plus Jakarta Sans | Luxury, finance |
| Lively consumer | `oklch(62% 0.22 25)` coral | Plus Jakarta Sans + Outfit | E-commerce, social |
| Minimal professional | `oklch(52% 0.14 200)` teal-blue | Outfit + Space Grotesk | Dashboards, B2B |
| Artisan warmth | `oklch(58% 0.14 65)` caramel | Caveat + Newsreader | Food, education |
---
## Anti-Cliché Checklist
Before delivering any artifact, the agent must verify it does NOT contain:
```
✗ Purple-to-pink-to-blue gradient backgrounds
✗ Left-border accent cards
✗ Inter / Roboto / Arial / Fraunces / system-ui fonts
✗ Emoji used as icons (🚀 ✨ 💡 🎯 etc.)
✗ Fabricated statistics ("10,000+ users", "99.9% uptime")
✗ Fake logo walls ("Trusted by Google, Apple, Meta...")
✗ Dummy testimonials with generated avatar circles
✗ Rounded rectangles with drop shadows as the only card style
✗ Generic hero: big centered headline + subtitle + two buttons
✗ Hamburger menus that don't actually function
✗ Horizontal scrolling carousels on desktop
✗ "Glassmorphism" cards on gradient backgrounds
```
---
## Real Code Examples
### Design System Declaration (Step 3 output)
Before writing any code, the agent outputs a declaration like:
```markdown
## Design System: Nordic Photographer Portfolio
**Concept:** Paper-warm minimalism. Ink on vellum. Film-era restraint.
**Colors (oklch):**
- Background: oklch(96% 0.008 80) — warm paper
- Surface: oklch(100% 0 0) — pure white panels
- Ink: oklch(14% 0.008 80) — near-black
- Accent: oklch(52% 0.18 200) — muted teal
- Muted: oklch(58% 0.008 80) — mid-grey
**Typography:**
- Display: Instrument Serif, italic weight, optical size 32–72
- UI: Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.