Skip to content
Skill

Build component

Guides an agent to build a UI component that meets the Open Components standard

Build component is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
22
Last commit
License
CC-BY-4.0
Listing updated

Similar skills

About Build component

This skill walks an agent through building a UI component against the Open Components standard, which defines each component's API, DOM contract, states, design tokens and checklist rules. For a shipped component, the agent reads the contract, a tested reference implementation and framework-specific examples, then implements the component in the user's framework and ports the reference tests to the user's test setup.

For components the standard only plans, the skill has the agent follow the structure of the Button's documentation, work through its UI, UX, DX and AX layers, follow the matching WAI-ARIA pattern where one exists, and write a test for each rule it sets itself. It also explains how to report which must and should rules a build meets and which it cannot, citing rule IDs exactly.

The skill expects network access or the open-components MCP server, and it reads standard pages in whichever framework the user works in, such as React, Vue, Svelte or vanilla.

When your agent uses it

Builds a UI component that meets the Open Components standard, in the user's framework, from its contract, its reference implementation and its tests, or, for one the standard only plans, following the Button's structure. Use when building, porting or rewriting a UI component, like a button, input, spinner, dialog or tabs, for a design system or component library, or when the user asks for one that meets Open Components.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the open-components plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add uxfront-com/open-components
/plugin install open-components@open-components

Or copy only this skill to ~/.claude/skills/build-component:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/uxfront-com/open-components.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/build-component &&
cp -R "$tmp/plugins/open-components/skills/build-component" ~/.claude/skills/build-component &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/build-component inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/build-component to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/uxfront-com/open-components.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/build-component &&
cp -R "$tmp/plugins/open-components/skills/build-component" ~/.agents/skills/build-component &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/build-component inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/build-component to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/uxfront-com/open-components.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/build-component &&
cp -R "$tmp/plugins/open-components/skills/build-component" ~/.cursor/skills/build-component &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/build-component inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/uxfront-com/open-components.git --path plugins/open-components/skills/build-component

Or copy the folder to ~/.gemini/skills/build-component yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/build-component:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/uxfront-com/open-components.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/build-component &&
cp -R "$tmp/plugins/open-components/skills/build-component" ~/.copilot/skills/build-component &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/build-component inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/uxfront-com/open-components.git

Then copy open-components/plugins/open-components/skills/build-component into your agent's skills folder as build-component. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Contract-driven component build
Implements a component's API, DOM contract, states and tokens as the standard defines them.
Reference implementation porting
Uses a tested reference implementation and its tests as the basis for the port.
Framework-specific API examples
Reads how a component's API looks in the user's chosen framework before writing code.
Rule-by-rule verification
Checks the build against every component-scoped and shared rule in the standard.
Planned component guidance
Provides a method for building components that the standard only plans.
Compliance reporting
States which must and should rules are met and cites the IDs of any unmet rules.

Good for

  • Build a button component that meets the Open Components standard in React
  • Port a dialog component to Vue using the standard's contract and tests
  • Rewrite an input component for our design system so it follows Open Components
  • Create a tabs component with the WAI-ARIA pattern and a checklist of rule IDs
  • Check my spinner component against the Open Components must rules

Build component FAQ

When does Build component trigger?

It applies when building, porting or rewriting a UI component such as a button, input, spinner, dialog or tabs for a design system or component library, or when the user asks for a component that meets Open Components.

Does Build component need network access or a special server?

It reads the standard from the open-components MCP server the plugin connects, or from opencomponents.dev, so it needs network access either way.

Which frameworks does Build component cover?

The standard's pages cover react, vue, svelte, angular, solid, astro and vanilla, and the agent uses the framework the user works in.

What does Build component do for components not yet in the standard?

For planned components it follows the structure of the Button's documentation and asks the agent to write a checklist with a stable ID and a test for each rule.

How do I install Build component in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/build-component to use it in all your projects, or to .claude/skills/build-component in one project. Or install the open-components plugin, which includes it: /plugin marketplace add uxfront-com/open-components, then /plugin install open-components@open-components.

Does Build component run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Build component?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Build component?

The closest alternatives to Build component are UI component builder, Component design, Frontend UI engineering, Frontend UI engineering and Review component.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from uxfront-com/open-components

  1. Renames a codebase's CSS variables to Open Components token paths and adds a lint rule

    • Open source
    • 22 GitHub stars
    • Design and media
  2. Audits a UI component or theme against Open Components rules, then fixes failures

    • Open source
    • 22 GitHub stars
    • Developer tools
  3. Checks how a screen or flow uses UI components against Open Components rules

    • Open source
    • 22 GitHub stars
    • Developer tools