From design
Apply 5 professional component-design rules covering buttons, forms, cards, icons, and motion. Use when designing/reviewing UI components, building a component library, or auditing interaction states. Triggers on "design this button", "form layout", "card component", "icon usage", "add motion", "animation timing", "component states", "design system component".
npx claudepluginhub polarislt0710/claude-skills-hugo --plugin designThis skill uses the workspace's default tool permissions.
Five rules for the components that make up most UIs.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Five rules for the components that make up most UIs.
VARIANTS: Primary (filled, brand), Secondary (outlined),
Ghost (text-only), Destructive (red)
SIZES: sm (32 px h), md (40 px h), lg (48 px h)
STATES: default, hover, active/pressed, focus, disabled, loading
PADDING: vertical : horizontal = 1 : 3 ratio e.g. 12px × 36px
* AFTER the labelPADDING: 16 px or 24 px (consistent across system)
BORDER RADIUS: 8–12 px for cards
SHADOW: subtle — 0 2px 8px rgba(0,0,0,0.08)
HOVER STATE: only if interactive — lift shadow + cursor pointer
DURATION: micro-interactions : 150–300 ms
layout transitions : 300–500 ms
page transitions : 400–600 ms
EASING: ease-out for elements ENTERING
ease-in for elements EXITING
ease-in-out for elements MOVING (already on screen)
prefers-reduced-motion — disable non-essential animation when user has set OS-level reduce motion