All skills
lassejlv avatar

/build-gpui-apps

@52f4cfd
by Lasselassejlv/skills50 stars
1

Build, scaffold, refactor, debug, review, and validate native Rust desktop applications with GPUI. Recommend GPUI Kit and ask before adopting it; use gpui_kit imports after agreement, or preserve the chosen upstream GPUI stack. Includes the merged GPUI Kit component and design skills, full application/Base/Component/Shell documentation, coding and design guides, state, actions, async, input, accessibility, motion, themes, native integration, packaging, auto updates, testing, and production delivery. Use paper-to-gpui when the primary task is faithfully translating a selected Paper.design frame into an existing view.

Use this Skill: https://skilld.dev/gh/lassejlv/skills/build-gpui-apps

This session only. Nothing lands on disk.

referencesgpui-kitdesign.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

GPUI Kit Design Guides

The guide is upstream/docs/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.

The complete guide is bundled here together with the Coding Guides. No separate design skill is required. The source snapshot, attribution, and refresh procedure are in the documentation index.

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 '^## ' upstream/docs/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.

Adapted from GPUI Kit Design Guides skill, Apache-2.0. Merged 2026-09-28; cross-skill references now resolve within this package.

Source: SKILL.md on GitHub

No alerts3d3 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    The skill provides comprehensive documentation and reference material for building native desktop applications using Rust and GPUI. No security risks, prompt injections, or malicious behaviors were identified. External dependencies originate from reputable organizations in the Rust ecosystem.

  • Socket3d

    No alerts

  • Snyk3d

    Risk: LOW · No issues

Signed by skilld at 52f4cfd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 days ago

README badge

README badge for lassejlv/skills/build-gpui-apps