frontend-ui-engineering

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

Updated Apr 22, 2024
One-click install
npx skills add https://github.com/oligamiq/fast-explorer --skill frontend-ui-engineering-oligamiq
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/oligamiq/fast-explorer/tree/main/.agents/skills/frontend-ui-engineering
Command: npx skills add https://github.com/oligamiq/fast-explorer --skill frontend-ui-engineering-oligamiq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI-generated UI often looks generic, ignores accessibility requirements, and breaks on different screen sizes. This Skill provides concrete patterns and checklists for building interfaces that meet WCAG 2.1 AA standards, follow real design systems, and avoid the recognizable "AI aesthetic." ## Core Features & Use Cases - Component Architecture Guidance: Enforces composition over configuration, colocated file structure, 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: Provides rules for spacing scales, typography hierarchy, semantic color tokens, and avoiding AI-default patterns like purple gradients and excessive rounding. - Use Case: When asked to build a task management page, apply this Skill to produce a responsive grid layout with skeleton loading states, keyboard-accessible controls, proper heading hierarchy, and optimistic updates via React Query. ## Quick Start Ask the AI to build a responsive, accessible task list component following the frontend UI engineering guidelines.

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 to WCAG standards?▼

Make every interactive element keyboard accessible using native elements like button, add ARIA labels to icon-only controls, manage focus when dialogs open, and never rely on color alone to convey state. Test by tabbing through the page and running axe-core checks.

How to structure React components for production apps?▼

Colocate component files, tests, and hooks in a single folder per component. 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, URL search params for shareable filters, React Query for server data, and Zustand or Redux only for complex app-wide state.

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

AI defaults to purple gradients, excessive rounding, uniform card grids, and oversized padding. Fix this by using the project's actual color palette, a consistent spacing scale, semantic color tokens, and content-first layouts instead of template patterns.

How do I handle loading and empty states in React?▼

Use skeleton placeholders with aria-busy instead of spinners for content areas, and render meaningful empty states with an icon, explanation, and call-to-action. Apply optimistic updates with React Query mutations for perceived speed, rolling back on error.