davenov:cc:expert-evolu-nextjs
Installation
SKILL.md
<quick_start>
Install packages: npm install @evolu/common @evolu/react @evolu/react-web
Enable TypeScript strict mode and exactOptionalPropertyTypes. Define schema with branded types using id() and NonEmptyString. Create Evolu instance and wrap app with EvoluProvider. Use useQuery for reactive data and create/update for mutations.
</quick_start>
<success_criteria>
- TypeScript compiles with strict mode enabled
- Schema uses branded ID types for all tables
- Queries filter soft-deleted rows with
where("isDeleted", "is not", evolu.sqliteTrue) - All Evolu code is in Client Components with "use client" directive
- EvoluProvider and Suspense boundaries are properly configured
- Mutations validate input with
.from()before executing - Mnemonic backup is available for data recovery </success_criteria>