frontend-ui-engineering

Builds accessible, responsive, production-quality user interfaces following design system standards.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/sasidhar4444/ai-receptionist --skill frontend-ui-engineering-sasidhar4444
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/sasidhar4444/ai-receptionist/tree/main/agent-skills/skills/frontend-ui-engineering
Command: npx skills add https://github.com/sasidhar4444/ai-receptionist --skill frontend-ui-engineering-sasidhar4444

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI-generated interfaces often look generic, ignore accessibility requirements, and lack proper loading, error, and empty states. This Skill guides the construction of user-facing UI that meets WCAG 2.1 AA standards, follows a real design system, and avoids the recognizable "AI aesthetic" of purple gradients and stock layouts. ## Core Features & Use Cases - Component Architecture Guidance: Enforces composition over configuration, colocated file structure, and separation of data fetching from presentation in React/TypeScript components. - Accessibility Enforcement: Provides concrete patterns for keyboard navigation, ARIA labels, focus management, and meaningful empty/error states meeting WCAG 2.1 AA. - Design System Adherence: Prescribes consistent spacing scales, typography hierarchy, semantic color tokens, and responsive mobile-first layouts tested at 320px through 1440px. - Use Case: When asked to build a task management page, the Skill produces a component tree with skeleton loading states, optimistic updates via React Query, keyboard-accessible controls, and responsive grid layouts instead of a generic styled mockup. ## Quick Start Build an accessible, responsive task list page with proper loading, error, and empty states following our design system.

Frequently Asked Questions about frontend-ui-engineering

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

FAQPage Schema
How do I make React components accessible for keyboard users?▼

Use native interactive elements like <button> instead of <div> with onClick, since they are focusable by default. If a custom element is unavoidable, add role="button", tabIndex={0}, and handle Enter and Space key events explicitly.

How to structure React components for large applications?▼

Colocate each component with its tests, stories, hooks, and types in a single folder. Separate container components that fetch data from presentational components that render UI, and prefer composition over heavily configured props.

What state management should I use in React?▼

Choose the simplest option that fits: useState for local UI state, lifted state for a few 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, the guidance uses Tailwind's mobile-first breakpoint utilities such as grid-cols-1 sm:grid-cols-2 lg:grid-cols-3. Layouts should be verified at 320px, 768px, 1024px, and 1440px widths.

Why does AI-generated UI look generic and how to avoid it?▼

Models default to purple palettes, excessive gradients, uniform rounded corners, and stock card grids. Avoid this by using the project's actual design tokens for color, spacing, and typography, and by writing realistic content instead of placeholder text.

When should a component be split into smaller components?▼

Split components exceeding roughly 200 lines or handling multiple responsibilities. Warning signs include prop drilling deeper than three levels, inline styles with arbitrary pixel values, and missing loading, error, or empty states.