Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

next-rspack

Skill by vercel

Maintains the @next/rspack-core and @next/rspack-binding packages in the Next.js repository. It guides upgrades of @rspack/core, rspack_* crate versions and the Rust toolchain, plus local build and linking for tests. Intended for Next.js maintainers editing the rspack directory.

  • Score 91
  • 144k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install next-rspack

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel/next.js /tmp/next.js && mkdir -p ~/.claude/skills && cp -r /tmp/next.js/.agents/skills/next-rspack ~/.claude/skills/next-rspack

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install next-rspack in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The next-rspack skill is a maintainer guide for the @next/rspack-core and @next/rspack-binding packages in the Next.js repository. It covers upgrading the @rspack/core npm version, updating rspack_* crate versions in the binding Cargo.toml, and changing the Rust toolchain in rspack/rust-toolchain.toml. It also explains how to build the binding, link the package into packages/next-rspack for local testing, and run the rspack test commands.

The skill lists a version mapping between npm and crate versions, plus the files to check during an upgrade. It notes that the rspack directory is an independent workspace, and that the root rust-toolchain.toml belongs to Turbopack and is out of scope. It is aimed at developers working on Next.js internals who use the NEXT_RSPACK environment variable to tell Rspack and webpack code paths apart.

Written from the project's SKILL.md and checked against it.

What it can do

  • Upgrade @rspack/coreSteps to update the @rspack/core version in rspack/package.json.
  • Update rspack cratesBumps the rspack_* crate versions in rspack/crates/binding/Cargo.toml.
  • Update Rust toolchainSets the nightly channel in rspack/rust-toolchain.toml to match upstream.
  • Build and link locallyBuilds @next/rspack-core and links it into packages/next-rspack for testing.
  • Run rspack testsLists the pnpm test-rspack, test-dev-rspack and test-start-rspack commands.
  • Use NEXT_RSPACKShows how to branch on the NEXT_RSPACK variable in packages/next code.

What you need

  • Rust installed
  • pnpm

Try asking

  • Upgrade @rspack/core in rspack/package.json to the version matching upstream
  • Walk me through linking the local @next/rspack-core into packages/next-rspack
  • Which rspack crate version matches @rspack/core 1.3.x?

Good to know

  • Applies only to files under the rspack/ directory.
  • Does not cover the root rust-toolchain.toml, which is for Turbopack.
  • Local linking is for testing only and should not be committed.
  • Marked as internal in the skill metadata.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/next-rspack/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to next-rspack

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

next-rspack: common questions

Which rust-toolchain.toml does this skill cover?

Only rspack/rust-toolchain.toml. The root file is for Turbopack and is outside the skill's scope.

How do I map an @rspack/core version to a crate version?

The source maps npm major.minor to crate 0.(major*50+minor), so 1.3 maps to 0.53 and 1.2 maps to 0.52.

How does Next.js tell Rspack apart from webpack?

It checks the NEXT_RSPACK environment variable in packages/next code, as shown in the source.

How do I install next-rspack?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is next-rspack free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is next-rspack safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to next-rspack?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

next-rspack Install

Add to stack

Loading.