Skip to Content
MeowKit
Skills

mk:frontend-design

Designs and reviews UI components for typography, color, spacing, motion, responsiveness and WCAG 2.1 AA accessibility, with an anti-generic-design checklist.

Source.claude/skills/frontend-design/SKILL.md
Ownerutility
Runtimeclaude-code
Riskmedium

What it does

mk:frontend-design applies design rules to UI work and runs a checklist that catches generic, template-looking output before delivery. It runs in the build phase (output for the developer agent) and the review phase (design check for the reviewer agent).

When to use it

It activates on design tasks, component styling, "improve the design", "fix the UI", design review and CSS changes. Usage: /mk:frontend-design [concern], where the optional concern is typography, color, spacing, motion, responsive, accessibility or review.

NeedUse instead
Design tokens and system assetsmk:ui-design-system
Backend or API worknot this skill

Steps

  1. Detect the task type (new component, redesign, review, responsive fix) and load references/design-rules.md.
  2. Apply typography, color, spacing and motion rules. Run the anti-slop checklist. Keep WCAG 2.1 AA.
  3. Run the pre-delivery checklist, then hand off to the reviewer agent for the design dimension.

Design principles

Choose the typeface before colors or layout. Treat whitespace as design. Give every color a role. Animate only to show a state change. Treat accessibility as the default: 4.5:1 contrast, keyboard navigation, screen reader labels.

Anti-slop checklist

AreaAvoidDo
TypographySystem stack with one weight, one size for all text2 to 3 weights, a deliberate pairing (mk:ui-design-system/assets/typography.csv), a clear hierarchy
ColorUnrelated colors, decoration that hides hierarchyOne primary, one accent, neutrals (mk:ui-design-system/assets/colors.csv)
LayoutEverything centered, equal 3-column card grid, default paddingVaried whitespace, bento or asymmetric layouts, a 4px spacing scale
ContentLorem ipsum, "John Doe"Real or realistic content
EffectsHeavy shadows, parallax on every sectionSubtle shadows, motion reserved for key moments, prefers-reduced-motion respected
ComponentsDefault browser inputsStyled controls with hover, focus and disabled states
Icons and imagesEmoji icons, stock hero photosOne SVG icon set (Lucide, Heroicons, Phosphor), screenshots or illustrations
PerformanceUnoptimized images, layout shiftWebP or AVIF, explicit dimensions, skeleton loaders
Dark modeInverted colorsA separate palette with maintained contrast

references/anti-slop-directives.md adds more patterns (default gradients, 24px+ corners everywhere, "Welcome to App" heroes, default MUI or shadcn themes) and the identity test: remove the logo and name, and if the design could be any app in the category, add one specific design decision.

Output

## Design: {component or page}
**Type:** {new design | redesign | review | responsive fix}
**Framework:** {Vue | React | vanilla CSS}
### Design Decisions
### Anti-Slop Check
### Accessibility (contrast ratio, keyboard navigable, screen reader labels)
### Files Modified

If the project has no design system, the skill applies a neutral palette and system fonts with fallbacks. A contrast ratio below 4.5:1 is adjusted, never shipped.

Gotchas

  • Tailwind purges class names built by string interpolation. Use complete class strings or safelist.
  • shadcn components read --primary, --card, --muted. Audit globals.css after every shadcn add.
  • Figma token names do not map to CSS variable names automatically.
  • A dark: class without a matching variable in .dark renders transparent.
  • Tailwind's md: 768px can differ from the design system. Override breakpoints first.
  • Use the framework's icon package (lucide-vue-next in Vue, not lucide-react).

On this page