Favicon of zustand-store-ts

zustand-store-ts Skill

AI Agent SkillTypeScriptOpen source

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand. Published by microsoft in skills.

What is zustand-store-ts Skill?

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand. Published by microsoft in skills. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
85/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using skills

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use zustand-store-ts Skill

  • Use it for developers using skills.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/skills
  • Skill file: .github/plugins/azure-sdk-typescript/skills/zustand-store-ts/SKILL.md

What it does

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

Skill instructions

Zustand Store Create Zustand stores following established patterns with proper TypeScript types and middleware. Quick Start Copy the template from assets/template.ts and replace placeholders: - {{StoreName}} → PascalCase store name (e.g., Project) - {{description}} → Brief description for JSDoc Always Use subscribeWithSelector typescript import { create } from 'zustand'; import { subscribeWithSelector } from 'zustand/middleware'; export const useMyStore = create<MyStore()( subscribeWithSelector((set, get) = ({ // state and actions })) ); Separate State and Actions typescript export interface MyState { items: Item[]; isLoading: boolean; } export interface MyActions { addItem: (item: Item) = void; loadItems: () = Promise<void; } export type MyStore = MyState & MyActions; Use Individual Selectors typescript // Good - only re-renders when items changes const items = useMyStore((state) = state.items); // Avoid - re-renders on any state change const { items, isLoading } = useMyStore(); Subsc

Explore related resources

Frequently asked questions

What is zustand-store-ts?

zustand-store-ts is a open-source AI agent skill with Copy skill directory. Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation.

Who is zustand-store-ts best for?

zustand-store-ts is best for reusing agent instructions, scripts, and references.

How do I install zustand-store-ts?

Install or run zustand-store-ts using Copy skill directory. Check zustand-store-ts for the latest setup command.

Is zustand-store-ts actively maintained?

zustand-store-ts may need a closer maintenance check before production use.

Share:

Stars
2,741
Forks
309
Last commit
9 days ago
Repository age
6 months
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to zustand-store-ts