Agent skill

Frontend UI Engineering Skill: Production UI Rules for AI Agents

The frontend UI engineering skill makes an AI coding agent build accessible, responsive components that follow your design system, avoid generic AI-looking UI and pass a written verification checklist.

Install
git clone https://github.com/addyosmani/agent-skills.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the frontend UI engineering skill?

The frontend UI engineering skill is a SKILL.md in addyosmani/agent-skills. It sets component architecture rules, state management advice, a table of AI-default design patterns to avoid, spacing, type and color rules, WCAG 2.1 AA requirements, responsive breakpoints and a verification checklist, so an AI coding agent builds UI that reads as designed.

It is the frontend-ui-engineering folder in addyosmani/agent-skills. The goal stated in the skill is UI that looks built by a design-aware engineer, not generated by an AI, which means real design system adherence, accessibility and responsive behavior.

It applies when you build or change interfaces, create components, implement layouts, meet accessibility requirements or manage state.

What changes in your agent's output

  • Components are colocated with their files, prefer composition over configuration and stay focused. A red flag list flags components over 200 lines.
  • Data fetching is separated from presentation, and prop drilling deeper than three levels triggers context or a restructure.
  • Colors come from semantic tokens such as text-primary and bg-surface, not raw hex values.
  • Empty, error and loading states are required, not optional.
  • Layouts are checked at 320, 768, 1024 and 1440 pixels.

What the skill covers

A reference-led quality step comes first: collect evidence from two or three relevant screens, write a short design contract, then rebuild the structure in your own components without copying another product's branding or layout. A table then lists AI defaults to avoid, such as purple everything, rounded everything, stock card grids and heavy shadows.

Who the frontend UI engineering skill is for

Best for

  • Teams whose agent output looks generic and needs project-specific discipline.
  • Projects with a design system that the agent keeps ignoring.
  • Pairing with frontend-design for visual direction or the web accessibility skill for deeper WCAG checks.

Not for

  • Choosing a brand look. The skill says to follow your actual palette and design system.
  • Non-UI work. It targets user-facing interfaces only.

Use it with UiChemy

This skill suits React or component code you ship yourself. For a WordPress target, UiChemy Composer edits real HTML, CSS and JavaScript inside Elementor or Gutenberg, and Figma to WordPress turns a design into editable blocks. Click Get Started on uichemy.com.