store

Generate standardized Zustand stores with AsyncStorage persistence and migrations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Sajinthan/rn-boilderplate --skill store-sajinthan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: store
Source: https://github.com/Sajinthan/rn-boilderplate/tree/main/.claude/skills/store
Command: npx skills add https://github.com/Sajinthan/rn-boilderplate --skill store-sajinthan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of Zustand stores with consistent structure and persistence, reducing boilerplate and ensuring uniform patterns across the codebase.

Core Features & Use Cases

  • Scaffolds domain and app-wide stores (e.g., useItemStore, useAppSettingsStore, useBiometricAuthStore) with a consistent API.
  • Supports persisted state via AsyncStorage and migrations to handle schema changes.
  • Provides export guidance and usage patterns to minimize rework.

Quick Start

Create a new store by following the standard scaffold and integrate it into components using the exported hooks.

Frequently Asked Questions about store

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Zustand store with persistence in React Native?

To create a Zustand store with persistence in React Native, you scaffold standardized store definitions using AsyncStorage, ensuring state persists across app restarts with consistent structure and reduced boilerplate.

What is the best way to handle state migrations in a Zustand store?

Handling state migrations in a Zustand store involves applying pre-defined migration patterns during state rehydration to handle schema changes, ensuring persisted data updates correctly without losing previous runtime behavior.

Does this Zustand state management approach require TypeScript?

Yes, this Zustand state management approach requires a TypeScript project to enforce schema definitions and type safety, ensuring robust store structures and runtime behavior across domain and global stores.

Can I scaffold domain-specific Zustand stores for features like biometric auth?

Yes, you can scaffold domain-specific Zustand stores for features like biometric auth, generating standardized hooks such as useBiometricAuthStore with a consistent API to minimize rework across your codebase.

How do I structure app-wide state management with Zustand?

Structuring app-wide state management with Zustand involves scaffolding global stores like useAppSettingsStore with uniform patterns, providing export guidance and pre-defined usage patterns to integrate hooks into components quickly.