/ts-dev-kit:composition-patternsfrom ts-dev-kit
Guides React composition patterns to avoid boolean prop proliferation, using compound components, render props, context providers, and React 19 APIs.
Ships in ts-dev-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.mdreferences/architecture-avoid-boolean-props.md (opens in a new tab)references/architecture-compound-components.md (opens in a new tab)references/patterns-children-over-render-props.md (opens in a new tab)references/patterns-explicit-variants.md (opens in a new tab)references/react19-no-forwardref.md (opens in a new tab)references/state-context-interface.md (opens in a new tab)references/state-decouple-implementation.md (opens in a new tab)references/state-lift-state.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jgamaraalv/ts-dev-kit --plugin ts-dev-kit22 skills in this plugin
/bullmqBullMQ queue system reference for Redis-backed job queues, workers, flows, and schedulers. Use when: (1) creating queues and workers with BullMQ, (2) adding jobs (delayed, prioritized, repeatable, deduplicated), (3) setting up FlowProducer parent-child job hierarchies, (4) configuring retry strategies, rate limiting, or concurrency, (5) implementing job schedulers with cron/interval patterns, (6) preparing BullMQ for production (graceful shutdown, Redis config, monitoring), or (7) debugging stalled jobs or connection issues/codebase-adapterAdapts ts-dev-kit plugin files to the host project where it is installed. Use when: (1) installing ts-dev-kit in a new project for the first time, (2) project tech stack or structure has changed, (3) agents reference wrong paths, unavailable skills, or missing MCPs, (4) the user says 'adapt the plugin', 'configure ts-dev-kit for this project', 'sync plugin to this codebase', or 'update plugin context'. Surgically edits specific sections in plugin skills and agent definitions — domain area tables, skill/MCP references, quality gate commands, project paths, and package names — without touching any workflow logic, execution protocols, or dispatch patterns./conventional-commitsWrite, review, and validate commit messages following the Conventional Commits v1.0.0 specification. Use when: (1) crafting a git commit message for any change, (2) reviewing or correcting an existing commit message, (3) choosing the right commit type for a change, (4) deciding how to mark a breaking change, (5) writing multi-line commits with body and footers, or (6) understanding how commits map to SemVer bumps (PATCH/MINOR/MAJOR). Covers all standard types: feat, fix, docs, chore, refactor, perf, test, build, ci, style, revert.Other plugins' skills for the same job