Skip to content

Nuxt 4 server routes, middleware, and database patterns built on Nitro for backend development.

CCM score
56 of 100
skills.sh installs
425
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers file-based API routes, server middleware, Nitro plugins, and request and response utilities for Nuxt 4
  • Includes handling for URL and query parameters, request bodies, headers, cookies, redirects, and error responses
  • Provides Cloudflare D1 with Drizzle, schema definitions, and CRUD examples, plus reference files for PostgreSQL, WebSockets, and file uploads
  • Designed for developers building backend logic, API endpoints, or real-time features inside a Nuxt 4 application

Install

$ npx -y skills add secondsky/claude-skills --skill nuxt-server -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Nuxt 4 Server Development

Server routes, API patterns, and backend development with Nitro.

Quick Reference

File-Based Server Routes

server/
├── api/                      # API endpoints (/api/*)
│   ├── users/
│   │   ├── index.get.ts      → GET  /api/users
│   │   ├── index.post.ts     → POST /api/users
│   │   ├── [id].get.ts       → GET  /api/users/:id
│   │   ├── [id].put.ts       → PUT  /api/users/:id
│   │   └── [id].delete.ts    → DELETE /api/users/:id
│   └── health.get.ts         → GET  /api/health
├── routes/                   # Non-API routes
│   └── sitemap.xml.get.ts    → GET  /sitemap.xml
├── middleware/               # Server middleware
│   └── auth.ts               # Runs on every request
├── plugins/                  # Nitro plugins
│   └── database.ts           # Initialize database
└── utils/                    # Server utilities
    └── db.ts                 # Database helpers

HTTP Method Suffixes

SuffixHTTP Method
.get.tsGET
.post.tsPOST
.put.tsPUT
.patch.tsPATCH
.delete.tsDELETE
.tsAll methods

When to Load References

Details

Repository
github.com/secondsky/claude-skills
Categories
Backend & APIs, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the nuxt-server skill do?

The nuxt-server skill covers server-side development in Nuxt 4 with Nitro, including API routes, server middleware, database integration and backend patterns. It is meant for creating server API routes, implementing server middleware, integrating databases such as D1, PostgreSQL and Drizzle, handling file uploads, implementing WebSockets, and building backend logic with Nitro.

How do I install the nuxt-server skill?

Run npx -y skills add secondsky/claude-skills --skill nuxt-server -y in your project to install it. Once installed, the agent gets the Nuxt 4 Nitro guidance for server routes, middleware and database work.

Which other backend skills is nuxt-server listed alongside?

nuxt-server sits in the Backend & APIs category on Claude Marketplaces, alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. Its focus is Nuxt 4 server routes with Nitro, including Cloudflare D1 with Drizzle and PostgreSQL integration.

Does nuxt-server need a database to be useful?

No, the skill covers API routes and server middleware on their own, with request, response, cookie and error handling examples. Database integration with Cloudflare D1 and Drizzle, or PostgreSQL, is one of its covered topics when you need it.

More from secondsky/claude-skills

All 116

Similar to Nuxt Server

More Backend & APIs