gpui-action
OfficialDeclarative actions and shortcuts for GPUI apps.
Authorlongbridge
Version1.0.0
Installs0
System Documentation
What problem does it solve?
GPUI apps often require consistent, reusable patterns for defining user actions and keyboard shortcuts. This skill provides a structured approach to declare actions and bind keys, enabling predictable, accessible, and maintainable interactions across components.
Core Features & Use Cases
- Define actions with the actions! macro or derive(Action)
- Bind keys using cx.bind_keys() to dispatch actions
- Handle actions with on_action on elements
- Support context-aware bindings via key_context()
Quick Start
Define an action set for your UI, bind keys to those actions, and attach action handlers in your rendering code.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gpui-action Download link: https://github.com/longbridge/gpui-component/archive/main.zip#gpui-action Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.