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-kitupstreambase.md

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

GPUI Base

gpui-base is the unstyled foundation of GPUI Kit, the Rust desktop application framework. It provides interaction behavior, controlled state, focus management, accessibility semantics, animation, virtual lists, and theme tokens while leaving layout and visual design to your application.

Choose the right layer

Use When
gpui-base You are building a design system and want to own every visual choice.
gpui-component You want a complete set of styled, ready-to-use desktop components.

The dependency points one way: gpui-component builds on gpui-base. Applications can use either layer directly.

Principles

  • Behavior is built in. Controls provide consistent pointer, keyboard, focus, and state behavior.
  • Presentation is yours. Compose GPUI style methods and children without fighting default visuals.
  • Parts stay composable. Primitives expose their meaningful subparts instead of hiding markup behind a monolith.
  • State stays explicit. Controlled inputs report changes and your view owns the resulting state.

Start building

Follow Getting started, render selectable Markdown and HTML with TextView, learn how to add window-level text selection to custom renderers, then explore the primitive catalog. Each page includes Rust snippets and a live WASM example backed by the same example crate that can run natively.

Three systems are larger than a primitive and have pages of their own. Motion provides typed transitions, springs, keyframes, presence, and sequencing. Virtual List renders lists of any length by drawing only what is on screen, with per-item sizes rather than a uniform row height. Dock is a full workspace shell — nested splits, tab groups and edge docks — whose layout is pure data you can build and serialize without a window, and whose every pixel comes from renderer traits you implement. History covers two smaller, deliberately distinct structures: History is a root/current/back/forward navigation trail, while UndoHistory records grouped undo and redo transactions. Plot is the unstyled foundation for charts: scales, shapes, axes, the element that turns a Plot into a child, and hover tracking, with colors and timing left to your design system.

Documentation license: original prose and illustrations for which GPUI Kit holds licensing rights are also offered under CC BY 4.0. When copying or adapting, credit GPUI Kit, link the source (https://gpui-kit.com/base) and https://creativecommons.org/licenses/by/4.0/, and indicate changes. Code examples and software source use Apache-2.0; third-party material retains its terms; existing Apache-2.0 permissions remain.

Bundled from GPUI Kit. Documentation prose: CC BY 4.0; code examples: Apache-2.0. Changes: documentation links localized, asset URLs made absolute, and this attribution added.

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