affaan-m avatar

Nextjs Turbopack

Next.js 16 ships with Turbopack as the default dev bundler, and this skill covers when to use it versus webpack, how the file-system caching works, and what changed with middleware naming. The big win is faster cold starts and HMR, especially on larger projects (5-14x speedups cited). One gotcha worth knowing: Next.js 16 switched middleware from middleware.ts to proxy.ts, so don't flag that as wrong when you see it. Useful if you're debugging slow dev servers, optimizing bundles, or just want to understand what Turbopack is actually doing under the hood.

skills.sh installs
6K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from affaan-m/ecc

All 263
1affaan-m avatarreact-performanceaffaan-m/eccReact and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills). Organi5.9Kskills.sh installs
2analogjs avatarangular-directivesanalogjs/angular-skillsCreate custom directives in Angular v20+ for DOM manipulation and behavior extension. Use for attribute directives that modify element behavior/appearance, stru5.7Kskills.sh installs
3pixijs avatarpixijs-html-sourcepixijs/pixijs-skillsUse this skill when rendering live HTML/DOM elements (or frozen snapshots of them) as PixiJS v8 textures via the EXPERIMENTAL HTML-in-Canvas browser APIs. Cover5.5Kskills.sh installs
4callstack avatarreact-native-testingcallstack/react-native-testing-libraryWrite tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native compone5.5Kskills.sh installs
5forcedotcom avatarexperience-ui-bundle-deployforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves deploying, pushing to an org, or post-deploy org setup. Use this skil5.3Kskills.sh installs
6grafana avatarreact-19-plugin-migrationgrafana/skillsMigrate a Grafana plugin to React 19 compatibility. Use when the user asks to update a plugin for React 19, prepare for React 19, fix React 19 compatibility, up4.5Kskills.sh installs