create-provider-context
OfficialBuild scoped React providers with confidence.
Authorerxes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the pain of manually creating React providers and contexts by enforcing erxes' architectural patterns, preventing common pitfalls like overusing contexts for single components.
Core Features & Use Cases
- Pattern Enforcement: Validates provider naming conventions (PascalCase for providers, *ProviderEffect for side-effect components)
- Scope Management: Ensures providers are created at appropriate levels (feature, module, plugin, global)
- Best Practices: Automates hook exports, error handling for missing contexts, and composition rules
- Use Case: When building a new "Tag" feature requiring shared state across multiple components without prop drilling, this skill scaffolds a TagProvider with proper scoping and error boundaries.
Quick Start
Use the create-provider-context skill to add a new provider for the 'Tag' feature in the 'my-plugin' UI module with 'feature' scope.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: create-provider-context Download link: https://github.com/erxes/erxes/archive/main.zip#create-provider-context Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.