skills/ui-design/SKILL.md
Designs and builds UI end to end, from visual direction (palettes, type scales, design tokens, layout systems, landing-page CRO strategy, brand kits) to Tailwind implementation with the ui.sh design guideline system, including multiple variants with an in-browser picker, semantic markup scaffolds from screenshots, retrofitting dark mode or responsive behavior, and componentizing or canonicalizing Tailwind code. Use when asked to "build a landing page", "create a dashboard", "make this look good", "make this look premium", "pick a visual style", "design the UI for", "show me 3 hero options", "improve conversions", "create a brand kit", "turn this screenshot into markup", "add dark mode", "make a dark version of this image", "make this responsive", "fix this on mobile", "componentize this page", "clean up the Tailwind", or any prompt that designs, creates, or refines UI code. For auditing existing UI use ui-audit; for motion use ui-animation; for landing page copy use copywriting.
npx skillsauth add mblode/agent-skills ui-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Design and build UI: pick the visual direction, then implement it in code following the ui.sh design guideline system.
ui-audit); deep typography audits (use typography-audit); motion design (use ui-animation); landing-page copy (use copywriting).Pick exactly one mode from the user's wording, then load only that mode's files:
| Mode | Dispatch when the user asks for | Load |
|------|--------------------------------|------|
| Direction | visual direction, palettes, fonts, tokens, "make this look premium", "pick a style", conversion strategy, a brand kit; the deliverable is a spec, not code | the Direction section below |
| Build (default) | one design in code: "build a landing page", "create a dashboard", "add a pricing section" | design-guidelines.md plus every applicable rule file |
| Options | several directions, options, variants, or alternatives to compare in the browser: "show me 3 hero layouts", "a few ideas for this section" | ideas.md, plus the guidelines for each variant |
| Scaffold | semantic, unstyled markup from a screenshot, Figma export, mockup, or wireframe: "turn this screenshot into markup" | markup-from-image.md only; the scaffold stays unstyled |
| Dark mode | retrofitting dark mode onto existing UI, or a dark variant of an image: "add dark mode", "make a dark version of this image" | add-dark-mode.md; for raster images also dark-mode-image.md, which requires the imagegen skill (Codex) |
| Responsive | adapting existing desktop-oriented UI across breakpoints: "make this responsive", "fix this on mobile" | make-responsive.md |
| Componentize | extracting reusable components or cleaning up Tailwind class lists: "componentize this page", "clean up the Tailwind" | componentize.md; for class cleanup also canonicalize-tailwind.md |
Direction and Build chain naturally: when the user wants a new surface and no direction exists, run Direction first (or propose one inline for small surfaces), then Build. When a direction already exists in the project, go straight to Build.
The output is a decision set, not markup: a one-sentence visual thesis (mood, material, energy), palette as CSS variables, type pairing and scale, spacing grid, radius and depth strategy, the layout pattern for the primary surface, and for conversion pages the section sequence, CTA plan, and proof placement. Close with the track's litmus checks as the exit gate, then hand off to Build mode.
| Surface | Track | Optimises for | |---------|-------|---------------| | Dashboards, admin panels, data tables, settings pages, internal and dev tools | direction/product-ui.md | Information density, calm chrome, scanability, utility copy | | Landing pages, brand sites, promotional pages, portfolios, pricing pages | direction/marketing-ui.md | Visual impact, storytelling, one-CTA conversion flow |
Tie-breakers: a marketing site for a SaaS product is the marketing track; the app behind the login is the product track; design them separately. If the page's job is to convert a stranger, it's marketing. If its job is to let an operator work, it's product.
Load when the marketing track involves a landing page, signup flow, or any page with a conversion goal. Skip for pure brand/portfolio work and for all product UI.
| File | Read when | |------|-----------| | direction/cro.md | Choosing persuasion tactics, social proof, or page length, or writing a CRO plan: Cialdini's principles, proof credibility hierarchy, conversion benchmarks, Voice of Customer mining | | direction/testing.md | Optimising an existing page or planning experiments: test prioritisation, A/B vs multivariate, significance rules, heatmap insights, CTA statistics | | direction/modern.md | Tuning page speed, mobile-first conversion, personalisation, accessible copy, or microcopy |
For "create a brand kit", "generate a visual identity", or a brand direction board from a product idea, load direction/brand-kit.md. Rendering the final board needs the imagegen skill (Codex, gpt-image-2); in agents without it, deliver the direction as text plus the generated image prompt for the user to render.
guidelines/ folder).Rules:
Options mode follows ideas.md; Scaffold mode follows markup-from-image.md; Dark mode follows add-dark-mode.md; Responsive follows make-responsive.md; Componentize follows componentize.md.
Calibrate taste against gold-standard product and UI design. When making judgment calls the guidelines leave open, ask what these teams would ship, and channel the craft, not the trade dress:
A design that would look out of place beside these products is not done.
colors.md in Build mode produces the stock Tailwind look: indigo accents and gray-* neutrals, both banned as defaults.ui-audit: page-level quality and accessibility audit of the built resulttypography-audit: rule-level audit of existing typography; route "fix the fonts" on shipped CSS thereui-animation: motion timing, easing, and reviewcopywriting: landing-page copy, message match, persuasion frameworksoptimise-seo: meta descriptions and page titlesdevelopment
Collaborative interrogation that produces an implementation plan before any code is written. Explores the codebase and relevant docs first, asks one question at a time with a concrete recommended answer, grills the rationale behind documented decisions, flags fuzzy terminology, and walks a decision tree until shared understanding is reached, then writes a plan file. First step of the shipping pipeline; it creates plans, plan-reviewer stress-tests them, pr-creator opens the PR. Use when asked to "create a plan", "help me think through this", "plan this feature", "I want to build X", "grill me", "grill with docs", "understand the docs", "unpack the decisions", "brainstorm a spec", "what should the plan be", "think this through with me", or before starting any non-trivial implementation.
development
--- name: pr-reviewer description: Reviews the current local diff or branch and returns a read-only, severity-tiered findings report. It never edits files. Four modes: standard bug and compliance review, structural quality, AI slop detection, and whole-codebase security audit. Use when asked to run /pr-reviewer, "review my changes", or "code review" before commit, push, or handoff. "Thermo-nuclear review", "structural review", "deep code quality audit", "harsh maintainability review", and "code
development
--- name: ux-audit description: Feature-level UX audit for React/Next.js code, diff-aware by default. Catches what Lighthouse, axe, ESLint, and Storybook miss: state-coverage gaps (missing loading/empty/error), form data loss on validation, double-submit, broken focus management, optimistic UI without rollback, stale async responses, skeleton-induced layout shift, and vague microcopy. 33 modern failure-mode rules plus 30 Laws of UX rules across 12 feature playbooks. Produces a 3-tier ship-readin
development
Audits web UI quality at page or feature level across accessibility, keyboard interaction, forms, typography surface checks, navigation feedback, layout resilience, performance, motion, and microcopy. 35 prefix-dispatched rules plus craft and typography sweep checklists; reports findings by file with impact ratings and concrete fixes. Use when reviewing or refining frontend UI before merge or release, asking "check my UI", "is this accessible", "polish this page", "design QA this", or requesting a UI or accessibility audit. For code-level React/Next.js UX bugs in a diff (state coverage, focus management, optimistic UI), use ux-audit. For agentic-app patterns and trust design, use ax-audit. For deep typography (typeface pairing, brand identity, display type), use typography-audit. For motion implementation (springs, easing, gestures), use ui-animation.