Individual skill
nextjs
Next.js 16 App Router caching and routing.
skills/nextjs/SKILL.md
Source commit b210600fdf49441ee1efeca2cbdc05599ec03019
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 42
- Repository last updated
- Nov 4, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- ai-coding-assistant Repository topic
- claude-code Repository topic
- codex Repository topic
- cursor Repository topic
- frontend Repository topic
- nextjs Repository topic
- opencode Repository topic
- react Repository topic
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,316 bytesSKILL.mdcore · 5,316 bytesreferences/action-error-handling.mddoc · 1,780 bytesreferences/action-optimistic-updates.mddoc · 1,884 bytesreferences/action-pending-states.mddoc · 1,650 bytesreferences/action-revalidation.mddoc · 2,178 bytesreferences/action-server-action-forms.mddoc · 1,904 bytesreferences/build-barrel-files.mddoc · 1,214 bytesreferences/build-dynamic-imports.mddoc · 1,938 bytesreferences/build-external-packages.mddoc · 1,165 bytesreferences/build-optimize-package-imports.mddoc · 1,283 bytesreferences/build-turbopack-config.mddoc · 2,092 bytesreferences/cache-fetch-options.mddoc · 1,941 bytesreferences/cache-react-cache.mddoc · 1,774 bytesreferences/cache-revalidate-path.mddoc · 1,603 bytesreferences/cache-revalidate-tag.mddoc · 1,970 bytesreferences/cache-segment-config.mddoc · 2,138 bytesreferences/cache-use-cache-directive.mddoc · 2,280 bytesreferences/client-children-pattern.mddoc · 1,971 bytesreferences/client-hydration-mismatch.mddoc · 2,465 bytesreferences/client-third-party-scripts.mddoc · 1,766 bytesreferences/client-use-client-boundary.mddoc · 1,973 bytesreferences/meta-generate-metadata.mddoc · 1,837 bytesreferences/meta-opengraph-images.mddoc · 1,778 bytesreferences/meta-robots.mddoc · 1,428 bytesreferences/meta-sitemap.mddoc · 1,837 bytesreferences/route-instant-navigations.mddoc · 3,860 bytesreferences/route-intercepting-routes.mddoc · 1,951 bytesreferences/route-not-found.mddoc · 1,522 bytesreferences/route-parallel-routes.mddoc · 1,900 bytesreferences/route-partial-prefetching.mddoc · 3,151 bytesreferences/route-prefetching.mddoc · 2,243 bytesreferences/route-proxy-ts.mddoc · 1,914 bytesreferences/server-avoid-client-fetching.mddoc · 1,808 bytesreferences/server-component-streaming.mddoc · 1,763 bytesreferences/server-data-colocation.mddoc · 1,753 bytesreferences/server-error-handling.mddoc · 1,659 bytesreferences/server-parallel-fetching.mddoc · 1,752 bytesreferences/server-preload-pattern.mddoc · 1,813 bytesreferences/stream-error-tsx.mddoc · 1,742 bytesreferences/stream-loading-tsx.mddoc · 1,648 bytesreferences/stream-nested-suspense.mddoc · 2,087 bytesreferences/stream-skeleton-matching.mddoc · 1,947 bytesreferences/stream-suspense-boundaries.mddoc · 1,612 bytes
Read excerpt
# Next.js Community Next.js 16 App Router Best Practices
Comprehensive performance optimization guide for Next.js 16 App Router applications, maintained by the Next.js Community. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation. Two rules cover Next.js 16.3 preview features (Instant Navigations, Partial Prefetching), gated behind `cacheComponents` and `partialPrefetching`.
## When to Apply
Reference these guidelines when:
- Writing new Next.js 16 App Router code
- Configuring caching strategies with 'use cache' directive
- Implementing server components and data fetching
- Setting up routing with parallel and intercepting routes
- Creating server actions for form handling and mutations
## Rule Categories by Priority