/stackblitz-pack:stackblitz-common-errors [project-path] [symptom]from stackblitz-pack
Diagnoses WebContainer startup, isolation, Service Worker, dependency, process, preview, and browser failures in StackBlitz runtimes or embeds. Follows a deterministic triage order before changing code or headers.
Ships in stackblitz-pack. 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.
This skill follows a deterministic diagnosis order: browser capability, served headers, lifecycle ownership, runtime events, process exit, dependency compatibility, and preview behavior. It avoids speculative retries and unsafe header weakening.
Use Read, Glob, and Grep to find boot calls, headers, runtime events, process handling, and dependency manifests. Use WebFetch only for current official StackBlitz or WebContainers documentation. Use Write or Edit only after the failing layer is identified; never retrieve secrets or full user projects for diagnosis.
crossOriginIsolated failure starts with the actual HTML response's COOP/COEP headers, including 304 behavior.boot() ran more than once, including under HMR.error, port, and server-ready events.Redact API keys, registry tokens, OAuth details, cookies, source contents, and dynamic preview URLs from shared evidence. For private-package failures, report auth state and package identity without printing credential values.
Do not disable browser security, relax COOP/COEP or CSP broadly, clear user browser data, replace dependencies, or change production hosting without explicit authorization. Present the failing layer and narrow fix first.
Return the reproduction, evidence by layer, root cause or ranked hypotheses, exact fix made or proposed, verification, redactions, rollback, and unresolved compatibility risk.
| Symptom | Evidence-led response |
|---|---|
| SharedArrayBuffer transfer fails | Verify secure context, COOP/COEP, matching boot option, and cached headers. |
| Proxy is released | Find duplicate boot or premature teardown paths, including HMR. |
| Install stalls or fails | Preserve lockfile state, exit code, and bounded output; inspect native-addon use. |
| Preview never appears | Correlate process exit with port, error, and server-ready events. |
For a preview that works in Chromium but fails in Firefox private browsing, record browser constraints and Service Worker evidence, preserve a static fallback, and avoid changing the runtime code without a cross-browser reproduction.
What SKILL.md sets; muted values are Claude Code's defaults
inheritmediumThree short reads, in order
stackblitz, webcontainer, troubleshooting, runtime-diagnostics
10 skills in this plugin
/stackblitz-core-workflow-aArchitect a custom in-browser development experience around WebContainers with explicit file, editor, terminal, process, preview, and persistence boundaries. Use when evolving a playground into a maintainable IDE-like product. Trigger with "build a WebContainer IDE", "browser code editor architecture", or "StackBlitz playground design"./stackblitz-core-workflow-bDesign and implement a StackBlitz JavaScript SDK embed with an explicit project source, load strategy, UI options, persistence expectations, and responsive fallback. Use when documentation, training, or product pages need an interactive code example without owning a custom WebContainer runtime. Trigger with "embed StackBlitz", "StackBlitz SDK project", or "interactive code example"./stackblitz-debug-bundleProduce a privacy-safe WebContainer diagnostic bundle with browser capability, isolation-header, lifecycle, event, process-exit, dependency, and resource evidence. Use when an incident needs a shareable artifact rather than ad hoc console screenshots. Trigger with "StackBlitz debug bundle", "collect WebContainer diagnostics", or "WebContainer incident evidence"./stackblitz-hello-worldBuild a minimal, controlled WebContainer smoke test that boots once, mounts a small project, observes process exit, and captures the preview URL. Use when proving browser/runtime compatibility before building a larger in-browser development experience. Trigger with "StackBlitz hello world", "test WebContainers", or "run Node in the browser"./stackblitz-install-authPrepare a StackBlitz WebContainer or JavaScript SDK integration with pinned packages, compatible isolation headers, and the correct commercial or private-package authentication path. Use when adding StackBlitz to an existing web application or reviewing its startup contract. Trigger with "install StackBlitz", "set up WebContainers", or "configure WebContainer auth"./stackblitz-local-dev-loopEstablish a reproducible local development and browser-test loop for a WebContainer host, including isolation-header assertions, single-boot behavior under HMR, and cleanup checks. Use when a StackBlitz integration works manually but lacks dependable regression coverage. Trigger with "test WebContainers locally", "StackBlitz dev loop", or "WebContainer Playwright test".npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin stackblitz-packOther plugins' skills for the same job