frontend-ui-engineering

Implements production UI components with accessibility, state management, and responsive design patterns.

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/TylerSimons1127/vibe --skill frontend-ui-engineering-tylersimons1127
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/TylerSimons1127/vibe/tree/main/skills/software-development/frontend-ui-engineering
Command: npx skills add https://github.com/TylerSimons1127/vibe --skill frontend-ui-engineering-tylersimons1127

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Frontend code often ships with generic AI-generated aesthetics, poor accessibility, and ad-hoc state management. This Skill provides concrete engineering standards for building production-quality user interfaces that meet WCAG 2.1 AA requirements and follow disciplined component architecture. ## Core Features & Use Cases - Component Architecture: Enforces colocated file structure (component, tests, stories, hooks, types) and composition-over-configuration patterns with separated data fetching and presentation layers. - State Management Ladder: Guides selection from useState through lifted state, Context, URL state, server state (React Query/SWR), and global stores (Zustand/Redux), avoiding prop drilling beyond 3 levels. - Accessibility & Responsive Design: Covers keyboard navigation, ARIA labels, focus management, semantic color tokens with contrast ratios, and mobile-first breakpoints tested at 320px through 1440px. - Use Case: When building a new dashboard page, use this Skill to structure the component tree correctly, pick the right state layer for filters, and ensure every interactive element is keyboard accessible with proper focus trapping in dialogs. ## Quick Start Use the frontend-ui-engineering skill to review my TaskList component for accessibility issues and recommend the right state management approach.

Frequently Asked Questions about frontend-ui-engineering

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

FAQPage Schema
How do I choose between useState, Context, and Zustand for React state?▼

Use useState for component-specific UI state, lift state for 2-3 sibling components, and Context for read-heavy values like theme or auth. Choose server state libraries like React Query for remote data and Zustand or Redux only for complex client state shared app-wide.

How to structure React component files for production apps?▼

Colocate everything in a component folder: the implementation file, tests, Storybook stories, custom hooks for complex state, and component-specific types. Separate data fetching containers from presentational components and prefer composition over configuration.

What contrast ratio does WCAG 2.1 AA require for text?▼

WCAG 2.1 AA requires a 4.5:1 contrast ratio for normal text and 3:1 for large text. Use semantic color tokens like text-primary and bg-surface rather than raw hex values, and never rely solely on color to convey meaning.

How do I make dialogs keyboard accessible in React?▼

Trap focus inside dialogs while they are open and move focus programmatically when content changes. Prefer native button elements over div onClick handlers, and add ARIA labels to interactive elements lacking visible text.

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

AI defaults to purple palettes, excessive gradients, uniform rounded corners, and stock card grids. Fix this by using the project's actual design tokens, consistent spacing scales, realistic content instead of lorem ipsum, and purpose-driven layouts.

When should I use skeleton loading instead of spinners?▼

Use skeleton loading for content areas, matching the skeleton shape to the real layout with a shimmer effect rather than blinking. Spinners are acceptable only for short indeterminate actions, while optimistic updates improve perceived speed for mutations.