Ui design
Engineering quality focused skills for AI coding agents that keep humans in the loop.
npx -y skills add kreek/consult --skill ui-designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use for frontend UI, layouts, components, responsive behavior, visual design, and usability.
SKILL.md
3.9 KB, as published. Nobody here has run it
UI Design
Iron Law
START FROM THE USER TASK AND HIERARCHY; EVERY ELEMENT EARNS ITS PLACE.
When to Use
- Building or changing any user-facing UI surface: layout, components, design systems, typography, color, motion, responsive behavior, or frontend structure. Simple forms, single-page apps, and "just basic styling" all qualify; the polished-product threshold is too high a bar.
When NOT to Use
- Backend API shape; use
api. - Accessibility-specific implementation or review; use
accessibility. - Frontend runtime debugging or tests only; pair with
proofand browser tooling. - Performance profiling beyond UI design choices; use
performance.
Core Ideas
- One screen has one primary action and a clear information order.
- Use a small token system for spacing, type, color, radius, and motion. Apply tokens consistently; avoid stray one-off values.
- Accessibility is a design input, not a later review pass. Design keyboard, focus, contrast, reduced motion, touch targets, and screen-reader flow up front.
- Component APIs express intent and state, not implementation convenience.
- Modern CSS should reduce JavaScript and layout hacks when browser support allows it.
Workflow
- Identify the user, task, device constraints, and primary action. Choose existing framework/design-system patterns before inventing new ones.
- Define hierarchy, layout, states, empty/error/loading behavior, and responsive rules.
- Apply tokens consistently. Remove elements that do not improve comprehension, trust, or action.
- Verify with real rendering, keyboard navigation, contrast, and reduced-motion behavior.
Verification
- Hierarchy survives a squint/blur test, and one primary action is visually dominant per screen.
- Token system covers spacing, type, color, radius, motion; no stray one-off values in committed CSS.
- Accessibility inputs were considered at design time, not patched after: keyboard reach, focus order, contrast, reduced motion, touch target, screen-reader flow.
- UI states exist for loading, empty, error, disabled, and success where applicable.
Tripwires
| Trigger | Do this instead | False alarm |
|---|---|---|
| "Add a card/section so it looks richer" | Start from the user task and hierarchy. Remove elements that do not improve comprehension, trust, or action. | The card groups repeated peer items or frames a real tool surface. |
| "We'll add loading/error/empty states later" | Define the required states with the layout. | The component cannot load, fail, or be empty. |
| "One-off spacing fixes this screen" | Use or extend the token system intentionally. | A browser or platform quirk needs a documented local fix. |
| "Custom control first, semantics later" | Start with native controls and route accessibility-specific behavior to accessibility. | The existing design system control already proves semantics and keyboard behavior. |
| "Pick the frontend framework before the interaction model" | Define the UI task, state, and flow first; use existing repo patterns where possible. | The user explicitly asked to compare frameworks. |
Handoffs
- Use
prooffor UI behavior tests and browser-verified flows. - Use
accessibilityfor WCAG, ARIA, semantic HTML, keyboard, focus, contrast, screen-reader, and inclusive-design work. - Use
performancefor measured Core Web Vitals or rendering regressions. - Use
documentationfor design-system usage docs and ADRs.
References
references/canon.md: design principles, product/tool defaults, common failure modes.references/frameworks.md: frontend framework tradeoffs.references/platforms.md: platform and government design systems.references/css.md: modern CSS capabilities.references/typography.md: Bringhurst-informed typography for product UI.