meteor-debugging
Skill10 starsChanged 3 months agoMITView on GitHub
Use 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, 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.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- wekan/wekanedited, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- wekan/wekan★ 21k99% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- release-publishingSkill
- skill-gap-auditSkill
- skill-maintenanceSkill
- meteor-accountsSkill
- meteor-blazeSkill
- meteor-cli-installationSkill
- meteor-community-packagesSkill
- meteor-deploymentSkill
- meteor-methodsSkill
- meteor-modern-build-stackSkill
- meteor-mongo-minimongoSkill
- meteor-nativeSkill
- meteor-pubsubSkill
- meteor-reactSkill
- meteor-securitySkill
- meteor-testingSkill
- meteor-typescriptSkill
- migrate-to-meteor-3Skill
- migrate-to-rspackSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Read existing evidence before adding instrumentation.
- Distinctive: line 39
Add one targeted observation only when current evidence cannot answer the question.
- Distinctive: line 49
If several evidence-backed hypotheses fail, revisit the boundary map and assumptions before stacking mitigations or widening the change.
- Very specific: line 75
Treat console.log as temporary instrumentation.
- Very specific: line 80
Use .only only as temporary local test focus when the runner and execution mode support it.
- Distinctive: line 82
Prefer observable readiness over sleeps: subscription ready, settled method, expected document, visible UI, or a specific browser event.
- Distinctive: line 93
Do not substitute source inspection for this browser evidence or omit the trace because the console or network already suggests a cause.
- Distinctive: line 95
Use only an application path or URL the user placed in scope.
- Very specific: line 98
Read through meteor shell and meteor mongo before mutating.
- Very specific: line 119
Remove only the logs, debugger statements, .only markers, pauses, temporary routes, and debug settings added for this investigation.
- Distinctive: line 121
Delete or protect screenshots, traces, profiles, saved browser state, and dumps according to their data sensitivity.
- Distinctive: line 131
Add logs across the application without a hypothesis.
- Distinctive: line 134
Treat a focused passing test as success when the suite still fails.
- Distinctive: line 135
Add arbitrary sleeps, broad selectors, retries, or heap increases until the symptom disappears.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Debug Meteor applications
Find the first failing boundary before changing behavior. Produce a stable reproduction, evidence for one cause, and a verification target. Then use the skill that owns the repair.
Diagnosis loop
- Record the exact symptom, complete error and stack, command or user action, Meteor release, resolved Atmosphere and npm versions, environment, and last known working state.
- Reproduce with the narrowest stable command or action before editing.
- Classify the first uncertain boundary with the table below.
- Read existing evidence before adding instrumentation. Compare client and server output, recent changes, and passing versus failing environments.
- Add one targeted observation only when current evidence cannot answer the question. Do not combine a diagnostic change with a speculative fix.
- State one falsifiable hypothesis and the observation that would reject it.
- Change one variable, reproduce, and trace a bad value or event backward to its origin.
- Fix the confirmed cause through the owning skill. Add a regression at the lowest reliable layer when the failure can recur.
- Re-run the focused reproduction, then the affected suite or production-like check. Remove temporary diagnostics and artifacts.
If several evidence-backed hypotheses fail, revisit the boundary map and assumptions before stacking mitigations or widening the change.
Select the boundary
| Symptom | First evidence | Read |
| Build stalls, compilation error, rebuild regression, Rspack or SWC failure | Full build output, --verbose, exact release and build-package versions | Build debugging |
| Server crashes before startup or fails in a method, publication, job, or hook | Earliest server stack, startup order, request-correlated evidence | Runtime and inspector |
| Client stack, stale render, reactive loop, or client/server disagreement | Browser stack, rendered state, reactive invalidation, server comparison | Runtime and inspector, then the React or Blaze skill |
| Missing documents, stuck subscription, reconnect, or proxy/WebSocket symptom | Server query, publication output, DDP state, subscription readiness, Minimongo | DDP and data |
| Current output cannot distinguish an entry, guard, branch, state change, or event order | A small set of redacted boundary observations | Logs and instrumentation |
| Meteor Mocha failure, suite-only failure, async flake, or browser E2E failure | Full hook output, client/server test counts, existing report and trace | Tests and browser |
| Cordova or HCP problem, device-only failure, or live incident | Device logs and versions; deployment logs, health, metrics, release diff | Mobile and production |
A syntax error needs its stack, not browser tracing. A browser-only hydration race needs client evidence, not a server inspector. Use the smallest tool that can reject the current hypothesis.
Evidence rules
- Label runtime side and operation in temporary logs. Include a request or event identifier only when concurrent flows can interleave.
- Record selected, redacted fields. Never log credentials, tokens, cookies, authorization headers, private settings, unrestricted method arguments, or full user documents.
- Treat
console.logas temporary instrumentation. Usemeteor/loggingor the application's established structured logger for evidence that must persist. - For server lifecycle evidence on Meteor 3.6-beta.1 through beta.3, use the optional
instrumentationpackage through Logs and instrumentation. Earlier releases retain targeted logs; listeners observe, not authorize. - Use
.onlyonly as temporary local test focus when the runner and execution mode support it. Remove it and run the broader suite before handoff. - Prefer observable readiness over sleeps: subscription ready, settled method, expected document, visible UI, or a specific browser event.
- Inspect existing Playwright reports and traces before starting an interactive
browser. For a
playwright-clirequest, first check whether the executable is available. If it is unavailable, obtain authority before installation or browser downloads. Explicitly report that availability result and request the authority rather than only asking for the application URL. Use it only for a real browser boundary. - For an authorized ad hoc
playwright-clireproduction: MUST runsnapshot,console, andrequests, start tracing before the failing action, stop tracing immediately after it, and close the browser session. Do not substitute source inspection for this browser evidence or omit the trace because the console or network already suggests a cause. - Use only an application path or URL the user placed in scope. If the current workspace has no app and the prompt gives no URL, ask for one. Do not scan unrelated directories, processes, or ports to discover an application.
- Read through
meteor shellandmeteor mongobefore mutating. Never usemeteor reset --dbas a diagnostic shortcut. - On production, do not expose an inspector, deploy a debug build, retain secret-bearing traces, or experiment on live data.
Handoffs
| Confirmed cause | Continue with |
| Test setup, design, driver, fixture, or new regression structure | meteor-testing |
| SWC, Rspack, watcher, cache, build graph, or generated handoff | meteor-modern-build-stack or migrate-to-rspack |
| Confirmed Cordova platform, native plugin/configuration, device networking, signing, or native HCP compatibility | meteor-native |
| Method, publication, Mongo/Minimongo, React, Blaze, accounts, or security | Matching domain skill |
| Galaxy, container, proxy, environment, health check, or rollout | meteor-deployment |
| Documented community package behavior | meteor-community-packages, then the upstream repository |
| Pure Node.js, browser, database, or runner failure with no Meteor boundary | General debugging guidance |
Cleanup
Before handoff:
- Remove only the logs,
debuggerstatements,.onlymarkers, pauses, temporary routes, and debug settings added for this investigation. - Delete or protect screenshots, traces, profiles, saved browser state, and dumps according to their data sensitivity.
- Re-run the original reproduction and the affected suite.
- Report the confirmed cause, evidence, fix, verification, and any remaining uncertainty.
Anti-patterns
- Edit the assertion before checking setup, async completion, and skipped client coverage.
- Add logs across the application without a hypothesis.
- Serialize every runtime object indiscriminately. Circular values, reactive wrappers, getters, binary data, and large documents need selected snapshots.
- Treat a focused passing test as success when the suite still fails.
- Add arbitrary sleeps, broad selectors, retries, or heap increases until the symptom disappears.
- Install browser tooling or scaffold tests for a server, build, or database failure.
References
- Runtime and inspector
- Logs and instrumentation
- Tests and browser
- Build debugging
- DDP and data
- Mobile and production
- Evaluation cases
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

