From mblode-agent-skills
Designs and builds UI: visual direction, Tailwind implementation, browser-comparable variants, screenshot-to-markup scaffolds, dark-mode and responsive retrofits, component extraction, and Tailwind cleanup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mblode-agent-skills:ui-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Pick the visual direction, then implement it in code via the ui.sh design guideline system.
add-dark-mode.mdcanonicalize-tailwind.mdcomponentize.mddark-mode-image.mddesign-guidelines.mddirection/aesthetic-direction.mddirection/brand-kit-prompt.mddirection/cro.mddirection/design-in-code.mddirection/marketing-ui.mddirection/modern.mddirection/product-ui.mddirection/testing.mdguidelines/assets-api.mdguidelines/avatars.mdguidelines/badges.mdguidelines/border-radius.mdguidelines/buttons.mdguidelines/colors.mdguidelines/copywriting.mdPick the visual direction, then implement it in code via the ui.sh design guideline system.
product-design); auditing existing UI quality (use ui-audit); deep typography audits (use typography-audit); motion design (use ui-animation); landing-page copy (use copywriting).Pick one mode from the user's wording; 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; 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, then the applicable rule files from its index |
| Options | variants to compare in the browser: "show me 3 hero layouts", "a few ideas for this section" | ideas.md plus the guidelines per variant |
| Scaffold | semantic, unstyled markup from a screenshot, Figma export, mockup, or wireframe: "turn this screenshot into markup" | markup-from-image.md only; scaffold stays unstyled |
| Dark mode | 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 (requires the imagegen skill, Codex) |
| Responsive | desktop UI across breakpoints: "make this responsive", "fix this on mobile" | make-responsive.md |
| Componentize | extracting components or cleaning up Tailwind classes: "componentize this page", "clean up the Tailwind" | componentize.md; for cleanup also canonicalize-tailwind.md |
Direction and Build chain: for a new surface with no direction, run Direction first (or propose one inline for small surfaces), then Build. If a direction already exists in the project, go straight to Build.
Output 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 product. Design them separately. Convert a stranger = marketing; let an operator work = product.
Load when the marketing track has a conversion goal (landing page, signup flow). Skip for pure brand/portfolio work and all product UI.
| File | Read when |
|---|---|
| direction/cro.md | Persuasion tactics, social proof, page length, or a CRO plan: Cialdini's principles, proof credibility hierarchy, conversion benchmarks, Voice of Customer mining |
| direction/testing.md | Optimising a 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-prompt.md; its Rendering section covers the imagegen handoff (Codex, gpt-image-2) and the text-only fallback for agents without it.
Rules:
design-guidelines.md is the single one-level index for guidelines/; load applicable rule files from there, do not maintain a second list here.Other modes follow their loaded file: Options ideas.md, Scaffold markup-from-image.md, Dark mode add-dark-mode.md, Responsive make-responsive.md, Componentize componentize.md.
Reference products below are calibration only; verify with this litmus checklist:
Reference calibration:
aesthetic-direction.md in Direction mode; skipping it defaults output toward generic Inter, white backgrounds, and purple gradients.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 frameworksproduct-design: the product decision before the build (which interactions exist, action naming, reachable-state coverage); decide there, then build hereoptimise-seo: meta descriptions and page titlesnpx claudepluginhub mblode/agent-skillsDesigns distinctive, non-generic web UIs using a strategy-first approach: define brand identity, typography, color system, then craft layout, components, motion, and accessibility. Activates on build/design requests to avoid AI-default aesthetics.
Enforces production-grade frontend design with accessibility, responsive layouts, and professional polish. Guides design system generation or adapts to existing systems for React/Vue/Svelte/HTML projects.
Designs and polishes production-grade UI for pages, components, typography, and visual interfaces. Handles aesthetic complaints and responsive breakage via screenshot-driven refinement.