om-ux-setup
БесплатноБез исполняемых скриптовНе проверенUse when a repository needs its design contract extracted or refreshed, e.g. 'set up UX checks' or after design-system changes. Write tokens, components…
от open-mercato★ 284 звезды на GitHubОб этом скилле
UX Setup
Every UX skill in this collection judges against the repository's own design system, never against a built-in one. This skill extracts that design system into an executable contract, committed like code.
It works with any stack that has a design system, and degrades honestly when a repository has none: the contract records that, reviews fall back to universal evidence tiers, and the team gets a proposed de-facto palette derived from the colors its code already uses as the first draft of a design system.
Input — none; the skill reads the working tree.
Output — .uxproof/ written or refreshed, plus the handover report from
references/report-templates.md.
Where this skill stops. It produces a contract and hands it over. It does
not review anything: no findings, no verdicts, no lists of what is wrong with
the code, the screens, or the mockups, however tempting that is once the
contract is fresh. When the user wants judgment, name the skill that owns it
and stop: om-ux-review-pr for a pull request's running UI (its --guard
mode for a static check of code against the contract, or of the whole
repository with --health), om-ux-shape in Review mode for a whole module or
flow, and om-figma-design-with-ds for design-tool files (a brief for a new
screen, or an audit of an existing design against the contract). When the repository has no design system to
extract, report that limit and leave final visual decisions to the design stage.
For detailed screens from a specification, name om-ux-design as an optional
next task. It uses the repository's components when available and labels a
visual direction as proposed when there is no DS. Do not invoke it automatically
or treat design approval as an extracted contract.
For an early flow experiment, name om-mockup-prototype: it creates neutral
clickable screens and keeps .uxproof/ unchanged.
What the contract holds
contract.json— framework, styling system, component roots, native-element equivalents, screen archetypes with example files, counts.tokens.json— every design token with its kind and source file.components.json— the component registry.conventions.md— the human-readable house rules. Its manual section holds the judgment calls only the team can know, survives every regeneration, and outranks generated rules on conflict. This is the local-override surface every other UX skill honors.guards.json(optional) — deterministic conformance rules (forbidden patterns, required states) written by the team or imported from a layer; the extractor never touches it.
A design system that arrives with a dependency, or from a sibling package that ships its own contract, is imported as a layer: its tokens, components, archetype anatomy and guard rules join the contract tagged with their origin, stamped with the installed version, and its UI guides are recorded as pointers.
Full shapes, the optional additive fields, and the by-hand fallback, live in
references/contract-format.md.
Workflow
ALWAYS check first: Apply .ai/skills/om-ux-setup/SKILL.md when present; safety rules still win.
Agentic setup — follow
references/agentic-setup.md: repo-local override contract, untrusted-content boundary, and the offline fallback rule. Shared communication and reporting rules live inreferences/rules.md.Check for an existing contract. If
.uxproof/contract.jsonexists, ask whether to refresh or leave it. Never regenerate silently: the manual section survives, but reviewers deserve to know the generated parts moved.Extract. Run the contract extractor:
npx [email protected] init --no-skillsThe version is pinned on purpose:
@latestwould execute unreviewed remote code on every run and let a future release change the contract format silently. Upgrading is a deliberate edit to this line, after checking the package's changelog. The--no-skillsflag is equally deliberate: this collection provides the agent workflow, so the extractor contributes the contract only. Without network or npm access, use the manual fallback inreferences/contract-format.mdinstead of a partial scan.Layer shipped design systems. When
knowledge.sourcesin the config names a dependency or repo path that ships a design contract, import it as a layer perreferences/design-sources.md: repository entries win on name collisions, imported entries carry their origin, the layer is stamped with the installed version, UI guides are recorded as pointers and never copied. A refresh always re-runs this step after extraction, because the extractor rewrites the generated files. Noknowledge.sourceskey → skip the step.Show what was found. Report the detected stack, the token and component counts, and the screen archetypes with their canonical examples, so the user can sanity-check the extraction befo
Установить om-ux-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл om-ux-setup?
Use when a repository needs its design contract extracted or refreshed, e.g. 'set up UX checks' or after design-system changes. Write tokens, components, screen archetypes, and conventions to .uxproof/, including versioned dependency design systems, so UX skills assess against this repository's system. Extract the contract without reviewing the UI.
Как установить скилл om-ux-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл om-ux-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic