金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

sentry-ci-integration

sentry-ci-integration 是面向开发运维的 Agent Skill,来自 jeremylongshore/claude-code-plugins-plus-skills。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Manage integrate Sentry with CI/CD pipelines. Use when setting up GitHub Actions, GitLab CI, or other CI systems with Sentry releases and source maps. Trigger with phrases like "sentry github actions", "sentry CI", "sentry pipeline", "automate sentry releases".

SKILL.md

下载 MD ↓
namesentry-ci-integration
descriptionManage integrate Sentry with CI/CD pipelines. Use when setting up GitHub Actions, GitLab CI, or other CI systems with Sentry releases and source maps. Trigger with phrases like "sentry github actions", "sentry CI", "sentry pipeline", "automate sentry releases".
allowed-toolsRead, Write, Edit, Bash(gh:*), Grep
version1.0.0
licenseMIT
authorJeremy Longshore <[email protected]>

Sentry Ci Integration

Prerequisites

  • Sentry CLI installed or available in CI
  • SENTRY_AUTH_TOKEN secret configured
  • SENTRY_ORG and SENTRY_PROJECT environment variables set
  • Source maps generated during build

Instructions

  1. Add SENTRY_AUTH_TOKEN secret to CI platform (GitHub, GitLab, CircleCI)
  2. Configure SENTRY_ORG and SENTRY_PROJECT environment variables
  3. Create workflow step to build application with SENTRY_RELEASE env
  4. Add step to create Sentry release using sentry-cli or action
  5. Upload source maps from build output directory
  6. Associate commits with release using set-commits --auto
  7. Finalize the release to mark it complete
  8. Add deploy notification step for environment tracking
  9. Configure checkout with fetch-depth: 0 for full git history
  10. Test workflow by pushing to trigger release creation

Output

  • Release created and finalized in Sentry
  • Source maps uploaded for stack trace mapping
  • Commits associated with release
  • Deploy notification sent to Sentry

Error Handling

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

Examples

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

Resources

来源:jeremylongshore/claude-code-plugins-plus-skills · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本