plugins/nextjs-expert/skills/nextjs-16/SKILL.md
Expert Next.js 16 with Turbopack, App Router, Cache Components, proxy.ts, React 19. Use when building Next.js apps, routing, caching, server components, or migrating from v15.
npx skillsauth add fusengine/agents nextjs-16Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Production-ready React framework with Server Components, streaming, and Turbopack.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Benefit |
|---------|---------|
| Turbopack default | 2-5x faster builds, 10x faster HMR, Webpack deprecated |
| Cache Components | Explicit caching with use cache directive |
| proxy.ts | Full Node.js runtime, replaces Edge middleware |
| React Compiler | Automatic memoization, no manual useMemo/useCallback |
| React 19 | View Transitions, useEffectEvent, Activity component |
| App Router | Nested layouts, parallel routes, intercepting routes |
use cache directive - Replaces Partial Prerendering (PPR)Pages are thin entry points importing from feature modules:
app/page.tsx → imports from modules/public/home/app/dashboard/page.tsx → imports from modules/auth/dashboard/modules/cores/ → Shared services, utilities, configurationsAll components are Server Components by default. Use 'use client' directive only when needed for interactivity, hooks, or browser APIs.
use cache - Mark async functions for cachingcacheTag() - Tag cached data for targeted revalidationcacheLife() - Control cache duration (stale, revalidate, expire)revalidateTag() - Invalidate cached data on-demandServer Components fetch data directly. Use fetch() with native caching or database queries. No need for getServerSideProps or getStaticProps.
| Need | Reference | |------|-----------| | Initial setup | installation.md, project-structure.md | | Migration v15→v16 | upgrade.md, middleware-migration.md | | Routing | app-router.md, routing-advanced.md | | Caching | caching.md, cache-components.md | | Server Components | server-components.md, directives.md | | React 19 features | react-19.md, react-compiler.md | | Route protection | proxy.md, security.md | | SEO/Metadata | metadata.md, metadata-files.md | | Forms/Actions | forms.md, data-fetching.md | | Deployment | deployment.md, environment.md |
'use client' when necessaryuse cache for expensive operationsdevelopment
Use when optimizing entity-based / semantic SEO 2026. Covers entity maps, Google Knowledge Graph resolution, salience scoring, passage-level ranking, about/sameAs/knowsAbout schema, Cloud Natural Language API validation.
development
Use when running SEO, GEO, schema, Core Web Vitals, sitemap, hreflang, E-E-A-T, AI Overviews, technical SEO, or structured data tasks. Covers full-site audits, single-page analysis, schema markup, content quality, AI search optimization, local SEO, sitemap/robots, internal linking, semantic clustering, and search experience.
development
Use when optimizing search experience (SXO). Covers intent matching, user personas, user stories, page-type analysis, dwell time, scroll depth, pogo-sticking prevention.
development
Use when optimizing local SEO. Covers Google Business Profile, NAP consistency, citations, reviews acquisition, Local Pack ranking, location pages, LocalBusiness schema.