sentry-workflow
getsentry/sentry-for-ai
Route to the right Sentry workflow for fixing production issues, reviewing code, or upgrading SDKs.
What is sentry-workflow?
A router skill that directs you to the appropriate Sentry workflow based on your task. Use this when you need to fix Sentry errors, debug production issues, review PR comments from Sentry, or upgrade Sentry SDKs—it helps you find the correct specialized skill for your specific need.
- Routes to sentry-fix-issues for production debugging with stack traces and event data
- Routes to sentry-code-review for resolving sentry[bot] comments on GitHub PRs
- Routes to sentry-pr-code-review for fixing issues detected by Seer Bug Prediction
- Routes to sentry-sdk-upgrade for Sentry JavaScript SDK migrations and deprecated APIs
- Provides detection logic to identify which workflow matches your task
How to install sentry-workflow
npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-workflowHow to use sentry-workflow
- 1.Read the 'Start Here' section to understand the four main workflow categories
- 2.Identify whether your task involves production issues, PR review comments, SDK upgrades, or bug prediction
- 3.Ask the user if the task is unclear rather than guessing
- 4.Fetch the appropriate skill using curl with the correct path from the workflow table
- 5.Follow the instructions in the selected skill
Use cases
- You have a production error in Sentry and need to investigate the stack trace and breadcrumbs
- A sentry[bot] comment appeared on your PR and you need to resolve the flagged issue
- Seer Bug Prediction detected potential issues in your code review
- You're upgrading the Sentry JavaScript SDK and need migration guidance
- You're unsure which Sentry workflow applies to your current task
- Backend and frontend engineers debugging production issues
- Developers reviewing pull requests with Sentry bot feedback
- Teams upgrading or migrating Sentry SDK versions
- DevOps and SRE teams triaging exceptions
sentry-workflow FAQ
Use sentry-fix-issues when the user mentions fixing errors, debugging exceptions, or investigating production issues with stack traces and breadcrumbs.
Use sentry-code-review when the user mentions Sentry bot comments or sentry[bot] feedback on a GitHub PR.
Use sentry-pr-code-review when the user mentions Seer, bug prediction, or reviewing PRs for predicted issues.
Use sentry-sdk-upgrade when the user mentions upgrading Sentry, migrating SDK versions, or fixing deprecated APIs.
Ask the user whether the task involves live production issues, PR review comments, or SDK upgrades. Do not guess.
Full instructions (SKILL.md)
Source of truth, from getsentry/sentry-for-ai.
name: sentry-workflow description: Fix production issues and review code with Sentry context. Use when asked to fix Sentry errors, debug issues, triage exceptions, review PR comments from Sentry, or resolve bugs. license: Apache-2.0 role: router
Sentry Workflows
Debug production issues and maintain code quality with Sentry context. This page helps you find the right workflow skill for your task.
How to Fetch Skills
Use curl to download skills — they are 10–20 KB files that fetch tools often summarize, losing critical details.
curl -sL https://skills.sentry.dev/sentry-fix-issues/SKILL.md
Append the path from the Path column in the table below to https://skills.sentry.dev/. Do not guess or shorten URLs.
Start Here — Read This Before Doing Anything
Do not skip this section. Do not assume which workflow the user needs. Ask first.
- If the user mentions fixing errors, debugging exceptions, or investigating production issues →
sentry-fix-issues - If the user mentions Sentry bot comments or
sentry[bot]on a PR →sentry-code-review - If the user mentions Seer, bug prediction, or reviewing PRs for predicted issues →
sentry-pr-code-review - If the user mentions upgrading Sentry, migrating SDK versions, or fixing deprecated APIs →
sentry-sdk-upgrade
When unclear, ask the user whether the task involves live production issues, PR review comments, or SDK upgrades. Do not guess.
Workflow Skills
| Use when | Skill | Path |
|---|---|---|
| Finding and fixing production issues — stack traces, breadcrumbs, event data | sentry-fix-issues | sentry-fix-issues/SKILL.md |
Resolving comments from sentry[bot] on GitHub PRs | sentry-code-review | sentry-code-review/SKILL.md |
| Fixing issues detected by Seer Bug Prediction in PR reviews | sentry-pr-code-review | sentry-pr-code-review/SKILL.md |
| Upgrading the Sentry JavaScript SDK — migration guides, breaking changes, deprecated APIs | sentry-sdk-upgrade | sentry-sdk-upgrade/SKILL.md |
Each skill contains its own detection logic, prerequisites, and step-by-step instructions. Trust the skill — read it carefully and follow it. Do not improvise or take shortcuts.
Looking for SDK setup or feature configuration instead? See the full Skill Tree.
Related skills
More from getsentry/sentry-for-ai and the wider catalog.
sentry-fix-issues
Find and fix production issues from Sentry by analyzing stack traces, breadcrumbs, and traces to identify root causes.
sentry-react-native-sdk
Full Sentry SDK setup for React Native and Expo with error monitoring, tracing, profiling, and session replay.
sentry-nextjs-sdk
Full Sentry SDK setup for Next.js with error monitoring, tracing, session replay, and AI monitoring.
sentry-sdk-setup
Detect your platform and route to the right Sentry SDK skill for error monitoring setup.
sentry-create-alert
Create Sentry alerts via workflow engine API with email, Slack, PagerDuty, Discord, and other notifications.
sentry-feature-setup
Route to the right Sentry feature skill—AI monitoring, OpenTelemetry, alerts, span streaming, or instrumentation guidance.