What problem does it solve? React components often accumulate boolean props like isThread or isEditing, creating exponential state combinations and unmaintainable conditional logic. This Skill provides structured rules for replacing prop proliferation with compound components, lifted state, and dependency-injected context. ## Core Features & Use Cases - Boolean Prop Elimination: Replace boolean prop combinations with explicit component variants and compound components backed by shared context. - State Lifting & Dependency Injection: Define generic context interfaces (state, actions, meta) so the same UI works with local state, Zustand, or server-synced providers. - React 19 API Guidance: Apply React 19 conventions such as ref-as-prop and use() instead of forwardRef and useContext(). - Use Case: When refactoring a message composer that has grown to accept isThread, isEditing, and isDMThread props, use this Skill to restructure it into explicit ThreadComposer, EditComposer, and ChannelComposer variants sharing compound internals. ## Quick Start Ask the AI to refactor a React component with many boolean props into compound components using the composition-patterns skill.