/ui-component-expert:update --old <old-contract-path> --new <new-contract-path>from ui-component-expert
Compute semantic diffs between DesignContract versions and generate surgical migration patches while preserving human edits.
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.
Replace <plugin-root> in CLI examples with the absolute directory two levels above this skill file (skills/update/SKILL.md); Claude Code may use ${CLAUDE_PLUGIN_ROOT} instead. Never execute the literal placeholder.
Computes a semantic difference analysis between two versions of a DesignContract (e.g. an updated Claude Design export vs a previously integrated baseline). Rather than blindly overwriting existing components in the target codebase, the update engine categorizes changes across tokens, anatomy, props, and states to generate non-destructive migration patches.
node "<plugin-root>/scripts/cli.mjs" diff-contract --old "<old-contract-path>" --new "<new-contract-path>"
Both contracts must be approved and ready (ready: true, with resolved unknowns). If either contract is an unapproved draft, diff-contract halts with CONTRACT_NOT_READY.
Outputs a structured semantic diff report detailing:
Following any contract migration:
verify skill (Claude Code/Kimi: /ui-component-expert:verify; Codex: $verify) to check TypeScript, the 8-state harness, and available accessibility audits. Report unavailable browser checks as BLOCKED.integrate skill's dry-run preflight to inspect proposed additions. Already-integrated files cannot pass additions-only preflight; update them only with authorized surgical edits, not integrate-target --apply.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.