Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

gpui-kit — Claude Code skill: what it does, how to install

This skill guides AI coding assistants in building Rust desktop apps with the gpui-kit crate. Use it to implement UI components, manage state, handle focus, and write tests.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add longbridge/gpui-kit --skill gpui-kit -a claude-code
Open on GitHub

What gpui-kit does

This skill delivers normative coding rules for building Rust desktop software with the gpui-kit crate. The crate bundles styled components and base behaviors under a single dependency. It directs the assistant when selecting elements like Button or DataTable, and configures themes and focus.

Architecture boundaries are strictly defined. The guidelines distinguish RenderOnce from Entity<T> and enforce domain-derived ElementId values over list indexes. Async side effects run through cx.spawn, while tests rely on #[gpui_kit::test]. Coding agents frequently fail by inventing methods from web frameworks, so this guide explicitly bans generating unverified APIs.

Visual hierarchy and color schemes rely on the paired gpui-kit-design-guides skill.

What it helps with

  • structure desktop app architecture with the gpui-kit crate
  • decide between RenderOnce and Entity<T> for state ownership
  • assign domain-derived ElementId identifiers to repeated elements
  • write UI integration tests using #[gpui_kit::test] and TestAppContext

Example prompts for the agent

  • Help me build a settings dialog using Tabs and Input from gpui-kit
  • How do I spawn an async task and update Entity state in gpui-kit?
  • Write a UI integration test for this view using #[gpui_kit::test]

How to install gpui-kit

1Skills CLI (Vercel)

npx skills add longbridge/gpui-kit --skill gpui-kit -a claude-code

2Manually: put the files in place

~/.claude/skills/gpui-kit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/gpui-kit/

From the same set2

The whole set →

Similar

lottie-bodymovin calesthio Applies Disney's 12 animation principles to Lottie vector animations. Bridges After Effects setup with runtime JavaScript controls. Claude Code CX Codex Cursor +1 1,100installs remotion-best-practices vercel-labs This skill gives coding agents Remotion guidance for React projects, from animation and audio to compositions and video parameters. Use it while building or editing Remotion code. Claude Code CX Codex Cursor +1 1,500installs paseo-plugin getpaseo Builds and manages local Paseo plugins with UI panels, slash commands, lifecycle hooks, and daemon RPCs. Claude Code CX Codex Cursor +1 1,400installs frontend-dev MiniMax-AI Orchestrates frontend development, motion design, AI-generated media, and conversion copy. Built for landing pages, marketing sites, and dashboards. Claude Code CX Codex Cursor +1 3,200installs audit-website squirrelscan Runs squirrel CLI audits against a website, pinpoints SEO, performance, and security issues, and applies fixes directly to source code. Claude Code CX Codex Cursor +1 73,900installs inspector-docs CopilotKit Keeps CopilotKit documentation aligned with shipped Inspector overlay panes. Use it when adding, editing, or deleting tabs in @copilotkit/web-inspector. Claude Code CX Codex Cursor +1 1,000installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about gpui-kit

How to install gpui-kit in Claude Code?

Run npx skills add longbridge/gpui-kit --skill gpui-kit -a claude-code in your terminal. This downloads the skill into your Claude Code environment.

What does the gpui-kit skill do?

It provides normative coding guidelines for building Rust desktop interfaces with the gpui-kit crate. The guide covers component structures, cx context usage, focus handling, and UI tests.

How does this skill differ from gpui-kit-design-guides?

This skill focuses on code architecture, state ownership, async tasks, and testing. Visual decisions such as spacing, colors, and layout hierarchy belong to the paired gpui-kit-design-guides skill.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor