协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
stackblitz-debug-bundle【开发与工程】Produce 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 inciden…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: stackblitz-debug-bundle description: >- Produce 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". argument-hint: "[project-path] [output-path]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.7.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
This skill defines or implements a bounded diagnostic artifact for WebContainer problems. The bundle records state and outcomes, not arbitrary source, environment values, complete terminal output, browser history, cookies, or credential material.
Use Read, Glob, and Grep to locate existing logging, header, boot, event, and process instrumentation. Use WebFetch only for current official StackBlitz or WebContainers documentation. Use Write for a new approved bundle schema or artifact and Edit for narrow instrumentation changes.
crossOriginIsolated boolean.Never include API-key values, OAuth parameters, registry credentials, cookies, URLs carrying tokens, .env content, private package metadata beyond the minimum identity, or full user-agent/client fingerprint data. Record auth state as a coarse enum when relevant.
Require explicit authorization before adding runtime telemetry, persisting a bundle, collecting user-session evidence, or sending the artifact outside the approved audience. A human must review the final bytes before external disclosure.
Return the schema and bundle path, SHA-256 digest, byte count, collected and omitted fields, redaction result, reproduction link or command, audience/retention, and unresolved evidence gaps.
| Condition | Response |
|---|---|
| Bundle exceeds its cap | Keep structured summaries and trim repeated output deterministically. |
| Secret-like material is detected | Refuse publication, redact from source, regenerate, and review again. |
| Runtime is unavailable | Emit a partial bundle labeled with missing dynamic evidence. |
| User source is requested | Substitute counts, hashes, or a synthetic reproduction. |
For an intermittent boot failure, create a JSON bundle containing package versions, header values, lifecycle transitions, event names, one process exit record, redaction metadata, and a digest—without source files or secret values.