Tanstack AI Persistence Build Custom Adapter

Use when an app needs TanStack AI chat persistence on a database with no dedicated recipe — raw Postgres (pg/postgres.js), Kysely, node:sqlite, MongoDB, Supabase, Redis. Writes a chat-persistence.ts against the app's existing client, covering the four stores, the idempotency invariants, and the conformance gate. Route to the Drizzle, Prisma, or Cloudflare skills instead when one of those matches.

lukasa1993 79ccb38 3 files · 17.9 KB Updated

File contents

lukasa1993/tanstack-skills-extracted/tree/main/skills/tanstack-ai-persistence-build-custom-adapter commit 79ccb38803

Frequently asked questions

npx skillmds@latest add lukasa1993/tanstack-ai-persistence-build-custom-adapter