gpui-entities

Community

Master GPUI state with robust entity patterns.

Authorcnwzhu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

GPUI apps often struggle with predictable state management across entities and contexts. This skill provides clear patterns to manage entity lifecycles, subscriptions, and safe references, reducing boilerplate and bugs.

Core Features & Use Cases

  • Entity lifecycle management: Create, read, update, and drop entities with predictable lifecycles.
  • Context-aware state access: Use window and entity contexts to share and observe state safely.
  • Subscriptions & weak references: Subscribe to changes and use WeakEntity to avoid memory leaks in complex UIs.

Quick Start

Initialize an entity in a window context, perform a read, update, and observe a change to demonstrate the core patterns.

Dependency Matrix

Required Modules

None required

Components

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-entities
Download link: https://github.com/cnwzhu/gpui-skills/archive/main.zip#gpui-entities

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.