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 composition patterns to refactor such components into flexible, maintainable architectures. ## Core Features & Use Cases - Boolean Prop Elimination: Replace prop proliferation with compound components and explicit variant components that document themselves. - State Lifting & Dependency Injection: Define generic context interfaces (state, actions, meta) so UI components work with any provider implementation. - React 19 API Guidance: Apply modern patterns like ref-as-prop and use() instead of forwardRef and useContext. - Use Case: When refactoring a messaging Composer component with flags like isThread, isEditing, and isForwarding, apply these rules to split it into explicit ThreadComposer, EditComposer, and ForwardMessageComposer variants sharing compound internals. ## Quick Start Ask the AI to refactor a React component that has too many boolean props using these composition patterns.