AgentSkillsCN

sentry-debug-bundle

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

SKILL.md
--- frontmatter
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