
nextjs-deployment
Provides comprehensive patterns for deploying Next.js applications to production
by giuseppe-trisciuoglioFree
Description
This agent skill provides patterns for deploying a Next.js app to production. It covers packaging the app in a Docker container, using standalone output mode for container deployments, and building the image in several stages to keep it small. It sets up CI/CD with GitHub Actions for automated deployment, and it covers preview and staging environments. Configuration is covered too, including environment variables, runtime configuration and the difference between NEXT_PUBLIC values, which reach the browser, and server-only values. The skill also covers health checks, including readiness and liveness, and the Server Actions encryption key, NEXT_SERVER_ACTIONS_ENCRYPTION_KEY. For monitoring, it uses OpenTelemetry for tracing and logging. The skill is written for an AI coding agent. It is one of several skills in the developer-kit repository by giuseppe-trisciuoglio, which has about 371 stars on GitHub. Data fetching inside the app is covered by a separate skill in the same kit. The security audit results for this skill are shown in the FAQ below.…
Highlights
- Package Next.js in a Docker container with standalone output
- Build small images with multi-stage Docker builds
- Automate deployment with GitHub Actions
- Manage environment variables and NEXT_PUBLIC values
- Add health checks and OpenTelemetry tracing
Ratings & Reviews
No ratings yet
Be the first to rate nextjs-deployment.
People also visit
openai/vercel-deploy
Deploy applications and websites to Vercel with preview or production options
openai/render-deploy
Deploy applications to Render's cloud platform using Git-backed services
openai/netlify-deploy
Automate Netlify deployments with CLI auth, linking, and environment support

vercel-cli
Deploy, manage, inspect, and troubleshoot Vercel projects from the command line
nextjs-deployment FAQ
What does it help set up?
It helps set up a Docker container for a Next.js app, a GitHub Actions pipeline, environment configuration, health checks and monitoring.
What is standalone output?
It is a Next.js output mode that the skill recommends for container deployments.
Does it cover monitoring?
Yes. It uses OpenTelemetry for tracing and logging.
How do I install it?
Run npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill nextjs-deployment.
What security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Warn. Snyk: Warn.
What are the best nextjs-deployment alternatives?
Popular alternatives to nextjs-deployment include openai/vercel-deploy, deploy-to-vercel and openai/render-deploy. See all nextjs-deployment alternatives













