If you're working with async operations in GPUI, this pulls in the framework's async and background task patterns. You'll get guidance on cx.spawn for keeping async work tied to entity lifetimes, background_spawn for offloading heavy computation, and the Task type that makes futures cancellation-aware. GPUI's async story is tightly coupled to its context system, so this is really about keeping your I/O and background work from leaking or blocking the UI thread. It's focused knowledge rather than the full framework surface area, which is helpful when you're specifically debugging async lifetimes or trying to figure out why your spawned work isn't cleaning up properly.

skills.sh installs
305
GitHub stars
12.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add longbridge/gpui-component --skill gpui-async --agent claude-code

Installs into .claude/skills of the current project.

Files

If you're working with async operations in GPUI, this pulls in the framework's async and background task patterns. You'll get guidance on cx.spawn for keeping async work tied to entity lifetimes, background_spawn for offloading heavy computation, and the Task type that makes futures cancellation-aware. GPUI's async story is tightly coupled to its context system, so this is really about keeping your I/O and background work from leaking or blocking the UI thread. It's focused knowledge rather than the full framework surface area, which is helpful when you're specifically debugging async lifetimes or trying to figure out why your spawned work isn't cleaning up properly.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/longbridge/gpui-component
Categories
Frontend Development, Finance & Trading
First seen
Jun 3, 2026

More from longbridge/gpui-component

All 16
1longbridge avatargpui-eventlongbridge/gpui-componentEvent handling and subscriptions in GPUI. Use when implementing events, observers, or event-driven patterns. Supports custom events, entity observations, and ev272skills.sh installs
2longbridge avatargpui-entitylongbridge/gpui-componentEntity management and state handling in GPUI. Use when working with entities, managing component state, coordinating between components, handling async operatio254skills.sh installs
3longbridge avatargpui-actionlongbridge/gpui-componentAction definitions and keyboard shortcuts in GPUI. Use when implementing actions, keyboard shortcuts, or key bindings.253skills.sh installs
4longbridge avatargpui-style-guidelongbridge/gpui-componentGPUI Component project style guide based on gpui-component code patterns. Use when writing new components, reviewing code, or ensuring consistency with existing231skills.sh installs
5longbridge avatargpui-globallongbridge/gpui-componentGlobal state management in GPUI. Use when implementing global state, app-wide configuration, or shared resources.229skills.sh installs
6laguagu avatarai-sdk-6laguagu/claude-code-nextjs-skillsVercel AI SDK v6 development. Use when building AI agents, chatbots, tool integrations, streaming apps, or structured output with the ai package. Covers ToolLoo216skills.sh installs