Auto-Pilot / 全自动
更新于 a month ago

sentry-agent-skills

Ggetsentry
0.0k
getsentry/sentry-agent-skills
72
Agent 评分

💡 摘要

中文总结。

🎯 适合人群

用户画像1用户画像2用户画像3

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析严重风险

风险:Critical。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);API Key/Token 的获取、存储与泄露风险;文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。

Sentry Agent Skills

Official agent skills for integrating Sentry into your projects. These skills provide AI coding assistants with the knowledge to set up Sentry, debug production issues, and leverage Sentry's full observability platform.

Available Skills

Setup Skills

| Skill | Description | Platforms | Docs | |-------|-------------|-----------|------| | sentry-react-setup | Setup Sentry in React apps | React | React Guide | | sentry-react-native-setup | Setup Sentry in React Native using the wizard CLI | React Native, Expo | React Native Guide | | sentry-python-setup | Setup Sentry in Python apps | Python (Django, Flask, FastAPI) | Python Guide | | sentry-ruby-setup | Setup Sentry in Ruby apps | Ruby (Rails) | Ruby Guide | | sentry-setup-tracing | Setup Sentry Tracing (Performance Monitoring) | JS, Python, Ruby | Tracing | | sentry-setup-logging | Setup Sentry Logging | JS, Python, Ruby | Logs | | sentry-setup-metrics | Setup Sentry Metrics | JS, Python | Metrics | | sentry-setup-ai-monitoring | Setup Sentry AI Agent Monitoring | JS, Python | AI Agents |

Workflow Skills

| Skill | Description | Requirements | Docs | |-------|-------------|--------------|------| | sentry-fix-issues | Find and fix issues from Sentry using MCP | Sentry MCP | Issues | | sentry-pr-code-review | Review a project's PRs to check for issues detected in code review by Seer Bug Prediction | GitHub CLI | Seer |

Installation

Choose your AI coding assistant below and run the appropriate command.


Claude Code

