migrate-to-rspack

migrate-to-rspack is a skill for Claude Code from meteor/agent-skills. It costs 240 tokens per session (2,400 once invoked), scanned A, original, MIT.

A migration guide for moving a Meteor 3 application to the Rspack bundler, which prepares and combines application code for running in the browser and on the server.

In plain words
What is it for?
Adding Rspack to Meteor 3.4 or later, defining application entry points, replacing older build plugins, and checking dependencies and configuration.
Why use it?
It helps replace older build tools and choose compatible package versions without rewriting packages unnecessarily.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the meteor plugin — 19 skills shipped together

Good fit Adding Rspack to Meteor 3.4 or later, defining application entry points, replacing older build plugins, and checking dependencies and configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meteor/agent-skills/migrate-to-rspack
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add meteor/agent-skills --skill migrate-to-rspack
Clone the repo
git clone --depth 1 https://github.com/meteor/agent-skills

Made for: Claude Code.

Or install meteor, the plugin that ships this one along with the rest of its 19 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-to-rspack

README.md
[![agentmods](https://agentmods.dev/badge/skills/meteor/agent-skills/migrate-to-rspack/github.svg)](https://agentmods.dev/skills/meteor/agent-skills/migrate-to-rspack)
Your own site
<a href="https://agentmods.dev/skills/meteor/agent-skills/migrate-to-rspack"><img src="https://agentmods.dev/badge/skills/meteor/agent-skills/migrate-to-rspack/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-to-rspack

Your own site · 80×15
<a href="https://agentmods.dev/skills/meteor/agent-skills/migrate-to-rspack"><img src="https://agentmods.dev/badge/skills/meteor/agent-skills/migrate-to-rspack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 240 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00240 $0.02400
Opus 5 $0.00120 $0.01200
Sonnet 5 $0.00048 $0.00480
Haiku 4.5 $0.00024 $0.00240

Measured yesterday against content hash 7a28aa3b8e1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

migrate-to-rspack scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/migrate-to-rspack/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate an existing app to Rspack

Rspack compiles app code while Meteor builds Atmosphere packages and assembles the final bundle. Do not rewrite packages merely because Rspack is enabled, but audit their architecture declarations and browser-incompatible dependencies.

Prerequisite: Meteor 3.4+. Strongly recommended to enable "meteor": { "modern": true } first (Meteor 3.3+) and fix Babel fallbacks, then add Rspack. See the meteor-modern-build-stack skill for the activation knobs and rspack.config.js shape.

Match @meteorjs/rspack to the Meteor release, not to @rspack/core or @rspack/cli:

Meteor rspack @meteorjs/rspack Capability boundary
3.4 1.0.0 1.0.0 Base integration and helpers.
3.4.1 and 3.5 1.1.0 2.0.1 Adds v2 helpers and inherited TOOL_NODE_FLAGS.
3.5.1 1.2.0 2.1.0 Revised client polyfills and extension discovery.
3.5.2 1.3.0 2.2.0 Dependency diagnostics, mode isolation, full-app/TLA and cache fixes.

The Atmosphere, Meteor npm integration, and Rspack core package versions are independent. Inspect .meteor/versions, package.json, and the lockfile. After changing the Meteor release, run meteor update --npm, inspect the npm changes, and commit the dependency files. Do not pair a newer integration major with an older Meteor release only to copy a current helper.

Decision flow

  1. Does the app define client and server entry points in package.json meteor.mainModule? If no, define them. Required.
  2. Trace the client and client-test graphs. Do they reach CommonJS export assignments, Node built-ins, server-only local package entries, or missing generated inputs in a clean checkout? If yes, repair the boundary before activation. See references/client-graph-preflight.md.
  3. Does the app code contain nested imports (ES import inside an if, function, or other block)? If yes, move them to top level or convert them to dynamic import() / require. Required for app code; OK in Atmosphere packages.
  4. Does the app rely on a Meteor build plugin (less, fourseven:scss, coffeescript, zodern:melte, jorgenvatle:vite)? Plan an Rspack loader replacement and prove capability parity before removal. See references/framework-and-css.md.
  5. Does the app rely on bare default imports from CommonJS packages (import x from "some-cjs")? Decide between rewriting to import * as x or restoring Meteor-style interop in .swcrc. See references/code-migrations.md.
  6. Is the app server-only? Set only mainModule.server. Rspack still bundles the server; client is skipped.
  7. Does the app keep CSS or HTML outside its entry folder, or import app-local symlinks? Preserve the boundary with meteor.modules or resolve.symlinks: false; see the references.
  8. Run meteor add rspack and watch the verbose [Transpiler] log for remaining (app) failures.

Read the full file on GitHub · 237 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -8 lines 7a28aa3b8e1f
  2. 10d ago First seen · 245 lines · 240 tokens per session scan A fd9a5d270053

Subscribe to this mod's changes

migrate-to-rspack is a skill published in the GitHub repository meteor/agent-skills (8 stars, last pushed today), licensed MIT. It adds 240 tokens to every session and 2,400 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens