Skip to content
affaan-m avatar

Nextjs Turbopack

Incremental Turbopack guidance for Next.js 16+ dev speed, bundler choice, and proxy.ts naming.

CCM score
63 of 100
skills.sh installs
12.6K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Turbopack as the default dev bundler, webpack fallback for Turbopack bugs or webpack-only dev plugins, and production build behavior by version
  • Includes next dev, next build, and next start commands plus file-system caching under .next that speeds restarts and hot updates
  • Enforces that proxy.ts is correct in Next.js 16+ projects and must not be flagged or renamed to middleware.ts
  • Designed for developers debugging slow dev startup or hot reload, or reviewing middleware file naming in Next.js 16+ apps

Install

$ npx -y skills add affaan-m/ecc --skill nextjs-turbopack -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Next.js and Turbopack

Next.js 16+ uses Turbopack by default for local development: an incremental bundler written in Rust that significantly speeds up dev startup and hot updates.

When to Use

  • Turbopack (default dev): Use for day-to-day development. Faster cold start and HMR, especially in large apps.
  • Webpack (legacy dev): Use only if you hit a Turbopack bug or rely on a webpack-only plugin in dev. Disable with --webpack (or --no-turbopack depending on your Next.js version; check the docs for your release).
  • Production: Production build behavior (next build) may use Turbopack or webpack depending on Next.js version; check the official Next.js docs for your version.

Use when: developing or debugging Next.js 16+ apps, diagnosing slow dev startup or HMR, or optimizing production bundles.

How It Works

Details

Repository
github.com/affaan-m/ecc
Category
Frontend & UI Code
First seen
Jul 14, 2026

Questions

What does the nextjs-turbopack skill help with?

It gives the agent guidance on Next.js 16 and later with Turbopack, covering incremental Rust bundling, file-system caching, and faster dev startup and hot reload. It also explains when to choose Turbopack over webpack and the middleware.ts to proxy.ts filename change.

How do I install the nextjs-turbopack skill?

Run npx -y skills add affaan-m/ecc --skill nextjs-turbopack -y in your project. Once installed, the agent can help you diagnose slow dev startup or hot reload in Next.js 16 apps.

When should I use Turbopack instead of webpack with this skill?

The skill recommends Turbopack for everyday development because it is the default in Next.js 16 and speeds up cold start and hot updates. It suggests webpack only when you hit a Turbopack bug or rely on a webpack-only plugin in dev.

Does nextjs-turbopack tell me to rename proxy.ts back to middleware.ts?

No, the skill says proxy.ts is the correct middleware filename in Next.js 16 projects and warns against renaming it. The filename depends on the Next.js version, not on whether Turbopack or webpack is in use.

Who is the nextjs-turbopack skill for?

It is for developers building or debugging Next.js 16 and later apps who want faster local dev builds or need to choose between bundlers. It also covers reviewing middleware and proxy file naming in those projects.

More from affaan-m/ecc

All 257

Similar to Nextjs Turbopack

More Frontend & UI Code