Reviews a UI component against its Open Components contract, or a codebase's theme and styles against a foundation like Design Tokens. Reports every rule as pass or fail with ID and evidence, then fixes failures.
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. Every shipped component, and every foundation like Design Tokens, has a contract: what it covers, like a component's API, DOM contract, states and tokens, and every rule in its checklist. Each rule has a stable ID, like button/keep-focus, a level, must or should, and, for components, a scope: component (met by the component itself), usage (met by the code that uses it) or both.
This skill reviews the component itself, against the rules with a component or both scope. To review how a screen uses a component, use the review-usage skill.
Use the tools of the open-components MCP server, which this plugin connects. Below, <component> is the name list-components gives a component or foundation, like button or design-tokens.
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.get-contract returns, with the rules list-rules filters under rules.get-page reads, and explains every rule.list-components {} tells you whether the component or foundation has a contract, and the name the other tools take. A component on the Roadmap has none yet, so there are no rules to review it against: tell the user rather than reviewing it against rules you'd have to make up.get-contract {"component": "<component>"} returns the contract, with what its rules refer to: a component's API, states, parts and tokens, or a foundation's convention.list-rules {"component": "<component>", "scope": ["component", "both"]} returns just the rules to report on, as records. For a foundation like Design Tokens, leave out scope: its rules have none.search-docs {"query": "<its requirement>", "component": "<component>", "type": "section"} finds the section that explains it, which get-page reads.Report every rule, not only the failures, so the user can see what you checked. A table works well:
| Rule | Level | Result | Evidence |
|---|---|---|---|
button/keep-focus | must | Fail | Button.tsx:42 sets disabled while loading, so focus is lost |
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. 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
Three short reads, in order
/open-components:review-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./build-componentBuilds 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./review-usageOther plugins' skills for the same job