V8 JIT optimization patterns for writing high-performance JavaScript in Next.js server internals. Use when writing or reviewing hot-path code in app-render, stream-utils, routing, caching, or any per-request code path. Covers hidden classes / shapes, monomorphic call sites, inline caches, megamorphic deopt, closure allocation, array packing, and profiling with --trace-opt / --trace-deopt.
$npx -y skills add vercel/next.js --skill v8-jitInstalls into the current project.
Run `npx skills use "https://github.com/vercel/next.js" --skill "vercel/next.js/v8-jit"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/vercel/next.js" that are relevant to the current task. Run `npx skills add "https://github.com/vercel/next.js"` and select the relevant skills, then follow their instructions.