solid-composition-patterns
Installation
SKILL.md
Solid 2.0 Composition Patterns
Composition patterns for scalable Solid 2.0 components. Replace combinatorial boolean props with compound components, lift reactive state and transactional mutations into providers, isolate async waits behind boundaries, and preserve fine-grained proxy reactivity end-to-end.
When to Apply
Load matching rules from rules/ when:
- Handling component
props,children,refs, context, lists, or dynamic components - Refactoring boolean-flag components or building compound UI primitives
- Placing
<Loading>,<Errored>,<Reveal>,isPending, orlatestacross a component tree - Designing
{ state, actions, meta }provider contracts with signals, stores, projections, or optimisticactions