Skip to content

secondsky/claude-skills / plugins/nuxt-v4/skills/nuxt-production

nuxt-production

Verified

| Nuxt 4 production optimization: hydration, performance, testing with Vitest, deployment to Cloudflare/Vercel/Netlify, and v4 migration. Use when: debugging hydration mismatches, optimizing performance and Core Web Vitals, writing tests with Vitest, deploying to Cloudflare Pages/Workers/Vercel/Netlify, or migrating from Nuxt 3 to Nuxt 4.

templates/wrangler.toml

View on GitHub
# Cloudflare Workers configuration
name = "my-nuxt-app"
main = ".output/server/index.mjs"
compatibility_date = "2025-12-19"
compatibility_flags = ["nodejs_compat"]

# Workers Assets (static files)
[site]
bucket = ".output/public"

# Environment variables (public, non-sensitive)
[vars]
PUBLIC_API_URL = "https://api.example.com"
APP_NAME = "My Nuxt App"

# D1 Database
[[d1_databases]]
binding = "DB"
database_name = "my-database"
database_id = "your-database-id"  # Get from: npx wrangler d1 create my-database

# KV Storage
[[kv_namespaces]]
binding = "KV"
id = "your-kv-id"  # Get from: npx wrangler kv:namespace create MY_KV

# R2 Storage
[[r2_buckets]]
binding = "R2"
bucket_name = "my-bucket"  # Create first: npx wrangler r2 bucket create my-bucket

# Durable Objects (optional)
# [[durable_objects.bindings]]
# name = "COUNTER"
# class_name = "Counter"
# script_name = "counter-worker"

# Queues (optional)
# [[queues.producers]]
# binding = "QUEUE"
# queue = "my-queue"

# Workers AI (optional)
# [ai]
# binding = "AI"
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall