/ui-component-expert:run [--workspace <parent-path>] [--target <target-path>] [--input <export-path>]from ui-component-expert
Orchestrate the end-to-end ui-component-expert workflow from Claude Design brief to verified, integrated TypeScript components.
Ships in ui-component-expert. 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.
Before running any CLI example, replace <plugin-root> with the absolute directory two levels above this skill file (skills/run/SKILL.md). Claude Code may use ${CLAUDE_PLUGIN_ROOT}; Kimi and Codex must resolve their installed plugin path instead. Never execute the literal placeholder. The same rule applies to every canonical skill. References to Claude Code as the author/reviewer below mean the active host agent with human review; /ui-component-expert:<stage> is available in Claude Code and Kimi, while Codex invokes $ui-component-expert or an individual skill.
Execute the complete, deterministic workflow translating a Claude Design conceptual UI into bespoke, accessible TypeScript components in a target codebase. Validation status is currently evaluated against synthetic fixtures and test suites; live Claude Design exports and in-browser runs have not been tested in this environment.
design-brief-<uuid>.md), prompts the user to download the approved export archive/folder to their Windows machine, and ingests it from an explicit local path. There are no private APIs or automated cloud couplings.--workspace <parent> to ingest-export creates a unique nested run directory under that parent (e.g. <target>/.ui-component-expert/runs/<run-uuid>/). Subsequent commands must use the exact returned workspace path.generate-components emits an implementation build worklist to stdout. It does NOT generate or write component code. Claude Code authors the bespoke TypeScript components, styles, harnesses, and unit tests adhering to target stack constraints and the approved contract.Base UI, React Aria, Zag.js, or native HTML semantics). Standard native HTML elements (e.g. native <dialog> which provides browser-native focus containment and Escape key dismissal without custom JS trap hacks; note that native modal dialogs do not necessarily light-dismiss on backdrop click, so outside click dismissal may be handled separately where needed) within a primitive are expected, but never mix multiple headless libraries in one composite control.--allow-unverified --apply along with explicit user consent for risk bypass. Rollback --apply unlinks only the newly created files recorded in integration-<uuid>.json.PASS, FAIL, BLOCKED, or NOT_EVALUATED. run-verification --run-checks executes only declared npm scripts (typecheck, test, build) if present in package.json. It does not execute BrowserOS or axe audits internally; browser.status is always BLOCKED (external evidence retained as untrustedReport). In Claude Code, BrowserOS neo is the required browser runtime; in Kimi or Codex, use only a separately authorized host browser runtime. Mark unavailable visual and DOM accessibility checks BLOCKED, and never treat a static check as browser evidence.--target or current working directory).<target>/.ui-component-expert/runs./ui-component-expert:brief:
node "<plugin-root>/scripts/cli.mjs" generate-brief --description "<product-or-component-description>" --workspace "<target>/.ui-component-expert/runs"
WAITING_FOR_DOWNLOAD..zip, .html, .dc.html, or directory), invoke /ui-component-expert:ingest:
node "<plugin-root>/scripts/cli.mjs" ingest-export --input "<windows-path>" --workspace "<target>/.ui-component-expert/runs"
ingest-export creates a unique nested run directory under the supplied parent and outputs the exact run path in workspace (e.g. C:/dev/my-app/.ui-component-expert/runs/<run-uuid>).<run-path>.<run-path>/originals/, statically inspects structure, flags active content, and writes receipt.json.INGESTED.node "<plugin-root>/scripts/cli.mjs" extract-contract --workspace "<run-path>"
<contract-file> (contract-<uuid>.json).node "<plugin-root>/scripts/cli.mjs" validate-contract --contract "<contract-file>" --workspace "<run-path>"
DRAFT (reviewStatus: "draft"). Running validate-contract on a draft reports structuralValid: true but exits non-zero with CONTRACT_NOT_READY because required unknowns are unresolved. This is expected behavior, not an unexpected failure.approvedBy and approvedAt.CONTRACT_READY.node "<plugin-root>/scripts/cli.mjs" inspect-target --target "<target>"
Native HTML: standard controls and semantic containers (native <dialog> provides browser-native focus trapping and Esc dismissal).Base UI: unstyled composite overlays (popovers, dropdowns, switches, tabs).React Aria: complex internationalization (i18n), localized date/number parsing, virtualized comboboxes.Zag.js: multi-step state machines, complex wizards.node "<plugin-root>/scripts/cli.mjs" generate-components --workspace "<run-path>" --contract "<contract-file>" --target "<target>"
<run-path>/generated/:
[Name].tsx: Clean functional component adhering to target React version:
React.forwardRef<ExactElementType, Props> with exact DOM element types.ref prop passing."use client" on interactive leaf files; no top-level window/document during SSR.[Name].types.ts: Strict TypeScript interfaces; zero any, zero @ts-ignore.[Name].module.css or Tailwind classes matching inspected target styling.[Name].harness.tsx: 8-state harness rendering all 8 states simultaneously for preview.[Name].test.tsx: behavioral unit tests.node "<plugin-root>/scripts/cli.mjs" run-verification --workspace "<run-path>" --contract "<contract-file>" --target "<target>" --generated "<run-path>/generated" --run-checks
typecheck, test, build) if declared in package.json (120s limit per script). If undeclared, CLI reports BLOCKED.browser.status is always BLOCKED (if --browser-evidence is passed from an external run, evidence is retained as untrustedReport).BLOCKED. Static code checks are never reported as accessibility proof.verification-<uuid>.json. Engine status remains NOT_VERIFIED unless witnessed.node "<plugin-root>/scripts/cli.mjs" integrate-target --workspace "<run-path>" --contract "<contract-file>" --target "<target>" --generated "<run-path>/generated"
node "<plugin-root>/scripts/cli.mjs" integrate-target --workspace "<run-path>" --contract "<contract-file>" --target "<target>" --generated "<run-path>/generated" --apply --allow-unverified
<run-path>/integration-<uuid>.json alongside a companion proof file (integration-<uuid>.proof.json).--apply. The engine checks the run receipt, validates the journal against the proof, sets a replay lock marker (integration-<uuid>.rollback.lock), and unlinks only the unchanged files created by that run:
node "<plugin-root>/scripts/cli.mjs" integrate-target --rollback "<run-path>/integration-<uuid>.json" --apply
IMPLEMENTED_UNVERIFIED.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andrewr303/ultimate-ai-plugins --plugin ui-component-expert11 skills in this plugin
/briefGenerate a portable Claude Design brief prompt specifying target description, 4 viewports, 3 token tiers, component anatomy, 8 states, and deliverables./buildGenerate bespoke, accessible TypeScript components and 8-state harnesses from an approved DesignContract./contractExtract and validate a strongly typed DesignContract from quarantined Claude Design artifacts, verifying tokens, 8 states, and WAI-ARIA semantics.