Builds UI components conforming to the Open Components standard, using contracts, reference implementations, and tests. Useful when creating or porting components like buttons, dialogs, or tabs for design systems.
Ships in open-components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Open Components (https://opencomponents.dev) is a standard for UI components. It covers how each component looks, its UI, then holds it to three layers: UX (user experience), DX (developer experience) and AX (agentic experience). Every shipped component has a contract: its API, its DOM contract, its states, its tokens and every rule in its checklist. Each rule has a stable ID, like button/keep-focus, a level, must or should, and a scope: component (met by the component itself), usage (met by the code that uses it) or both.
Use the tools of the open-components MCP server, which this plugin connects. Component pages are long, about 35,000 tokens for the Button's, so read the contract first, then only the sections you need, in the user's framework. Below, <component> is the name list-components gives a component, like button, and <framework> is one of react, vue, svelte, angular, solid, astro or vanilla.
If you don't have the tools, read the same standard from the site. Fetch the files as they are, rather than through a tool that summarizes them, so every rule comes back word for word:
list-components. The Roadmap, https://opencomponents.dev/raw/docs/getting-started/roadmap.md, lists the planned components.get-contract returns, with the rules list-rules filters under rules.get-page reads, with the examples in every framework, and the reference implementation under "Reference implementation".list-components {} tells you whether the standard covers the component, shipped or planned, and the name the other tools take. For a planned one, follow "Build a planned component" below.get-contract {"component": "<component>"} returns its API, its DOM contract, its tokens and every rule, with its scope.get-reference-implementation {"component": "<component>"} returns a tested Vue 3 implementation, and the tests to port.get-page {"path": "<component>", "sections": ["Developer Experience (DX)"], "framework": "<framework>"} shows how its API looks in the user's framework. Read other sections, like "Every state", when a rule needs its reasoning.--button--icon--size. In vanilla, write out the markup from its DOM contract, with a script for the behavior.component or both scope. list-rules {"component": "<component>", "scope": ["component", "both"]} returns just those, as records.Planned components have no page or contract yet, so follow the Button page's structure:
get-page {"path": "roadmap", "sections": ["<its group>"]} says what the Roadmap plans the component for. list-components gives its group.get-page {"path": "introduction"} covers the three layers every component is held to.get-contract {"component": "button"} shows what a contract holds, and the rules a shipped component meets. get-contract {"component": "design-tokens"} covers naming its variables.get-reference-implementation {"component": "button"} shows how a component and its tests meet those rules.get-page {"path": "button", "sections": ["Developer Experience (DX)"], "framework": "<framework>"} shows how the Button's API looks in the user's framework, which every component's follows.Then work through the component's UI, UX, DX and AX, following the WAI-ARIA pattern for it if there is one. Write a checklist with a stable ID for every rule, like tabs/<rule>, and a test for each one.
A component meets the standard when it meets every must rule, and each should rule is expected unless there's a good reason not to follow it. Say that it meets them, and cite the ID of any rule it can't meet, with the reason. Cite rule IDs exactly as the standard writes them, and never make one up.
What SKILL.md sets; muted values are Claude Code's defaults
/open-components:build-componentfrom open-components
npx claudepluginhub uxfront-com/open-components --plugin open-components4 skills in this plugin
/adopt-token-pathsRenames a codebase's CSS variables to Open Components token paths, like --color--primary or --button--icon--size, keeping their values, then adds the Stylelint rule that keeps them that way. Use when asked to rename, organize or standardize CSS custom properties or design tokens, to set up a naming convention for them, or to adopt token paths./review-componentReviews a UI component against its Open Components contract, or a codebase's theme and component styles against a foundation like Design Tokens, reporting every rule as pass or fail with its ID and the evidence, then fixing the failures. Use when asked to review, audit or check a component, its accessibility, its API or its tokens, or a theme's CSS variables, against Open Components or a component standard./review-usageReviews how a screen, page or feature uses a UI component, like a button, against the rules of its Open Components contract that the code using it meets, like keeping one primary button per view, reporting every rule as pass or fail with its ID and the evidence, then fixing the failures. Use when asked to review a screen, form, dialog or flow, or how an app uses its buttons, inputs or other components, against Open Components.Other plugins' skills for the same job