From antfu-skills
Builds and deploys Nitro servers using filesystem routing, caching, storage, tasks, websockets, and superseded deployment presets for Node/Bun/Deno/Cloudflare/Vercel.
How this skill is triggered — by the user, by Claude, or both
Slash command
/antfu-skills:nitroThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> The skill is based on Nitro v3 (beta), generated at 2026-06-22.
GENERATION.mdreferences/advanced-migration.mdreferences/core-assets.mdreferences/core-cache.mdreferences/core-configuration.mdreferences/core-rendering.mdreferences/core-routing.mdreferences/core-storage.mdreferences/deploy-presets.mdreferences/features-database.mdreferences/features-openapi.mdreferences/features-plugins.mdreferences/features-tasks.mdreferences/features-websocket.mdThe skill is based on Nitro v3 (beta), generated at 2026-06-22.
Nitro is a framework-agnostic, deployment-agnostic server toolkit powered by H3 v2, unstorage, and Vite/Rolldown/Rollup. It powers Nuxt and works standalone. From one codebase it builds optimized output for Node.js, Bun, Deno, Cloudflare, Vercel, Netlify, and more.
Key capabilities:
NITRO_* env vars.Nitro v3 renamed the package
nitropack→nitroand adopts H3 v2 (web-standardRequest/Response). If unsure about v2-vs-v3 APIs, read advanced-migration first.
| Topic | Description | Reference |
|---|---|---|
| Routing | File-based routes, defineHandler, params, middleware, route rules, errors | core-routing |
| Configuration | nitro.config.ts, defineConfig, key options, runtime config | core-configuration |
| Storage | unstorage KV, mount points, drivers, dynamic mounts | core-storage |
| Cache | defineCachedHandler, defineCachedFunction, SWR, invalidation | core-cache |
| Assets | Public assets, compression, server assets via storage | core-assets |
| Rendering | Renderer (HTML/SSR), server entry, framework integration | core-rendering |
| Topic | Description | Reference |
|---|---|---|
| Plugins & Hooks | definePlugin, runtime lifecycle hooks, error capture | features-plugins |
| Tasks | On-demand & scheduled (cron) tasks, runTask | features-tasks |
| WebSocket & SSE | defineWebSocketHandler, pub/sub, namespaces, event streams | features-websocket |
| Database | Built-in SQL layer via db0, useDatabase, connectors | features-database |
| OpenAPI | Auto spec from defineRouteMeta, Scalar/Swagger UIs | features-openapi |
| Topic | Description | Reference |
|---|---|---|
| Deployment Presets | Runtimes & providers, compatibility dates, platform integration | deploy-presets |
| v2 → v3 Migration | Package rename, nitro/* imports, H3 v2 API, preset changes | advanced-migration |
2plugins reuse this skill
First indexed Jul 1, 2026
npx claudepluginhub antfu/skillsGuides Nuxt 5 server-side development: API routes, middleware, Nitro v3/h3 v2 patterns, database integration (D1, Drizzle, PostgreSQL), and Nitro v2 migrations.
Develops Nuxt 4 server-side features with Nitro: API routes, server middleware, database integrations (D1, PostgreSQL, Drizzle), file uploads, WebSockets.
Builds NuxtHub v0.10.6 apps with Drizzle ORM (sqlite/postgresql/mysql), KV, blob, and cache APIs. Covers schema definition, migrations, multi-cloud deployment (Cloudflare, Vercel), and hub:db/hub:kv/hub:blob imports.