Skip to content
Skillpedia
Interfaces (UI/UX)19k · #10483

gpui-kit-design-guides

What it does

Provides the design guidelines for building desktop apps with the GPUI Kit framework. It is for developers making interfaces who want consistent layout, color and interaction choices.

When to use it

  • ✓When you are about to design or change a screen in a GPUI Kit app.
  • ✓When you need to review a desktop interface for design quality.
  • ✓When you want to know what the design rules say about density or overlays.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/longbridge/gpui-kit/blob/main/skills/gpui-kit-design-guides/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Design a settings screen for my GPUI Kit app, following the design rules.”

5 new skills a week. 1 minute to read.

How it works

The skill requires the agent to read the full design guide before any UI work, rather than relying on memory or existing screens. The guide covers the design thesis, task hierarchy, visual language, color, density, states and overlays.

Technical content (original SKILL.md)

Original text by the author, straight from 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.

FAQ

Can the agent skip the guide?

No. The skill requires the guide to be read first.

What if the guide file is missing?

The skill says to fetch a fresh copy from the project's documentation site.

Does it cover component choice?

Yes. It covers which components suit a task and how interaction states should look.

Details

Original description by the author

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

Popularity

GitHub stars
19k
Ranking position
#10483
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills