Перейти к содержанию
Skillpedia
Интерфейсы (UI/UX)19k · #10483

gpui-kit-design-guides

Что он делает

Предоставляет рекомендации по дизайну для создания настольных приложений на фреймворке GPUI Kit. Он нужен разработчикам интерфейсов, которым важны единые решения по макету, цвету и взаимодействию.

Когда использовать

  • ✓Когда вы собираетесь проектировать или менять экран в приложении GPUI Kit.
  • ✓Когда нужно проверить настольный интерфейс на качество дизайна.
  • ✓Когда вы хотите знать, что правила дизайна говорят о плотности или наложениях.

Ссылка на скилл

https://github.com/longbridge/gpui-kit/blob/main/skills/gpui-kit-design-guides/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/longbridge/gpui-kit/blob/main/skills/gpui-kit-design-guides/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Спроектируй экран настроек для моего приложения GPUI Kit, соблюдая правила дизайна.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл требует, чтобы агент прочитал полное руководство по дизайну до любой работы с интерфейсом, а не полагался на память или существующие экраны. Руководство охватывает идею дизайна, иерархию задач, визуальный язык, цвет, плотность, состояния и наложения.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

GPUI Kit Design Guides

The guide is references/design-guides.md. It is a requirement, not inspiration. Read the guide file itself before doing UI work. Do not answer from this page, from an existing screen in the codebase, or from training data.

If the file is missing, fetch https://gpui-kit.com/docs/design-guides.md. The guide is a verbatim copy of that page, so its link to ./coding-guides.md means the Coding Guides in the gpui-kit skill (or https://gpui-kit.com/docs/coding-guides.md).

How to read it

Read the whole guide for a new screen or a redesign. For a narrow change, read "Design thesis" and "Start from the task" first, then the section for the change. Sections, in order (grep -n '^## ' references/design-guides.md):

Section Read when
Design thesis Always
Learning from Shadcn Choosing what to borrow from web component libraries
Start from the task Always; task hierarchy, interaction promise, what to leave out
Visual language Color, typography, spacing, radius, borders, elevation, density, icons
Layout patterns Window structure, sidebars, toolbars, panels, forms, resizable regions
Components and composition Picking a component, composing parts, when to build a new one
Interaction states Hover, focus, pressed, selected, disabled, loading, validation, danger
Feedback and overlays Dialog, sheet, popover, menu, notification, tooltip, dismissal, focus
Motion Any animation or transition
Designing data-heavy interfaces Tables, lists, trees, dashboards, dense inspectors
Interface language Any user-facing text: labels, buttons, titles, errors, empty states
Internationalization and platform fit Multi-locale copy, Chinese terminology, macOS/Windows conventions
Guidance for AI-generated interfaces Always when an agent produces UI
Accessibility checklist Before finishing
Design review checklist Before finishing; run every item against the work

Non-negotiables

A floor, not a substitute for the guide.

  • Desktop before web convention. Keyboard access, window chrome, menus, dense data views, resizable regions, persistent navigation.
  • Button vs Link. Button for every in-app command, ghost or outline when it should read quietly. Link only for external URLs and email addresses.
  • Tokens before values. No raw hex or rgb(...); use cx.theme() semantic tokens and rem-based helpers. Any spacing number quoted in the guide is the current default scale, not a literal to repeat.
  • State must be visible. Hover, focus, selection, disabled, loading, validation, and destructive states each need distinct, consistent treatment.
  • Overlays. Escape dismisses the topmost surface and returns focus to its trigger.
  • Copy. Name the object and the verb: Delete "Roadmap"? with a Delete button, not Are you sure? with OK.

Finish by running the Design review checklist against the work.

Частые вопросы

Может ли агент пропустить руководство?

Нет. Скилл требует сначала прочитать руководство.

Что если файла с руководством нет?

Скилл велит загрузить свежую копию с сайта документации проекта.

Охватывает ли он выбор компонентов?

Да. Он охватывает, какие компоненты подходят задаче и как должны выглядеть состояния взаимодействия.

Подробности

Оригинальное описание автора

The normative Design Guides for GPUI Kit desktop applications. Read in full before designing or changing any screen, layout, spacing, visual hierarchy, color, density, component choice, interaction state, overlay, motion, data-heavy view, or interface copy in a GPUI Kit (gpui-kit / gpui-component) application, and before reviewing UI work for design quality. Also use when asked what the design rules are, or whether a UI decision follows them.

repo: longbridge/gpui-kit

Популярность

Звёзды на GitHub
19k
Место в рейтинге
#10483
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

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