requires the Bun version pinned in `.bun-version`; command-tree generation and the `dev`, `test`, and `build` pre-scripts invoke it. Read [`ARD.md`] before adding a command or changing shared
No other project uses it yet
162k7d agoReviewMountCreate a free account to mount
agent/`:
- Lint: `make check`
- Format and fix lint: `make fix`
- Type check: `make typecheck`
- Tests: `make test`
Use the package's `uv` environment and Pydantic v2 APIs. Inspect current dependency
162k7d agoReviewMountCreate a free account to mount
when a required fixture is missing.
## Browser, API, And Contract Boundaries
The action under test belongs to the browser. APIs may prepare fixtures, poll persistence, and clean up; they
162k7d agoReviewMountCreate a free account to mount
port. Switch to the Next.js development server (`pnpm -C web dev:next`) only when testing Next.js-specific functionality or investigating behavior that differs from Next.js.
- Read `docs/test.md` only for frontend
162k7d agoReviewMountCreate a free account to mount
Backport a merged Next.js pull request from canary to an LTS release branch (releases/lts/active or releases/lts/maintenance). 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, cherry-picking from canary, validating, and opening the PR with the release branch as the base.
144k7mo agoReviewMountCreate a free account to mount
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/pull_request_template.md, --body formatting, <agent-name>/ branch names, and Codex app git directives.
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 NEXT_RUNTIME vs real feature flag distinction, and forcing flags false for edge in define-env.ts.
144k7mo agoReviewMountCreate a free account to mount
Rebase a Next.js PR onto the latest canary, or restack dependent PRs after a lower layer changes. Use when a PR conflicts with canary, when asked to rebase, restack, or update a branch, when CI fails after a rebase, or when using gh stack in vercel/next.js. Covers fetching canary in shallow clones, checking that canary is healthy, git rebase --onto, safe force-with-lease pushes, tree and ancestry checks, lockfiles, lint, snapshots, and gh stack behavior in this repository.
144k7mo agoReviewMountCreate a free account to mount
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 NEXT_SKIP_ISOLATE, nft.json traces, or runtime bundle selection (module.compiled.js). Covers CI env mirroring, full stack traces via __NEXT_SHOW_IGNORE_LISTED, route trace inspection, and webpack stats diffing.
144k7mo agoReviewMountCreate a free account to mount
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.
144k7mo agoReviewMountCreate a free account to mount
Rust conventions](../turbopack/AGENTS.md#rust-conventions) in `turbopack/AGENTS.md` also apply throughout `crates/`. For building, testing, and benchmarking, use `$rust-turbopack
No other project uses it yet
144k7mo agoReviewMountCreate a free account to mount
Audit and reduce Next.js browser initial-load work. Use for slow route startup, oversized client bundles, duplicate browser dependencies, or features that can wait for interaction.
No other project uses it yet
144k7mo agoReviewMountCreate a free account to mount
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 decide between opting routes out with `export const instant = false` and fixing them in place.
1 project uses a version of this
144k7mo agoReviewMountCreate a free account to mount
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`.
144k7mo agoReviewMountCreate a free account to mount
Optimize what selected Next.js client navigations include before the click under Partial Prefetching. Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant, wants reusable content to wait for navigation, or needs to choose between default, viewport, and intent prefetching. Requires Next.js 16.3+.
144k7mo agoReviewMountCreate a free account to mount
Test instructions
## Deployment coverage
Tests for behavior that affects deployed applications must live in `test/e2e/`
and exercise the real deployment path. This applies to new features and
regressions. Reserve `test/production
144k7mo agoReviewMountCreate a free account to mount
Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.
CLAUDE.md or AGENTS.md?
CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.
What is a skill?
A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.
Can I search my own team's files too?
Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.