From ui-design-pro
Design principles, visual judgment, and layout architecture for web interfaces. Use when Claude Code needs to evaluate WHY a design works or fails, plan visual hierarchy and layout composition before writing code, choose between design approaches based on user behavior and cognitive load, review existing UI for design principle violations, build or extend a design token system, or reason about accessibility as a design concern rather than a compliance checkbox. Covers color theory, typography and measure, spacing systems, modular ratios, Gestalt principles, Fitts's Law, Hick's Law, progressive disclosure, affordances, signifiers, behavioral design, attention economics, and polymorphic object rendering. Also covers screen archetypes (monitoring, triage, authoring, configuration, exploration) that set density and interaction expectations. Always consult this skill before building new layouts or reviewing existing ones.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ui-design-pro:design-theoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Planning a layout or page structure: `references/layout-composition.md`
references/accessibility.mdreferences/animation-and-motion-principles.mdreferences/behavioral-design.mdreferences/design-systems.mdreferences/interaction-design.mdreferences/layout-composition.mdreferences/object-rendering.mdreferences/responsive-strategy.mdreferences/screen-archetypes.mdreferences/visual-fundamentals.mdreferences/layout-composition.mdreferences/visual-fundamentals.mdreferences/interaction-design.mdreferences/behavioral-design.mdreferences/design-systems.mdreferences/object-rendering.mdreferences/accessibility.mdreferences/responsive-strategy.mdreferences/screen-archetypes.mdreferences/animation-and-motion-principles.mdBefore writing any UI code, answer these questions:
What archetype is this screen? (monitoring, triage, authoring,
configuration, or exploration). Load references/screen-archetypes.md
to understand the density, interaction, and state expectations for
this archetype.
What is the user trying to accomplish on this screen? The answer determines hierarchy: the primary task gets the most visual weight, secondary actions recede, and navigation stays predictable.
What are the objects being displayed, and are they the same type? If mixed types: use polymorphic rendering (see object-rendering.md). If same type: vary visual weight by priority, not by chrome.
What states can this interface be in? Default, loading, empty, error, success, disabled, destructive, skeleton, and mobile-collapsed. Design for all of them, not just the happy path with sample data.
What is the user's next action after seeing this screen? The answer determines what the primary affordance should be and where it should sit (Fitts's Law: near the current focus, large enough to target without precision).
Does this design rely on color alone to communicate anything? If yes, add a redundant signal (icon, label, position, pattern).
These patterns indicate design problems. Flag them during review:
npx claudepluginhub travis-gilbert/claude-marketplace --plugin ui-design-proGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.