mirror of
https://github.com/getsentry/sentry-for-ai.git
synced 2026-09-14 14:28:22 +08:00
feat/add-warden
The workflow triggers on pull_request types [opened, synchronize, reopened] but the skill trigger only matched opened and synchronize, causing reopened PRs to run the workflow without triggering the skill-scanner scan. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sentry Claude Code Plugin
Official Sentry integration plugin for Claude Code. Query your Sentry environment in natural language, analyze issues, monitor performance, and automatically resolve bugs detected in pull requests.
Installation
From Claude Marketplace
/plugin marketplace update claude-plugins-official
/plugin install sentry
Restart Claude Code to activate the plugin, then verify:
/help # Should show /seer command
/mcp # Should show sentry MCP server
From Local Source
git clone https://github.com/getsentry/sentry-for-claude.git
cd sentry-for-claude
/plugin marketplace add /path/to/sentry-for-claude
/plugin install sentry@local
Slash Commands
/seer <query>
Ask questions about your Sentry environment in natural language.
/seer What are the top errors in the last 24 hours?
/seer Show me all critical issues in mobile-app
/seer Which issues are affecting the most users?
/seer What's the request latency for the api-gateway application?
Skills
sentry-code-review
Analyzes and fixes bugs detected by Sentry in GitHub Pull Request comments. Requires GitHub CLI (gh auth login).
Review PR #118 and fix the Sentry comments
Setup Skills
| Skill | Description |
|---|---|
sentry-ios-swift-setup |
Setup Sentry in iOS/Swift apps with error monitoring, tracing, session replay, logging, and profiling |
sentry-setup-ai-monitoring |
Setup Sentry AI Agent Monitoring for OpenAI, Anthropic, LangChain, etc. |
sentry-setup-logging |
Setup Sentry Logging for JavaScript, Python, and Ruby projects |
sentry-setup-metrics |
Setup Sentry Metrics (counters, gauges, distributions) |
sentry-setup-tracing |
Setup Sentry Tracing and Performance Monitoring |
Configuration
The plugin automatically configures the Sentry MCP server on install. No additional setup required beyond restarting Claude Code.
The sentry-code-review skill requires GitHub CLI:
brew install gh # macOS, or https://cli.github.com/
gh auth login
Plugin Structure
sentry-for-claude/
├── .claude-plugin/
│ ├── plugin.json # Plugin metadata
│ └── marketplace.json # Marketplace listing
├── .claude/
│ └── settings.json # Claude Code settings
├── .mcp.json # MCP server configuration
├── AGENTS.md # Agent instructions
├── commands/
│ └── seer.md # /seer command
└── skills/
├── sentry-code-review/
├── sentry-ios-swift-setup/
├── sentry-setup-ai-monitoring/
├── sentry-setup-logging/
├── sentry-setup-metrics/
└── sentry-setup-tracing/
License
MIT
Description
sentry-fix-issues: Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in…; sentry-react-native-sdk: Full Sentry SDK setup for React Native and Expo. Use when asked to "add Sentry to React Native", "install @sentry/react-native", "setup Sentry in Expo", or…; sentry-workflow: Keep Sentry SDKs up to date. Use when asked to upgrade the Sentry SDK across major versions, migrate SDK versions, or fix…
Readme
MIT
37 MiB
Languages
TypeScript
63.5%
Shell
23.6%
Python
12.4%
JavaScript
0.5%