generate-store-action
CommunityAutomate Zustand actions with loading states.
Software Engineering#typescript#api integration#zustand#loading-state#toast-notifications#store-action
Authormarcd35
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate a deterministic, scalable async action in the Zustand health store to manage loading and error states when integrating new API calls.
Core Features & Use Cases
- Automated action generation: Create fetch/add/delete actions aligned with existing HealthStore patterns.
- Loading and error handling: Standardizes isLoading and error state management with toast notifications on success or failure.
- Developer guidance: Provides templates and TypeScript typings for consistency with src/lib/store/healthStore.ts.
Quick Start
Provide: action name, API endpoint, HTTP method, request/response types, and the required state updates. The skill will modify src/lib/store/healthStore.ts accordingly.
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: generate-store-action Download link: https://github.com/marcd35/health-tracker-9000/archive/main.zip#generate-store-action 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.