Public skill
react-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes. Do NOT use for React/Next.js performance optimization (use react-best-practices instead).
Package contents
Manifest
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes. Do NOT use for React/Next.js performance optimization (use react-best-practices instead).
2d29074e2b416c3ac2608e81b28be67ee90f3802e5862646c10077c36855f47c- AGENTS.md22,627 bytes
- README.md2,140 bytes
- SKILL.md2,965 bytes
- rules/_sections.md829 bytes
- rules/_template.md329 bytes
- rules/architecture-avoid-boolean-props.md2,267 bytes
- rules/architecture-compound-components.md2,600 bytes
- rules/patterns-children-over-render-props.md1,886 bytes
- rules/patterns-explicit-variants.md2,395 bytes
- rules/react19-no-forwardref.md953 bytes
- rules/state-context-interface.md4,974 bytes
- rules/state-decouple-implementation.md2,699 bytes
- rules/state-lift-state.md3,224 bytes
Release history
