xstate-common-patterns
CommunityReusable XState v5 state machine patterns.
AuthorIlyaGulya
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides pre-built, robust XState v5 state machine patterns for common application development scenarios, saving developers time and reducing boilerplate code.
Core Features & Use Cases
- Data Fetching: Implements patterns for loading, error handling, and retries.
- Form Validation: Manages form state, validation logic, and submission.
- Authentication Flows: Handles login, logout, and token refresh.
- Utility Patterns: Includes debounce, throttle, exponential backoff, and persistence.
- CRUD Operations: Demonstrates dynamic actor spawning for managing lists of entities.
- React Integration: Shows examples using
useMachine,useSelector, andcreateActorContext.
Quick Start
Use the xstate-common-patterns skill to generate a state machine for handling data fetching with retry logic.
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: xstate-common-patterns Download link: https://github.com/IlyaGulya/claude-marketplace/archive/main.zip#xstate-common-patterns 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 223,000+ vetted skills library on demand.