What problem does it solve? React components often accumulate boolean props like isThread or isEditing that create exponential state combinations and unmaintainable conditional logic. This Skill provides structured composition patterns to refactor such components into flexible, maintainable architectures. ## Core Features & Use Cases - Compound Component Patterns: Structure complex components with shared context so consumers compose exactly the pieces they need without prop drilling. - State Lifting and Dependency Injection: Move state into provider components with generic state/actions/meta interfaces, letting the same UI work with different state implementations. - React 19 API Guidance: Apply modern React 19 conventions such as ref as a regular prop and use() instead of useContext(). - Use Case: When refactoring a messaging Composer component overloaded with boolean flags, apply these rules to split it into explicit ThreadComposer, EditComposer, and ForwardMessageComposer variants sharing composed internals. ## Quick Start Ask the agent to refactor a React component that has too many boolean props using the composition patterns skill.