nextjs-monorepo-ci

Installation
SKILL.md

nextjs-monorepo-ci

GitLab CI/CD for Next.js monorepos: six-stage pipeline from lint to deploy notification. Covers security scanning, standalone-output obfuscation, unprivileged Kaniko builds, and post-deploy IndexNow pings.

When to use

  • Adding or fixing CI stages (validate / security / build / obfuscate / package / notify)
  • Debugging npm ci failures, artifact paths, or cd-then-cp path issues
  • Tuning javascript-obfuscator settings on Next.js .next/standalone output
  • Switching from Docker-in-Docker to Kaniko for unprivileged builds
  • Configuring gitleaks with allowlists for public tokens (IndexNow keys, GA IDs)
  • Adding a new app (e.g., kb) to an existing multi-app pipeline

Do NOT use for:

  • GitHub Actions pipelines (different syntax and runner model)
  • Non-Next.js Node.js apps

Pipeline structure

Installs
2
First Seen
May 23, 2026
nextjs-monorepo-ci — andreab67/agent-skills