From ts-dev-kit
Provides React composition patterns to refactor components avoiding boolean prop proliferation, using compound components, render props, context providers, and React 19 APIs. For building flexible libraries.
npx claudepluginhub jgamaraalv/ts-dev-kit --plugin ts-dev-kitThis skill uses the workspace's default tool permissions.
Composition patterns for building flexible, maintainable React components. Avoid
references/architecture-avoid-boolean-props.mdreferences/architecture-compound-components.mdreferences/patterns-children-over-render-props.mdreferences/patterns-explicit-variants.mdreferences/react19-no-forwardref.mdreferences/state-context-interface.mdreferences/state-decouple-implementation.mdreferences/state-lift-state.mdProvides React composition patterns for refactoring boolean prop-heavy components, compound components, context providers, render props, and React 19 APIs.
Provides 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, building compound components, context providers, and scalable APIs.
Share bugs, ideas, or general feedback.
Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.
Skip these patterns when: fewer than 3 props, simple variants, or single-use components.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Component Architecture | HIGH | architecture- |
| 2 | State Management | MEDIUM | state- |
| 3 | Implementation Patterns | MEDIUM | patterns- |
| 4 | React 19 APIs | MEDIUM | react19- |
isThread, isEditing, isDMThread to customize behavior. Each boolean doubles possible states. Use composition instead — see references/architecture-avoid-boolean-props.mdstate, actions, meta for dependency injection — see references/state-context-interface.mdchildren for composition instead of renderX props — see references/patterns-children-over-render-props.mdReact 19+ only. Skip this section if using React 18 or earlier.
forwardRef; pass ref as a regular prop. Use use() instead of useContext() — see references/react19-no-forwardref.md