frontend-ui-engineering

Builds accessible, responsive user interfaces following design system and WCAG standards.

5|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/PHenrique07/Sementis-IFSP-Pirituba --skill frontend-ui-engineering-phenrique07
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/PHenrique07/Sementis-IFSP-Pirituba/tree/main/.github/skills/frontend-ui-engineering
Command: npx skills add https://github.com/PHenrique07/Sementis-IFSP-Pirituba --skill frontend-ui-engineering-phenrique07

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI-generated interfaces often look generic, ignore accessibility requirements, and break on different screen sizes. This Skill provides concrete engineering standards for building user-facing UI that meets WCAG 2.1 AA accessibility, follows a real design system, and handles loading, error, and empty states properly. ## 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: Helps avoid the generic "AI aesthetic" (purple gradients, excessive rounding, stock card grids) by enforcing spacing scales, typography hierarchy, and semantic color tokens. - Use Case: When building a new dashboard page, use this Skill to structure components correctly, implement responsive mobile-first layouts, add skeleton loading states, and verify keyboard accessibility before shipping. ## Quick Start Use the frontend-ui-engineering skill to build a responsive, accessible task list page with proper loading and empty states.

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 frontend components for maintainability?▼

Colocate each component with its tests, stories, hooks, and types in a single folder. Prefer composition over configuration props, keep components under 200 lines, and separate data-fetching container components from presentational components.

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 or auth, URL search params for shareable filters, and React Query or SWR for server data.

Does WCAG 2.1 AA require specific color contrast ratios?▼

Yes, WCAG 2.1 AA requires a 4.5:1 contrast ratio for normal text and 3:1 for large text. Use semantic color tokens rather than raw hex values, and never rely on color alone to convey state or information.

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

AI defaults to purple palettes, excessive gradients, maximum border rounding, and stock card grids. Avoid this by using the project's actual design system tokens, consistent spacing scales, real content instead of placeholder text, and purpose-driven layouts.

What breakpoints should I test for responsive design?▼

Test at 320px, 768px, 1024px, and 1440px widths. Design mobile-first with a single-column layout, then expand to multi-column grids at larger breakpoints using responsive utility classes.