/nextjs-16:reviewing-nextjs-16-patternsfrom nextjs-16
Review code for Next.js 16 compliance - security patterns, caching, breaking changes. Use when reviewing Next.js code, preparing for migration, or auditing for violations.
Ships in nextjs-16. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub djankies/claude-configs --plugin nextjs-16Comprehensive review for Next.js 16 compliance covering security vulnerabilities, caching patterns, breaking changes, and migration readiness.
For comprehensive security review patterns, use the reviewing-security skill from the review plugin. For dependency auditing, use the reviewing-dependencies skill from the review plugin.
CVE-2025-29927 - Server Action Authentication
Check all Server Actions for proper authentication:
# Find all Server Actions
grep -r "use server" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx"
For each Server Action verify:
Middleware Security
# Find middleware files
find . -name "middleware.ts" -o -name "middleware.js"
Verify:
Server Component Data Access
# Find async Server Components
grep -r "export default async function" app/
Check each Server Component:
use cache Adoption
# Find fetch calls that should use cache
grep -r "fetch(" --include="*.ts" --include="*.tsx"
# Find functions that should be cached
grep -r "export async function" --include="*.ts"
Verify:
use cache directive for cacheable functionscacheTag() for revalidationcacheLife()Cache Lifecycle Configuration
Check for proper cache profiles:
cacheLife('seconds') for rapidly changing datacacheLife('minutes') for moderate update frequencycacheLife('hours') for stable contentcacheLife('days') for rarely changing datacacheLife('weeks') for static contentRevalidation Strategy
# Find revalidation calls
grep -r "revalidateTag\|revalidatePath" --include="*.ts" --include="*.tsx"
Verify:
Async Request APIs
# Find synchronous API usage
grep -r "cookies()\|headers()\|params\|searchParams" --include="*.ts" --include="*.tsx"
Check for required async usage:
await cookies() in Server Components/Actionsawait headers() in Server Components/Actionsawait params in page/layout/route componentsawait searchParams in page componentsMiddleware to Proxy Migration
# Check for removed middleware patterns
grep -r "NextResponse.rewrite\|NextResponse.redirect" middleware.ts
Verify migration:
Route Handler Changes
# Find route handlers
find app -name "route.ts" -o -name "route.js"
Check each route handler:
generateStaticParams Changes
# Find static param generation
grep -r "generateStaticParams" --include="*.ts" --include="*.tsx"
Verify:
Dependency Updates
Check package.json:
Configuration Updates
Check next.config.js:
Build Validation
Run and verify:
npm run build
Runtime Testing
Critical
High
Medium
Nitpick
9 skills in this plugin
/configuring-image-optimizationTeach image optimization configuration changes in Next.js 16. Use when configuring images, troubleshooting image loading, or migrating image settings./implementing-parallel-routesTeach parallel routes and slot patterns in Next.js 16. Use when implementing parallel routes, working with @slot syntax, or encountering missing default.tsx errors./migrating-async-request-apisTeach async request APIs in Next.js 16 - params, searchParams, cookies(), headers(), draftMode() are now async. Use when migrating from Next.js 15, fixing type errors, or working with request data./migrating-middleware-to-proxyTeach middleware.ts to proxy.ts migration in Next.js 16. Use when migrating middleware, encountering middleware errors, or implementing request proxying./securing-data-access-layerTeach Data Access Layer pattern to prevent CVE-2025-29927 middleware authentication bypass. Use when implementing authentication, authorization, protecting routes, or working with server actions that need auth./securing-server-actionsTeach server action authentication and security patterns in Next.js 16. Use when implementing server actions, form handlers, or mutations that need authentication.Other plugins' skills for the same job