Avis Zustand Integration
Capability: state management
Status: stable integration manifest, alpha project support
Supported ecosystems:
- Node
Supported frameworks:
- Next.js
Supported package managers:
- npm
- pnpm
- yarn
- bun
Package:
zustand
Command:
avis add zustandWhat Avis Does
Section titled “What Avis Does”- installs
zustandwhen it is not already present - creates a starter store module when it does not already exist
- verifies dependency and starter store presence
Files Avis May Create
Section titled “Files Avis May Create”src/stores/index.tsorsrc/stores/index.jswhen the project hassrcstores/index.tsorstores/index.jswhen the project does not havesrc
Files Avis May Modify
Section titled “Files Avis May Modify”None.
Dependencies Added
Section titled “Dependencies Added”zustand
Verification
Section titled “Verification”avis doctor checks:
zustanddependency installed- starter store module detected
If the dependency exists but the starter store file is missing, Avis reports the integration as partially configured.
Idempotence
Section titled “Idempotence”Avis skips dependency installation when zustand is already listed by the package manager adapter. It does not recreate the starter store when the expected file already exists.
Manual Setup Differences
Section titled “Manual Setup Differences”Avis creates a minimal counter-style useAppStore starter. You can replace or extend this store after reviewing it.