Avis Zod Integration
Capability: validation
Status: stable integration manifest, alpha project support
Supported ecosystems:
- Node
Supported frameworks:
- Next.js
Supported package managers:
- npm
- pnpm
- yarn
- bun
Package:
zod
Command:
avis add zodWhat Avis Does
Section titled “What Avis Does”- installs
zodwhen it is not already present - creates a starter schema module when it does not already exist
- verifies dependency and schema module presence
Files Avis May Create
Section titled “Files Avis May Create”src/schemas/index.tsorsrc/schemas/index.jswhen the project hassrcschemas/index.tsorschemas/index.jswhen the project does not havesrc
Files Avis May Modify
Section titled “Files Avis May Modify”None.
Dependencies Added
Section titled “Dependencies Added”zod
Verification
Section titled “Verification”avis doctor checks:
zoddependency installed- starter schema module detected
If the dependency exists but the starter schema file is missing, Avis reports the integration as partially configured.
Idempotence
Section titled “Idempotence”Avis skips dependency installation when zod is already listed and skips schema creation when the expected schema file exists.
Manual Setup Differences
Section titled “Manual Setup Differences”Avis creates a minimal userSchema starter. Adapt it to your domain before using it as production validation.