Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ui-contract-guard

БесплатноБез исполняемых скриптовНе проверен

Guard shared UI contracts across web and mobile in lenserfight. Use when editing libs/ui, shared components, design tokens, hooks, or platform-specific…

conectlensот conectlens★ 18 звёзд на GitHub

Об этом скилле

UI Contract Guard

Use this skill before changing shared UI.

What to protect

  • Shared component APIs should remain stable and predictable.
  • libs/ui/components/src/index.ts and libs/ui/theme/src/index.ts must expose platform-safe surfaces.
  • Design tokens and contracts should be centralized, not redefined in apps.
  • Do not let domain logic or network code leak into shared UI components.

Review Sequence

  1. Inspect current exports and consumers.
  2. Separate visual primitives from app-specific compositions.
  3. Confirm whether a change is web-only, native-only, or shared.
  4. Prefer prop/API refinement over duplicating similar components.
  5. Call out breaking API changes explicitly.

Heuristics

  • Shared if semantics and lifecycle match across apps/platforms.
  • App-local if wording, layout, or data dependencies are product-specific.
  • Native/web split if implementation differs but the conceptual contract is the same.

Load only when needed:

Установить ui-contract-guard в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/platform-rules.md

FAQ

Что делает скилл ui-contract-guard?

Guard shared UI contracts across web and mobile in lenserfight. Use when editing libs/ui, shared components, design tokens, hooks, or platform-specific entrypoints such as index.ts and index.native.ts.

Как установить скилл ui-contract-guard?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ui-contract-guard запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ui-contract-guard с