Back to list
fusengine

nextjs-16

by fusengine

Redefining development through cognitive automation and collaborative agent systems.

0🍴 0📅 Jan 24, 2026

SKILL.md


name: nextjs-16 description: Expert Next.js 16 development with Turbopack default, Cache Components, use cache directive, proxy.ts, React Compiler, and React 19.2. Use when working with Next.js projects, App Router, Server Components, caching, routing, data fetching, or deployment. user-invocable: false

Next.js 16 Expert

Overview

Next.js 16 (released October 21, 2025) is a major release with Turbopack as default bundler, Cache Components model, and significant architectural improvements.

Quick Start

# Upgrade existing project
bunx @next/codemod@canary upgrade latest

# Or manual upgrade
bun add next@latest react@latest react-dom@latest

# Or new project
bunx create-next-app@latest

Key Features

1. Turbopack (Now Default)

  • 2-5x faster production builds
  • Up to 10x faster Fast Refresh
  • Filesystem caching (beta)

To use webpack instead:

next dev --webpack
next build --webpack

2. Cache Components

New explicit caching model with use cache directive:

// next.config.ts
const nextConfig = {
  cacheComponents: true,
};

3. proxy.ts (Replaces middleware.ts)

Clearer network boundary, runs on Node.js runtime:

// proxy.ts
export default function proxy(request: NextRequest) {
  return NextResponse.redirect(new URL('/home', request.url));
}

4. React Compiler (Stable)

Automatic memoization:

// next.config.ts
const nextConfig = {
  reactCompiler: true,
};
bun add babel-plugin-react-compiler@latest

5. React 19.2 Features

  • View Transitions: Animate elements in Transitions
  • useEffectEvent: Extract non-reactive Effect logic
  • Activity: Background rendering with state preservation

Version Requirements

RequirementVersion
Node.js20.9+ (LTS)
TypeScript5.1.0+
Chrome/Edge111+
Firefox111+
Safari16.4+

Documentation Structure

This skill contains the complete official Next.js 16 documentation:

Pages Router (Legacy)

Architecture

Community

Breaking Changes from v15

Removals

  • AMP support removed
  • next lint removed (use ESLint/Biome directly)
  • serverRuntimeConfig/publicRuntimeConfig removed
  • Sync params/searchParams access removed
  • Sync cookies()/headers()/draftMode() removed

Behavior Changes

  • Turbopack is default bundler
  • images.minimumCacheTTL default: 4 hours
  • revalidateTag() requires cacheLife profile
  • Parallel routes require explicit default.js

Deprecations

  • middleware.tsproxy.ts
  • next/legacy/imagenext/image
  • images.domainsimages.remotePatterns

Instructions

  1. ALWAYS use App Router patterns for new projects
  2. Use use cache directive for explicit caching
  3. Use proxy.ts instead of middleware.ts
  4. Enable React Compiler for automatic memoization
  5. Use updateTag() in Server Actions for immediate updates
  6. Use revalidateTag() with cacheLife for background revalidation
  7. Reference the complete docs in subdirectories for detailed patterns

Documentation Reference

For latest official docs, use Context7 MCP:

mcp__context7__get-library-docs with context7CompatibleLibraryID="/vercel/next.js"

Official site: https://nextjs.org/docs

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon