frontend-ui-engineering

Builds accessible, responsive React components and layouts following design system standards.

2|Updated Jul 11, 2026
One-click install
npx skills add https://github.com/MoofonLi/dev-ready --skill frontend-ui-engineering-moofonli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/MoofonLi/dev-ready/tree/main/src/dev_ready/templates/claude/skills/frontend-ui-engineering
Command: npx skills add https://github.com/MoofonLi/dev-ready --skill frontend-ui-engineering-moofonli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-generated UI often looks generic, ignores accessibility requirements, and breaks on different screen sizes. This Skill guides the construction of production-quality user interfaces that follow a real design system, meet WCAG 2.1 AA accessibility standards, and handle loading, error, and empty states properly. ## Core Features & Use Cases - Component Architecture Patterns: Enforces composition over configuration, colocated file structures, and separation of data fetching from presentation in React components. - Accessibility Compliance: Provides concrete patterns for keyboard navigation, ARIA labels, focus management, and meaningful empty/error states meeting WCAG 2.1 AA. - Design System Adherence: Identifies and eliminates common "AI aesthetic" anti-patterns like purple gradients, excessive rounding, and stock card grids in favor of the project's actual design tokens. - Use Case: When asked to build a task management page, the Skill produces a responsive layout with skeleton loading states, optimistic updates via React Query, keyboard-accessible controls, and semantic color tokens instead of raw hex values. ## Quick Start Ask the agent to build a responsive, accessible task list component with loading and empty states using the frontend UI engineering skill.

Frequently Asked Questions about frontend-ui-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build accessible React components that meet WCAG standards?

Use semantic HTML elements like button instead of div, add aria-label to icon-only controls, associate labels with form inputs via htmlFor, and manage focus when dialogs open. Verify by tabbing through the page and running axe-core checks.

How to avoid the generic AI-generated look in web UI?

Replace default purple/indigo palettes, excessive gradients, and rounded-2xl corners with the project's actual design system tokens. Use realistic content instead of lorem ipsum, consistent spacing scales, and purpose-driven layouts rather than stock card grids.

What state management approach should I use in React?

Choose the simplest option that fits: useState for local UI state, lifted state for 2-3 siblings, Context for read-heavy values like theme, URL search params for shareable filters, React Query or SWR for server data, and Zustand or Redux only for complex app-wide state.

Does this approach work with Tailwind CSS responsive design?

Yes, it uses mobile-first Tailwind breakpoints such as grid-cols-1 scaling to sm:grid-cols-2 and lg:grid-cols-3. Layouts should be tested at 320px, 768px, 1024px, and 1440px widths.

Why should I avoid div onClick instead of button elements?

A div with onClick is not keyboard focusable and lacks built-in Enter/Space key handling, breaking accessibility. A native button element provides focus, key events, and screen reader semantics for free.

When should a React component be split into smaller components?

Split components exceeding roughly 200 lines, when props are drilled more than three levels deep, or when data fetching and presentation are mixed. Separate container components that fetch data from presentational components that render it.