169downloads

React component composition patterns skill

Refactor React components with composition, compound components and shared state. Replace growing boolean props with APIs that fit the actual component roles.

When it runs

Your agent reads this description from SKILL.md to decide when to load the skill:

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.

What SKILL.md covers

  • When to Apply
  • Rule Categories by Priority
  • Quick Reference
  • How to Use
  • Full Compiled Document

Files in the ZIP

Related skills