frontend-ui-engineering

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

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/authrain-cloud-abdullahformuli/agent-skills --skill frontend-ui-engineering-authrain-cloud-abdullahformuli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-ui-engineering
Source: https://github.com/authrain-cloud-abdullahformuli/agent-skills/tree/main/skills/frontend-ui-engineering
Command: npx skills add https://github.com/authrain-cloud-abdullahformuli/agent-skills --skill frontend-ui-engineering-authrain-cloud-abdullahformuli

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 enforces the engineering standards that make interfaces look professionally built: real design system adherence, WCAG 2.1 AA accessibility, responsive layouts, and complete handling of loading, error, and empty states. ## Core Features & Use Cases - Component Architecture Guidance: Enforces composition over configuration, colocated file structure, and separation of data fetching from presentation in React components. - Accessibility Enforcement: Covers keyboard navigation, ARIA labels, focus management, and meaningful empty/error states to meet WCAG 2.1 AA requirements. - Design System Discipline: Eliminates the generic "AI aesthetic" (purple gradients, excessive rounding, stock card grids) by requiring semantic color tokens, consistent spacing scales, and proper type hierarchy. - Use Case: When building a new dashboard page, use this Skill to generate a responsive grid layout with skeleton loading states, keyboard-accessible controls, and styling that matches the project's existing design tokens. ## Quick Start Ask the agent to build a responsive task list page with accessible components, loading skeletons, and empty states that follow 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 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 avoid the generic AI-generated look in UI design?▼

Use the project's actual color palette instead of purple gradients, apply consistent border-radius and spacing from the design system scale, and build content-first layouts rather than stock card grids. Replace placeholder copy with realistic content to reveal layout issues.

What state management approach should I use in React?▼

Choose the simplest option that fits: useState for local UI state, lifted state for 2-3 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 Tailwind's mobile-first breakpoint classes such as grid-cols-1, sm:grid-cols-2, and lg:grid-cols-3. Layouts should be tested at 320px, 768px, 1024px, and 1440px widths to confirm responsive behavior.

Why should I use skeleton loaders instead of spinners?▼

Skeleton loaders preserve the page layout during loading, reducing layout shift and giving users a preview of incoming content. Spinners are appropriate only for small inline actions, not for content regions.

When should a React component be split into smaller components?▼

Split components that exceed roughly 200 lines or handle multiple responsibilities. Separate data fetching containers from presentational components, and extract custom hooks when state logic becomes complex.