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 rules for replacing prop proliferation with composition, making component codebases easier to maintain and extend. ## Core Features & Use Cases - Boolean Prop Elimination: Replace boolean prop modes with explicit component variants and compound components sharing context. - State Lifting & Dependency Injection: Define generic context interfaces (state, actions, meta) so the same UI works with different state implementations like local useState or global synced stores. - React 19 API Guidance: Apply modern patterns 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 isForwarding props, use these rules to split it into explicit ThreadComposer, EditComposer, and ForwardComposer variants sharing compound component internals. ## Quick Start Ask the AI to refactor a React component with many boolean props into compound components using the composition patterns rules.