
Nextjs V16
Covers Next.js 16's environment variable system with the file precedence rules, NEXT_PUBLIC_ prefixing for client-side exposure, and deployment patterns for Vercel. You'll reach for this when setting up a new Next.js project or debugging why your API keys work locally but not in production. The source walks through the seven different .env file types and their load order, which is genuinely helpful since Next.js's precedence chain trips people up constantly. Includes validation scripts and a practical checklist for catching the classic mistake of putting secrets in NEXT_PUBLIC_ variables where they'll get baked into your browser bundle.
- skills.sh installs
- 380
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill nextjs-v16 --agent claude-codeInstalls into .claude/skills of the current project.
Files
Next.js 16
- Async
params/cookies/headers; opt-in caching via"use cache"; Turbopack default.
Anti-patterns:
- ❌ Sync request APIs; ✅
awaitparams,cookies(), andheaders(). - ❌ Keep
middleware.ts; ✅ useproxy.tsandexport function proxy. - ❌
revalidateTag("posts"); ✅revalidateTag("posts", "max")or{ expire: ... }.
References: references/migration-checklist.md, references/cache-components.md, references/turbopack.md
Sponsors
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Categories
- Frontend Development, Documentation
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 158- Vercel Deployments Builds378
- Security Scanning377
- Test Quality Inspector376
- Svelte5 Runes Static373
- Stacked Prs371
- Better Auth Core368
- Homebrew Formula Maintenance366
- Better Auth Integrations363
- Reporting Pipelines363
- Better Auth Plugins362
- Git Worktrees360
- Nextjs Core357
- Fastapi Local Dev356
- Vb Winforms356
- Headlessui355
- Jest Typescript354
- Vercel Networking Domains353
- Svelte352
- Sec Edgar Pipeline351
- Env Manager350
- Mongodb350
- Vb Core350
- Phoenix Api Channels348
- Digitalocean Containers Images347