GPUI Patterns Metadata This skill provides comprehensive guidance on common GPUI patterns and best practices for building maintainable, performant applications. Instructions Component Composition Patterns Basic Component Structure Container/Presenter Pattern Container (manages state and logic): Presenter (pure rendering): Compound Components State Management Strategies Model-View Pattern Context-Based State Subscription Patterns Basic Subscription : Selective Updates : Multiple Subscriptions : Event Handling Patterns Click Events Keyboard Events Event Propagation Mouse Events Action System De…