sentry-debug-bundle

收集Sentry支持票证的调试信息。在准备支持请求、调试复杂问题或收集诊断信息时使用。通过“sentry调试信息”、“sentry支持票证”、“收集sentry诊断信息”、“sentry调试包”等短语触发。

📖 中文导读:收集Sentry支持票证的调试信息。在准备支持请求、调试复杂问题或收集诊断信息时使用。通过“sentry调试信息”、“sentry支持票证”、“收集sentry诊断信息”、“sentry调试包”等短语触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: sentry-debug-bundle description: | Execute collect debug information for Sentry support tickets. Use when preparing support requests, debugging complex issues, or gathering diagnostic information. Trigger with phrases like "sentry debug info", "sentry support ticket", "gather sentry diagnostics", "sentry debug bundle". allowed-tools: Read, Bash(npm:), Bash(node:), Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io

Sentry Debug Bundle

Prerequisites

  • Debug mode enabled in SDK
  • Sentry CLI installed for source map diagnostics
  • Access to environment variables
  • Application logs available

Instructions

  1. Run npm list to get SDK version for all Sentry packages
  2. Create debug config export with DSN redacted for sharing
  3. Test network connectivity to sentry.io API endpoint
  4. Capture test event and record event ID
  5. Check integrations loaded with getIntegrations call
  6. Run debug script to collect comprehensive diagnostic info
  7. Format output in markdown template for support ticket
  8. List uploaded source maps using sentry-cli releases files
  9. Use sentry-cli sourcemaps explain for specific event debugging
  10. Include relevant logs and reproduction steps in debug bundle

Output

  • Debug information bundle generated
  • SDK version and configuration documented
  • Network connectivity verified
  • Test event capture confirmed

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources