Production deployment patterns for Next.js covering Docker, CI/CD, environment config, health checks, and monitoring.

CCM score
55 of 100
skills.sh installs
3.9K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers standalone output, multi-stage Docker builds, GitHub Actions pipelines, health checks, and OpenTelemetry instrumentation
  • Includes a Dockerfile, a deploy workflow, an env validation helper, a /api/health route, and an instrumentation.ts setup
  • Requires a consistent NEXT_SERVER_ACTIONS_ENCRYPTION_KEY across servers, or Server Actions fail in multi-server deployments
  • Designed for teams shipping Next.js apps to containers or self-hosted Node servers rather than static or serverless targets

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill nextjs-deployment -y

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

Files

Next.js Deployment

Deploy Next.js applications to production with Docker, CI/CD pipelines, and comprehensive monitoring.

Overview

This skill provides patterns and code examples for deploying Next.js applications to production environments. It covers containerization with Docker, CI/CD automation with GitHub Actions, environment configuration, health checks, and production monitoring. Use standalone output mode for container deployments, multi-stage Docker builds for optimized images, and OpenTelemetry for observability.

When to Use

Activate when user requests involve:

  • "Deploy Next.js", "Dockerize Next.js", "containerize"
  • "GitHub Actions", "CI/CD pipeline", "automated deployment"
  • "Environment variables", "runtime config", "NEXT_PUBLIC"
  • "Preview deployment", "staging environment"
  • "Monitoring", "OpenTelemetry", "tracing", "logging"
  • "Health checks", "readiness", "liveness"
  • "Production build", "standalone output"
  • "Server Actions encryption key", "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY"

Quick Reference

Output Modes

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
DevOps & Cloud, Frontend & UI Code
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Nextjs Deployment

More DevOps & Cloud