/meteor:migrate-to-meteor-3from Meteor
Guides migration from Meteor 2.x to 3.x, covering async Mongo APIs, Fibers removal, Blaze reactivity, Atmosphere package triage, and Express 5 WebApp handlers.
Ships in Meteor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Meteor 3 removed Fibers, made server Mongo APIs async and enforces strict mode
in modules. Check client reactivity after await and Atmosphere compatibility.
Before upgrading, prepare data for 3.6. For shipped HCP clients, check the Cordova rollout. When affected, copy the exact target's Cordova link into the handoff.
WARN_WHEN_USING_OLD_API=true meteor run. The console
logs every sync-API call that needs an async sibling, giving you a
to-do list before the framework flip.*Async siblings while still
on 2.x. Trace each changed function through every server-side caller:
await where the caller consumes the value, forward Promises deliberately,
and restructure sync-only boundaries. Stop only at an async-capable
framework boundary. See references/async-rewrites.md and
references/call-vs-callAsync.md. A community jscodeshift codemod automates
the easy cases, but it misses non-standard collection imports (for example,
meteor/<publisher>:collections). Review the diff by hand, then audit
callback Promise ownership and collection argument shapes.api.versionsFrom(['2.x', '3.0']). See
references/package-triage.md. Save .meteor/versions and npm lockfile
checkpoints so package-major changes remain distinguishable from Meteor.const or export / import.
See references/module-system.md.Tracker.autorun blocks for lost reactivity
after await. See references/client-reactivity.md.await (forEach, map, filter)
with for...of or Promise.all. See references/js-iterators.md._cursorDescription,
manual sub.added) and framework handlers that read invocation this.
Both synchronous and async publish handlers may return cursors; keep cursor
transforms synchronous and use ordinary functions when Meteor must bind
this. When a package patches Meteor.publish with an
EnvironmentVariable, scope publish.call at the wrapper's top level,
not inside the invoked handler. Verify invocation context before and after
await. See references/publications.md and
references/other-breaking-changes.md.@types/meteor or zodern:types setups. Meteor
3.6 adds explicit native opt-in through meteor types; earlier
releases retain the legacy workflow. See
references/typescript-migration.md, then use meteor-typescript for
provider changes and checking.react-meteor-data import. See references/react-migration.md, then use
meteor-react for current hook, scaffold, and build guidance.| Symptom | Reference |
|---|---|
TypeError: Collection.findOne is not a function | references/async-rewrites.md |
Method returns undefined or returns a Promise | references/async-rewrites.md |
Downstream caller receives or reads from a Promise | references/async-rewrites.md |
| Cron, hook, timer, or event callback drops a Promise | references/async-rewrites.md |
Read method receives $set, $push, or another modifier | references/async-rewrites.md |
allow / deny validator needs an async database read | references/async-rewrites.md |
Meteor.call callback never fires | references/call-vs-callAsync.md |
ReferenceError: X is not defined at startup | references/module-system.md |
| Template renders, no data, Minimongo empty | references/module-system.md |
| Iron Router controller silently does not run | references/module-system.md |
{{> partial}} renders nothing in Blaze | references/module-system.md |
| Page renders but live data never updates | references/client-reactivity.md |
Blaze helper returns a Promise | references/client-reactivity.md |
Cursor transform errors with "returned a Promise" | references/publications.md |
sub.added writes never reach the client | references/publications.md |
Method or publication loses this.userId | references/publications.md |
| Atmosphere package fails to resolve or build | references/package-triage.md |
forEach/map/filter with await skips items | references/js-iterators.md |
Middleware on WebApp.connectHandlers not firing | references/webapp-express.md |
| Route uses an unnamed wildcard after Meteor 3.1 | references/webapp-express.md |
rawCollection callback never fires | references/other-breaking-changes.md |
Patched publication loses Meteor.userId() or async context | references/other-breaking-changes.md |
meteor reset did not wipe the local Mongo | references/other-breaking-changes.md |
Method stub (X) took too long console warning | references/call-vs-callAsync.md |
"Cannot enlarge memory array" during meteor update | references/other-breaking-changes.md |
External callback lost this.userId or env vars | references/other-breaking-changes.md |
Monkey-patched Meteor.publish never runs | references/other-breaking-changes.md |
meteor/* imports resolve to any in TypeScript | references/typescript-migration.md |
useTracker or useSubscribe not re-running | references/react-migration.md |
meteor update --release=3 first. Async-convert and
package-triage on 2.x first.findOne with findOneAsync. Many callers need
rewriting, not just await.await with Tracker.withComputation.controller: explicitly on every route.await and .then() in the same function. Pick one.const, let, or export-ed.Meteor.userId() remains synchronous
inside methods and publications; there is no Meteor.userIdAsync().this. An arrow ignores the invocation context Meteor
supplies.api.addFiles or api.export only because the app moved to
Meteor 3. They remain supported for Atmosphere packages.async-rewrites.md, call-vs-callAsync.md, async-cheatsheet.md,
js-iterators.md, removed-functions.md.module-system.md, client-reactivity.md, publications.md,
webapp-express.md, other-breaking-changes.md.package-triage.md, typescript-migration.md,
react-migration.md, eval-cases.md.meteor-react.For requested case studies, read
references/community-case-studies.md; use the symptom router for fixes.
references/async-cheatsheet.md (opens in a new tab)references/async-rewrites.md (opens in a new tab)references/call-vs-callAsync.md (opens in a new tab)references/client-reactivity.md (opens in a new tab)references/community-case-studies.md (opens in a new tab)references/eval-cases.md (opens in a new tab)references/js-iterators.md (opens in a new tab)references/module-system.md (opens in a new tab)references/other-breaking-changes.md (opens in a new tab)references/package-triage.md (opens in a new tab)references/publications.md (opens in a new tab)references/react-migration.md (opens in a new tab)references/removed-functions.md (opens in a new tab)references/typescript-migration.md (opens in a new tab)references/webapp-express.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 skills in this plugin
/meteor-accountsUse when wiring up authentication in a Meteor 3 app. Triggers on accounts-password, accounts-base, OAuth (Google, Facebook, GitHub, Apple, Twitter, Meetup, Weibo), accounts-2fa, accounts-passwordless, ServiceConfiguration.configurations.upsertAsync, Accounts.createUserAsync, Accounts.setPasswordAsync, Accounts.forgotPassword, Accounts.resetPassword, Accounts.verifyEmail, useHttpOnlyCookies, clientStorage, Meteor.loginWithPasswordAnd2faCode, email verification, accounts-express, authFetchAllowedOrigins. Use this skill when the user asks about signups, signins, or asks about token storage vs HttpOnly cookies.
/meteor-blazeUse when building or debugging Meteor 3 Blaze interfaces: meteor create --blaze, Spacebars, helpers/events, lifecycle, Tracker, ReactiveVar/ReactiveDict, subscriptions, Promise helpers, #let states, Template.dynamic, Blaze.render, and blaze-hot HMR. Triggers on stale async results, lost reactivity after await, data-context lookup surprises, duplicate DOM integrations, Rspack full reloads, raw HTML in triple braces, jQuery not found, Expected template or null, Template.instance() is null after await, missing event.dataTransfer, Reactive HTML attributes, BLOCKOPEN, TRIPLE template tag, Expected "li" end tag, or Template can't be named. Use this skill when asked about reusable Blaze components, the Blaze PWA scaffold, package/backend selection, Rspack entry imports, or template tests. For Meteor 2 to 3 upgrades, use migrate-to-meteor-3; for unexplained cross-layer failures, meteor-debugging.
npx claudepluginhub meteor/agent-skills --plugin meteorOther plugins' skills for the same job