frontend-ui-engineering

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

Updated Jul 22, 2026
One-click install
npx skills add https://github.com/Chau165/local_skill --skill frontend-ui-engineering-chau165
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/Chau165/local_skill/tree/main/codex/skills/frontend-ui-engineering
Command: npx skills add https://github.com/Chau165/local_skill --skill frontend-ui-engineering-chau165

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building user interfaces often results in generic, inaccessible, or unresponsive output that ignores the project's design system and fails WCAG accessibility requirements. This Skill provides concrete patterns and checklists for producing production-quality UI components. ## Core Features & Use Cases - Component Architecture Patterns: Enforces composition over configuration, colocated file structure, and separation of data fetching from presentation in React/TypeScript components. - Accessibility Compliance: Provides WCAG 2.1 AA guidance covering keyboard navigation, ARIA labels, focus management, and a detailed accessibility checklist reference. - Design System Adherence: Defines rules for spacing scales, typography hierarchy, semantic color tokens, and avoiding generic AI-generated visual patterns. - Use Case: When asked to build a task list page, the Skill guides creation of a responsive grid layout with skeleton loading states, optimistic updates via React Query, keyboard-accessible controls, and meaningful empty and error states. ## Quick Start Ask the AI to build a responsive, accessible task list component with loading, error, and empty states following the project's 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 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 form inputs with labels, and manage focus in dialogs. Verify with keyboard-only navigation and tools like axe-core or Lighthouse accessibility audits.

How to manage state in React without prop drilling?

Choose the simplest approach: useState for local state, lifted state for a few siblings, Context for read-heavy values like theme or auth, URL search params for shareable filters, and React Query or SWR for server data. Avoid prop drilling deeper than three levels.

What is the difference between skeleton loading and spinners?

Skeleton loading renders placeholder shapes matching the content layout with aria-busy and aria-label attributes, preserving layout stability. Spinners are generic indicators better suited for short actions, while skeletons work better for content-heavy regions.

Does responsive design need to be mobile-first?

Yes, designing mobile-first and expanding upward with breakpoints like Tailwind's sm and lg prefixes produces cleaner layouts than retrofitting. Test at 320px, 768px, 1024px, and 1440px widths to confirm behavior across devices.

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

AI output defaults to purple gradients, excessive rounding, uniform card grids, and oversized padding. Avoid this by using the project's actual color palette, spacing scale, border-radius tokens, and content-first layouts tied to real user needs.