nuxt-server-data

Installation
SKILL.md

Nuxt Server Data

The server-side persistence layer for a Nuxt + NuxtHub + Cloudflare app. Drizzle ORM models the schema in TypeScript, NuxtHub auto-exposes a db handle, D1 is the runtime database.

This is the server-side counterpart to nuxt-repositories — repositories are the client-side API access layer; this skill covers what's behind the API.

When to use

  • Designing a Drizzle schema for D1 / SQLite
  • Generating and applying migrations (local + remote)
  • Querying inside Nitro server routes (server/api/*.post.ts)
  • Sharing types between client and server via shared/types/
  • Avoiding the wrangler-deploy migration gotcha (migrations do NOT auto-apply)
  • Testing DB writes with isolation seams

Reference files

Installs
1
GitHub Stars
14
First Seen
Jun 18, 2026
nuxt-server-data — leeovery/agentic-skills