/meteor:meteor-blazefrom Meteor
Builds and debugs Meteor 3 Blaze interfaces: Spacebars templates, helpers/events, Tracker reactivity, ReactiveVar/ReactiveDict, subscriptions, async helpers, lifecycle hooks, and blaze-hot HMR.
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.
Blaze compiles Spacebars templates into JavaScript and updates small View
regions when their reactive dependencies invalidate. Keep state, subscriptions,
DOM effects, and async work owned by a template instance. Use public
Template, Blaze, Spacebars, and Tracker APIs in application code.
meteor create --blaze <name>. Inspect the generated
package.json, .meteor/packages, client entry, and rspack.config.js
before changing packages or build settings..html from the JavaScript module that registers its
helpers, events, and lifecycle hooks. Import that module from the client
entry graph.ReactiveVar, ReactiveDict, this.autorun, and this.subscribe on
the template instance. Put DOM initialization in onRendered and undo
external effects in onDestroyed.blaze-hot can
replace templates in the Meteor-bundler graph; Rspack currently performs a
full live reload for Blaze. Route general build, migration, database, or
test-runner work to the owning skill.meteor create --blaze my-app
cd my-app
meteor
Meteor 3.4+ creates Blaze apps with Rspack by default. Earlier Meteor 3
releases may use the Meteor bundler. The current scaffold declares explicit
client and server meteor.mainModule entries, imports .html from the client
entry, enables the modern build stack, and includes blaze-html-templates,
jquery, tracker, reactive-var, hot-module-replacement, blaze-hot, and
rspack, plus npm jquery.
Treat the generated files for the selected Meteor release as the baseline.
Those packages do not enable Blaze HMR in the Rspack graph. Blaze edits there
trigger a fast full page reload and reset page-local state. blaze-hot
replacement behavior applies when the Meteor bundler owns the module.
Inspect .meteor/versions before selecting runtime features. Blaze 3.0.3
requires jQuery; native DOM support starts at [email protected]
(prerelease). Read backend selection before
removing either jQuery dependency; upgrading Meteor alone does not select it.
Meteor 3.6's meteor create --pwa <name> provides a Blaze/Rspack
installable web app with a dependency-free service worker. It does not supply
offline Meteor data or native binaries. Read
PWA boundaries before changing caching or scope.
<template name="taskList">
<label>
<input type="checkbox" class="js-show-done">
Show completed
</label>
{{#if Template.subscriptionsReady}}
{{#each task in tasks}}
{{> taskRow task=task}}
{{else}}
<p>No tasks.</p>
{{/each}}
{{else}}
<p>Loading...</p>
{{/if}}
</template>
import { Template } from "meteor/templating";
import { ReactiveVar } from "meteor/reactive-var";
import { Tasks } from "/imports/api/tasks";
import "./task-list.html";
Template.taskList.onCreated(function () {
this.showDone = new ReactiveVar(false);
this.autorun(() => {
this.subscribe("tasks.list", { showDone: this.showDone.get() });
});
});
Template.taskList.helpers({
tasks() {
const showDone = Template.instance().showDone.get();
return Tasks.find(showDone ? {} : { done: false }, {
sort: { createdAt: -1 },
});
},
});
Template.taskList.events({
"change .js-show-done"(event, instance) {
instance.showDone.set(event.currentTarget.checked);
},
});
this.autorun and this.subscribe stop when the instance is destroyed. A
cursor returned from a synchronous helper remains live through Minimongo.
Authorization and field projection still belong in the publication.
Use #let when loading, rejection, and empty results must be distinct:
{{#let profile=loadProfile}}
{{#if @pending "profile"}}<p>Loading...</p>{{/if}}
{{#if @rejected "profile"}}<p>Could not load profile.</p>{{/if}}
{{#if @resolved "profile"}}
{{> profileCard profile=profile}}
{{/if}}
{{/let}}
Persistent #let bindings can accept an older request's late result. Protect
overlapping requests with cancellation, a generation token, or a justified
queue. Direct Promise content in {{helper}} replaces its awaiting View on
reactive rerender; do not apply the binding rule universally. See
Promise ordering.
| Resource | Create | Destroy |
|---|---|---|
ReactiveVar or ReactiveDict | onCreated | No manual disposal |
| Reactive work | this.autorun | Automatic with the instance |
| Subscription | this.subscribe | Automatic with the instance |
| DOM widget | onRendered, often after Tracker.afterFlush | Widget-specific teardown in onDestroyed |
| Window, document, timer, observer | Lifecycle callback | Explicit remove, clear, disconnect, or stop in onDestroyed |
| Programmatic Blaze View | Blaze.render or Blaze.renderWithData | Blaze.remove(view) |
Read references/lifecycle-and-components.md for data-context rules,
callbacks, dynamic templates, DOM scoping, and cleanup patterns.
For compiler messages, helper/template collisions, post-await instance loss, or wrapped drag events, read template diagnostics.
| Request | Route |
|---|---|
| Fresh Blaze UI, Spacebars, template lifecycle, async rendering | This skill |
| General Rspack or SWC setup and configuration helpers | meteor-modern-build-stack |
| Convert an existing app to Rspack | migrate-to-rspack |
| Upgrade Blaze code from Meteor 2 to Meteor 3 | migrate-to-meteor-3 |
| Publication design or subscription authorization | meteor-pubsub |
| Mongo and Minimongo API decisions | meteor-mongo-minimongo |
| Mocha driver, browser runner, or E2E setup | meteor-testing |
| CSP, sanitization review, or broader hardening | meteor-security |
Use references/build-hmr-and-testing.md only for Blaze-specific entry
imports, HMR ownership, and programmatic template tests.
await without restoring the captured Tracker
computation.{{#each ...}}{{else}} as a loading indicator. The else branch also
covers rejection and a resolved empty sequence.$() or document.querySelector for component DOM. Scope lookup
to the template instance.Spacebars.SafeString without trusted sanitization.Blaze.render without calling Blaze.remove.UI.body,
Template.__define__, Template.__body__, Spacebars.TemplateWith, or
Blaze.InOuterTemplateScope.meteor/blaze source and testsreferences/spacebars-and-async.mdreferences/lifecycle-and-components.mdreferences/build-hmr-and-testing.mdreferences/eval-cases.mdreferences/build-hmr-and-testing.md (opens in a new tab)references/eval-cases.md (opens in a new tab)references/jquery-backends.md (opens in a new tab)references/lifecycle-and-components.md (opens in a new tab)references/pwa-scaffold.md (opens in a new tab)references/spacebars-and-async.md (opens in a new tab)references/template-diagnostics.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-cli-installationUse when installing, locating, repairing, resetting, or uninstalling the Meteor CLI for Meteor 3 development. Triggers on "meteor: command not found", npx meteor, installer failures, PATH problems, specific Meteor versions, clean reinstall requests, meteor reset, or corrupted dev bundles. Use this skill when the user asks about fresh workstation setup or making a local Meteor command available. For application failures after the CLI starts, use meteor-debugging; for application code upgrades, use migrate-to-meteor-3.
/meteor-community-packagesUse when choosing, evaluating, adopting, configuring, or debugging a package from Meteor's documented community catalog, or moving from a community package to a promoted core package such as roles. Triggers on community package recommendations, Atmosphere vs npm selection, Packosphere maintenance checks, jam:* helpers, Meteor.publish.once, Meteor.publish.stream, meteor-rpc, Wormhole, cluster, mail-preview, meteor add --search, or adopting a Git-hosted Atmosphere package. Use this skill when the user asks which maintained package fits or how its documented integration works. Route Meteor 2-to-3 package failures to migrate-to-meteor-3 and underlying core API design to its owning skill.
/meteor-debuggingUse when diagnosing an unexplained failure in a Meteor 3 application before the failing layer or fix is known. Triggers on server crashes, client-only errors, Errors prevented startup, Meteor App - Error, stuck subscriptions, DDP or WebSocket disconnects, Minimongo/server data mismatches, hanging or flaky tests, slow builds, --inspect, console.log, .only, Playwright traces, Instrumentation lifecycle events, or requests to debug a Meteor app. Use this skill when evidence must distinguish Meteor tool, server, client, data, test, browser, mobile, or production boundaries. For test setup and authoring use meteor-testing; after confirming a domain cause, hand the repair to the owning skill.
/meteor-deploymentUse when deploying a Meteor 3 application. Triggers on meteor build, meteor deploy, Galaxy Push to Deploy, Galaxy Mode, Repository Mode, DEPLOY_HOSTNAME, Docker, Kubernetes, settings.json, METEOR_SETTINGS, MONGO_URL, MONGO_OPLOG_URL, ROOT_URL, PORT, HTTP_FORWARDED_COUNT, NODE_OPTIONS, health checks, pre-deploy commands, hot code push, --architecture os.linux.x86_64, --server-only, or a deployed Node.js version mismatch. Use this skill when the user asks about shipping the app, asks about production config, or asks about containerizing. For Cordova Android/iOS artifacts, signing, and native HCP compatibility use meteor-native; this skill owns the backend deployment.
/meteor-methodsUse when authoring or debugging Meteor methods (Meteor.methods, Meteor.call, Meteor.callAsync). Triggers on argument validation with check(), optimistic UI stubs, latency compensation, Meteor.Error handling, and DDPRateLimiter. Use this skill when the user asks about server-side mutation, asks about rate limiting RPC, or asks about wrapping a method with auth checks.
npx claudepluginhub meteor/agent-skills --plugin meteorOther plugins' skills for the same job