vercel/next.js

The React Framework

142kStars on the repository
29Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

authoring-skills

01

vercel/next.js

Skill Claude CodeCodex

How to create and maintain agent skills in .agents/skills/. Use when creating a new SKILL.md, writing skill descriptions, choosing frontmatter fields, or deciding what content belongs in a skill vs AGENTS.md. Covers the supported spec fields, description writing, naming conventions, and the relationship between…

142k yesterday A 75 tokens original MIT

backport-pr

02

vercel/next.js

Skill Claude CodeCodex

Backport a merged Next.js pull request from canary to a previous release branch such as next-16-2. Use when the user asks to backport, cherry-pick, or open a backport PR from a PR number to an older Next.js version. Covers finding the merged PR commit, creating a backport branch from the target release branch…

142k yesterday A 97 tokens original MIT

create-pr

03

vercel/next.js

Skill Claude CodeCodex

Create Git branches, commits, pushes, and GitHub pull requests for Next.js. Use when the user asks to create a branch, commit current changes, open a PR or draft PR, publish a pull request, or recover from gh pr create / PR template issues. Covers .github/pullrequesttemplate.md, --body formatting, codex/ branch names…

142k yesterday A 83 tokens original MIT

dce-edge

04

vercel/next.js

Skill Claude CodeCodex

DCE-safe require() patterns and edge runtime constraints. Use when writing conditional require() calls, guarding Node-only imports (node:stream etc.), or editing define-env-plugin.ts / app-render / stream-utils for edge builds. Covers if/else branching for webpack DCE, TypeScript definite assignment, the NEXTRUNTIME…

142k yesterday A 84 tokens original MIT

deploy-release-test

05

vercel/next.js

Skill Claude CodeCodex

Validate a commit-specific Next.js preview package and manually trigger the entire Next.js deployment test suite through the teste2edeployrelease.yml GitHub Actions workflow. Use only when asked to run the full deploy test suite or this workflow specifically from an internal vercel/next.js PR branch. Do not use for…

142k yesterday A 115 tokens original MIT

flags

06

vercel/next.js

Skill Claude CodeCodex

How to add or modify Next.js experimental feature flags end-to-end. Use when editing config-shared.ts, config-schema.ts, define-env-plugin.ts, next-server.ts, export/worker.ts, or module.compiled.js. Covers type declaration, zod schema, build-time injection, runtime env plumbing, and the decision between runtime…

142k yesterday A 77 tokens original MIT

gate-tests

07

vercel/next.js

Skill Claude CodeCodex

How to use the @gate / @force-gate test directives instead of it.skip or fake-green skip patterns. Use when a test is known-failing under some test-matrix dimension (dev mode, a bundler, an experimental flag like cacheComponents), when converting if (isNextDev) return guards or env-var describe.skip branches, when…

142k yesterday A 131 tokens original MIT

gh-stack

08

vercel/next.js

Skill Claude CodeCodex

Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is…

142k yesterday A 80 tokens original MIT

insight-error-page

09

vercel/next.js

Skill Claude CodeCodex

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

142k yesterday A 83 tokens original MIT

next-rspack

10

vercel/next.js

Skill Claude CodeCodex

Maintain @next/rspack-core and @next/rspack-binding packages. Use when editing rspack/package.json, rspack/crates/binding/Cargo.toml, rspack/rust-toolchain.toml, or packages/next-rspack/package.json. Covers upgrading @rspack/core npm version, rspack crate versions, Rust toolchain version, building and linking for…

142k yesterday A 113 tokens original MIT

pr-status-triage

11

vercel/next.js

Skill Claude CodeCodex

Triage CI failures and PR review comments using scripts/pr-status.js. Use when investigating failing CI jobs, flaky tests, or PR review feedback. Covers blocker-first prioritization (build > lint > types > tests), CI env var matching for local reproduction, and the Known Flaky Tests distinction.

142k yesterday A 65 tokens original MIT

react-sync

12

vercel/next.js

Skill Claude CodeCodex

Build local React changes in the bundle variants consumed by Next.js, sync them into a local Next.js checkout, and test the resulting integration. Use when working on React changes that need validation in Next.js, or when asked to run buildForNext, pnpm sync-react, or synchronize a React checkout with Next.js.

142k yesterday A 67 tokens original MIT

react-vendoring

13

vercel/next.js

Skill Claude CodeCodex

React vendoring and react-server layer boundaries. Use when editing entry-base.ts, $$compiled.internal.d.ts, compiled/react packages, or taskfile.js copyvendorreact. Covers the entry-base.ts boundary (all react-server-dom-webpack/ imports must go through it), vendored React channels, type declarations, Turbopack remap…

142k yesterday A 96 tokens original MIT

router-act

14

vercel/next.js

Skill Claude CodeCodex

How to write end-to-end tests using createRouterAct and LinkAccordion. Use when writing or modifying tests that need to control the timing of internal Next.js requests (like prefetches) or assert on their responses. Covers the act API, fixture patterns, prefetch control via LinkAccordion, fake clocks, and avoiding…

142k yesterday A 71 tokens original MIT

runtime-debug

15

vercel/next.js

Skill Claude CodeCodex

Debug and verification workflow for runtime-bundle and module-resolution regressions. Use when diagnosing unexpected module inclusions, bundle size regressions, or CI failures related to NEXTSKIPISOLATE, nft.json traces, or runtime bundle selection (module.compiled.js). Covers CI env mirroring, full stack traces via…

142k yesterday A 82 tokens original MIT

sandbox-bench

16

vercel/next.js

Skill Claude CodeCodex

Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app (rps, latency, p95; TTFB, RSS and document/Flight bytes when the Next side captures them) and, for React changes, through…

142k yesterday A 212 tokens original MIT

update-docs

17

vercel/next.js

Skill Claude CodeCodex

This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs…

142k yesterday A 122 tokens original MIT

v8-jit

18

vercel/next.js

Skill Claude CodeCodex

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…

142k yesterday A 88 tokens original MIT

write-api-reference

19

vercel/next.js

Skill Claude CodeCodex

Produces API reference documentation for Next.js APIs: functions, components, file conventions, directives, and config options. Auto-activation: User asks to write, create, or draft an API reference page. Also triggers on paths like docs/01-app/03-api-reference/, or keywords like "API reference", "props"…

142k yesterday A 130 tokens original MIT

write-guide

20

vercel/next.js

Skill Claude CodeCodex

Generates technical guides that teach real-world use cases through progressive examples. Auto-activation: User asks to write, create, or draft a guide or tutorial. Also use when converting feature documentation, API references, or skill knowledge into step-by-step learning content. Input sources: Feature skills, API…

142k yesterday A 102 tokens original MIT

vercel/next.js

Skill Claude CodeCodex

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

142k yesterday A 95 tokens original MIT

vercel/next.js

Skill Claude CodeCodex

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

142k yesterday A 170 tokens original MIT

next-dev-loop

23

vercel/next.js

Skill Claude CodeCodex

Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines /next/mcp (Next.js's view) with agent-browser (the browser's view). Requires a running next dev.

142k yesterday A 68 tokens original MIT

vercel/next.js

Skill Claude CodeCodex

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

142k yesterday A 103 tokens original MIT