This covers GPUI's event system, subscriptions, and emission patterns. You'll need this when wiring up component communication, handling user interactions, or building reactive state flows in GPUI applications. The framework uses a subscription model where entities can emit events and other parts of your app can observe or subscribe to them. It's more granular than you might expect coming from web frameworks, giving you fine control over what updates when. The reference material breaks down cx.emit, cx.subscribe, and cx.observe with their different use cases, which is helpful since the distinctions matter for performance and lifecycle management.
npx skills add https://github.com/longbridge/gpui-component --skill gpui-event