solid-syntax-context

Official

Share state safely across SolidJS components.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Sharing and injecting state across SolidJS components is error-prone when porting patterns from React. This Skill provides a typed context API (createContext, useContext, and Provider) to enable predictable, scoped state sharing and dependency injection across component trees.

Core Features & Use Cases

  • Typed contexts with createContext and useContext, plus a guard-enabled hook to enforce Provider presence.
  • Support for reactive values via signals and stores, ensuring changes propagate efficiently without breaking reactivity.
  • Nested Providers and override capabilities for scoped state and clean dependency injection in complex UIs.

Quick Start

Create a separate module that exports a typed useContext hook, wrap your app with a Provider, and consume the context in components through the hook.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: solid-syntax-context
Download link: https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package/archive/main.zip#solid-syntax-context

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.