zenstack-v3
Installation
SKILL.md
ZenStack v3 — AI Coding Agent Skill
Critical Context
ZenStack v3 is a COMPLETE REWRITE. It removed Prisma as a runtime dependency and built its own ORM on Kysely. The schema language remains a "Prisma superset" but the runtime is entirely different.
Do NOT confuse with v2:
- v2 used
@zenstackhq/runtime→ v3 uses@zenstackhq/orm - v2 CLI was
zenstackpackage → v3 is@zenstackhq/cli - v2 had
abstract model→ v3 usestype+with(mixins) - v2 used
enhance(prisma, ...)→ v3 usesdb.$use(new PolicyPlugin()) - v2 generated into node_modules → v3 generates to
zenstack/folder
Supported databases: PostgreSQL, MySQL, SQLite only.