From composition-patterns
React composition patterns that scale — avoid boolean prop proliferation, compound components, context providers. Triggers: "composition patterns" | "refactor boolean props" | "compound components" | "component architecture".
npx claudepluginhub roxabi/roxabi-plugins --plugin composition-patternsThis skill is limited to using the following tools:
Let:
references/AGENTS.mdreferences/metadata.jsonreferences/rules/_sections.mdreferences/rules/_template.mdreferences/rules/architecture-avoid-boolean-props.mdreferences/rules/architecture-compound-components.mdreferences/rules/patterns-children-over-render-props.mdreferences/rules/patterns-explicit-variants.mdreferences/rules/react19-no-forwardref.mdreferences/rules/state-context-interface.mdreferences/rules/state-decouple-implementation.mdreferences/rules/state-lift-state.mdProvides scalable React composition patterns for refactoring boolean prop-heavy components, building flexible libraries, and designing reusable APIs with compound components, render props, and context providers. Covers React 19 APIs.
Provides React composition patterns for refactoring boolean prop-heavy components, compound components, context providers, render props, and React 19 APIs.
Provides React composition patterns for refactoring boolean prop-heavy components, building compound components, context providers, and scalable APIs.
Share bugs, ideas, or general feedback.
Let:
Φ := references/AGENTS.md
Apply composition patterns for flexible, maintainable React components. Avoid boolean prop proliferation via compound components, state lifting, and composed internals.
Read Φ — all rules across 4 priority categories with code examples.
$ARGUMENTS ∃ → read those files. ∄ → ask which files to review.
Apply rules by priority:
architecture- — avoid boolean props, compound componentsstate- — decouple impl, context interfaces, lift statepatterns- — explicit variants, children over render propsreact19- — ¬forwardRef, use() instead of useContext()∀ finding → file:line — rule-id — description
Group by priority. Summarize total findings per category.
$ARGUMENTS