frontend-ui-engineering

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

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/Qiuyi-Hong/addyosmani-skills --skill frontend-ui-engineering-qiuyi-hong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/Qiuyi-Hong/addyosmani-skills/tree/main/skills/frontend-ui-engineering
Command: npx skills add https://github.com/Qiuyi-Hong/addyosmani-skills --skill frontend-ui-engineering-qiuyi-hong

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 enforces the engineering standards that make interfaces look professionally built: WCAG 2.1 AA accessibility, responsive layouts, proper state handling, and adherence to the project's actual design system. ## Core Features & Use Cases - Component Architecture Guidance: Enforces composition over configuration, colocated file structures, and separation of data fetching from presentation. - Accessibility Compliance: Covers keyboard navigation, ARIA labels, focus management, and meaningful empty/error states to meet WCAG 2.1 AA. - Design System Adherence: Eliminates the recognizable "AI aesthetic" (purple gradients, excessive rounding, stock card grids) in favor of the project's real spacing scale, color tokens, and typography hierarchy. - Use Case: When building a new dashboard page, use this Skill to generate components with skeleton loading states, optimistic updates, mobile-first responsive grids, and full keyboard accessibility instead of a generic template layout. ## Quick Start Ask the agent to build a responsive, accessible task list component with loading, error, and empty states that follows 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 make React components accessible for WCAG compliance?

Use native interactive elements like button instead of div with onClick, 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 AI-generated looking UI in frontend code?

Avoid default purple/indigo palettes, excessive gradients, uniform rounded-2xl corners, and stock card grids. Instead use the project's semantic color tokens, consistent spacing scale, and content-first layouts driven by real information hierarchy.

What state management approach 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, it uses mobile-first responsive utilities such as grid-cols-1 with sm: and lg: breakpoints. Layouts should be tested at 320px, 768px, 1024px, and 1440px widths to confirm they adapt correctly.

Why should I avoid prop drilling in component trees?

Passing props through components that do not use them couples unrelated parts of the tree and makes refactoring fragile. Beyond about three levels, introduce Context or restructure the component hierarchy instead.

When should I split a React component into smaller pieces?

Split components that exceed roughly 200 lines or handle more than one responsibility. Separate data fetching containers from presentational components so each piece stays focused and testable.