Agent skill

Building Components Skill: Composable, Accessible UI

The building-components skill from the components.build spec points an AI coding agent to 15 reference files on composition, accessibility, tokens, state and distribution.

Install
git clone https://github.com/vercel/components.build.git
View on GitHub

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

What is the building-components skill?

The building-components skill packages the components.build specification for an AI coding agent. Its SKILL.md is a short when-to-use list that points to 15 reference files on composition, accessibility, as-child polymorphism, state, design tokens, styling, registries, npm publishing and documentation. The spec was co-authored by Hayden Bleasel and shadcn.

Components.build is an open-source specification for modern, composable and accessible UI components, co-authored by Hayden Bleasel and shadcn. The building-components skill is how that specification reaches your agent: a short SKILL.md that points to reference files.

When the skill applies

  • Building primitives, components, blocks or templates.
  • Accessibility work: ARIA, keyboard navigation and focus management.
  • Composable APIs with slots, render props and controlled or uncontrolled state.
  • Design tokens and theming, polymorphism and as-child patterns, and data attributes for styling and state.
  • Publishing to a registry or npm, and writing component documentation.

How the references are organised

SKILL.md holds no rules itself. It lists 15 .mdx files, from definitions and principles through accessibility, composition, types, state and styling to registry, npm, marketplaces and docs, so the agent reads only what the task needs.

Who the building-components skill is for

Best for

  • Open-source maintainers and senior front-end engineers shaping a component library.
  • Agents asked to build a reusable component and not a one-off screen.
  • React and TypeScript projects, since the examples use them, though the README says the principles are framework-agnostic.

Not for

  • Choosing a visual style or palette. The spec is about structure and API design, not looks.
  • Reviewing finished UI code against a rule list. See web-design-guidelines.
  • A ready-made component set. For installable components, see shadcn.

Use it with UiChemy

This spec covers component code, while UiChemy covers the WordPress side: Figma to WordPress converts a Figma design into a site, and Composer edits HTML, CSS and JS in Elementor or Gutenberg. Click Get Started on uichemy.com. For related patterns, see web-component-design.