User-level (applies to all projects):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p ~/.claude/skills && \ cp -r /tmp/sentry-skills/skills/* ~/.claude/skills/ && \ rm -rf /tmp/sentry-skills

Project-level (single repository):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p .claude/skills && \ cp -r /tmp/sentry-skills/skills/* .claude/skills/ && \ rm -rf /tmp/sentry-skills
~/.claude/skills/              # User-level
.claude/skills/                # Project-level

# Each skill:
sentry-setup-tracing/
  SKILL.md

OpenAI Codex

User-level (applies to all projects):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p ~/.codex/skills && \ cp -r /tmp/sentry-skills/skills/* ~/.codex/skills/ && \ rm -rf /tmp/sentry-skills

Project-level (single repository):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p .codex/skills && \ cp -r /tmp/sentry-skills/skills/* .codex/skills/ && \ rm -rf /tmp/sentry-skills
~/.codex/skills/               # User-level
.codex/skills/                 # Project-level

# Each skill:
sentry-setup-tracing/
  SKILL.md

GitHub Copilot

User-level (applies to all projects):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p ~/.copilot/skills && \ cp -r /tmp/sentry-skills/skills/* ~/.copilot/skills/ && \ rm -rf /tmp/sentry-skills

Project-level (single repository):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p .github/skills && \ cp -r /tmp/sentry-skills/skills/* .github/skills/ && \ rm -rf /tmp/sentry-skills
~/.copilot/skills/             # User-level
.github/skills/                # Project-level

# Each skill:
sentry-setup-tracing/
  SKILL.md

Cursor

Note: Agent skills require Cursor Nightly. Enable via: Cursor Settings > Rules > Import Settings > Agent Skills

User-level (applies to all projects):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p ~/.cursor/skills && \ cp -r /tmp/sentry-skills/skills/* ~/.cursor/skills/ && \ rm -rf /tmp/sentry-skills

Project-level (single repository):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p .cursor/skills && \ cp -r /tmp/sentry-skills/skills/* .cursor/skills/ && \ rm -rf /tmp/sentry-skills
~/.cursor/skills/              # User-level
.cursor/skills/                # Project-level

# Each skill:
sentry-setup-tracing/
  SKILL.md

OpenCode

User-level (applies to all projects):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p ~/.config/opencode/skill && \ cp -r /tmp/sentry-skills/skills/* ~/.config/opencode/skill/ && \ rm -rf /tmp/sentry-skills

Project-level (single repository):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p .opencode/skill && \ cp -r /tmp/sentry-skills/skills/* .opencode/skill/ && \ rm -rf /tmp/sentry-skills
~/.config/opencode/skill/      # User-level
.opencode/skill/               # Project-level

# Also supports Claude-compatible paths:
~/.claude/skills/              # User-level (alternative)
.claude/skills/                # Project-level (alternative)

# Each skill:
sentry-setup-tracing/
  SKILL.md

AmpCode (Sourcegraph Amp)

User-level (applies to all projects):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p ~/.config/agents/skills && \ cp -r /tmp/sentry-skills/skills/* ~/.config/agents/skills/ && \ rm -rf /tmp/sentry-skills

Project-level (single repository):

git clone https://github.com/getsentry/sentry-agent-skills.git /tmp/sentry-skills && \ mkdir -p .agents/skills && \ cp -r /tmp/sentry-skills/skills/* .agents/skills/ && \ rm -rf /tmp/sentry-skills
~/.config/agents/skills/       # User-level
.agents/skills/                # Project-level

# Also supports Claude-compatible paths:
~/.claude/skills/              # User-level (alternative)
.claude/skills/                # Project-level (alternative)

# Each skill:
sentry-setup-tracing/
  SKILL.md

Quick Reference

| Client | User-Level Path | Project-Level Path | |--------|-----------------|-------------------| | Claude Code | ~/.claude/skills/ | .claude/skills/ | | Codex | ~/.codex/skills/ | .codex/skills/ | | Copilot | ~/.copilot/skills/ | .github/skills/ | | Cursor | ~/.cursor/skills/ | .cursor/skills/ | | OpenCode | ~/.config/opencode/skill/ | .opencode/skill/ | | AmpCode | ~/.config/agents/skills/ | .agents/skills/ |


Usage

Once installed, your AI assistant will automatically discover the skills. Simply ask:

Setup

| What to Say | Skill Used | |-------------|------------| | "Add Sentry to my React app" | sentry-react-setup | | "Set up Sentry in React Native" | sentry-react-native-setup | | "Add Sentry to my Python/Django/Flask app" | sentry-python-setup | | "Set up Sentry in my Ruby/Rails app" | sentry-ruby-setup | | "Add performance monitoring to my app" | sentry-setup-tracing | | "Enable Sentry logging" | sentry-setup-logging | | "Track custom metrics with Sentry" | sentry-setup-metrics | | "Monitor my OpenAI/LangChain calls" | sentry-setup-ai-monitoring |

Debugging & Workflow

| What to Say | Skill Used | |-------------|------------| | "Fix the recent Sentry errors" | sentry-fix-issues | | "Debug the production TypeError" | sentry-fix-issues | | "Work through my Sentry backlog" | sentry-fix-issues | | "Review Sentry comments on PR #123" | sentry-pr-code-review | | "Fix the issues Sentry found in my PR" | sentry-pr-code-review |

The assistant will load the appropriate skill and guide you through the process.


Skill Format

These skills follow the Agent Skills specification. Each skill contains:

skill-name/
  SKILL.md        # Required: YAML frontmatter + markdown instructions

SKILL.md structure:

--- name: skill-name description: Description of what this skill does and when to use it --- # Skill Title Instructions for the AI assistant...

Contributing

Contributions are welcome! Please ensure any new skills:

  1. Follow the Agent Skills specification
  2. Have a valid name (lowercase, hyphens, 1-64 chars)
  3. Include a clear description (1-1024 chars)
  4. Keep skills concise - use tables over prose, avoid obvious information
  5. Include an "Invoke This Skill When" section with trigger phrases
  6. Verify technical details against Sentry docs

Style Guidelines

  • Prefer tables over paragraphs for reference information
  • Use phases/steps for multi-stage workflows
  • Include version requirements where applicable
  • Add troubleshooting tables for common issues
  • Target ~100-200 lines per skill to minimize token usage

License

Apache-2.0

五维分析
清晰度8/10
创新性6/10
实用性8/10
完整性7/10
可维护性7/10
优缺点分析

优点

  • 优点1
  • 优点2

缺点

  • 缺点1
  • 缺点2

相关技能

claude-domain-skills

B
toolAuto-Pilot / 全自动
72/ 100

“看起来很能打,但别让配置把人劝退。”

my-skills

B
toolAuto-Pilot / 全自动
72/ 100

“看起来很能打,但别让配置把人劝退。”

terraform-ibm-modules-skills

B
toolAuto-Pilot / 全自动
72/ 100

“看起来很能打,但别让配置把人劝退。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 getsentry.