triage
Triage and diagnose Sentry issues: root cause analysis, temporal pattern detection, severity scoring, and resolution recommendations
- License 许可
- MIT
- 最近更新
- 2026-03-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- triage
- requires
- { "mcps": [ "sentry" ] }
- description
- Triage and diagnose Sentry issues: root cause analysis, temporal pattern detection, severity scoring, and resolution recommendations
02 资源文件 4
- 参考文档references/diagnosis-patterns.md4.1 KB
- 参考文档references/known-bugs.md908 B
- 参考文档references/severity-matrix.md1.5 KB
- 参考文档references/temporal-patterns.md1.7 KB
03 SKILL.md 正文
Triage
Diagnose and triage Sentry issues using the official Sentry MCP server.
Prerequisites
You need the Sentry MCP server connected. The following Sentry MCP tools are used:
list_issues— list issues by project with search syntaxget_issue_details— full issue detail with stack trace, tags, contextslist_issue_events— event history for an issueupdate_issue— resolve, ignore, or unresolve an issuesearch_issues— find issues by trace ID or other criteriaget_project_stats— error rate trends over time
Sentry Projects
The Lucid platform uses these Sentry projects:
lucid-web— Next.js frontend (Vercel)lucid-worker— Worker service (Railway/Fastify)lucid-l2— L2 gateway (Railway/Express)lucid-trustgate— Trust gate (Railway/Fastify)lucid-mcpgate— MCP gate (Railway/Fastify)javascript-nextjs— Next.js SSR errors
Sentry org: raijin-labs
Triage Procedure
Step 1: Get Issue Details
Use Sentry MCP get_issue_details with the issue ID. Focus on:
- Stack trace: Last 15 frames, prioritize frames marked
[in_app] - Tags: Look for
trace_id,run_id,service,environment,release - Breadcrumbs: Last 10 breadcrumbs for event timeline context
- OTel context: Check
contexts.otelfor trace correlation
Step 2: Analyze Temporal Pattern
Use Sentry MCP list_issue_events (limit 25) and classify the event timing pattern:
- See references/temporal-patterns.md for the classification algorithm
- The pattern tells you whether this is a burst (deployment?), steady (systemic), regression (reintroduced), or sporadic (edge case)
Step 3: Check Cross-Service Correlation
If the issue has trace_id or run_id tags:
- Use Sentry MCP
search_issueswith querytrace_id:{id}across all 6 projects - If errors appear in >1 service → cascade detected — investigate the oldest error first
- See the correlation skill for detailed cross-service procedure
Step 4: Match Diagnosis Pattern
Compare the issue title, culprit, and stack trace against known patterns:
- Check Lucid-specific patterns first (see references/diagnosis-patterns.md)
- Then check built-in patterns (network, timeout, auth, rate limit, database, validation, memory)
- Matching is case-insensitive substring match on title + culprit + stack trace text
Step 5: Check Known Bugs
Compare against references/known-bugs.md:
- If a known bug matches and
status: FIXED, recommend verifying the fix is deployed - If a known bug matches and
status: OPEN, link to the existing fix
Step 6: Score Severity and Recommend Action
Use references/severity-matrix.md to score:
- CRITICAL → Immediate escalation, consider rollback
- HIGH → Link to deploy diff, suggest revert if post-deployment
- MEDIUM → Create investigation ticket
- LOW → Monitor; auto-resolve if <5 occurrences/day
Issue Resolution
When to use Sentry MCP update_issue:
- Resolve: Root cause identified AND fix deployed AND verified in production
- Ignore: Known noise (e.g., bot traffic, expected transient errors). Set duration if temporary.
- Unresolve: Previously resolved but still occurring — regression detected
Error Rate Analysis
Use Sentry MCP get_project_stats to analyze trends:
stat: received— total errors ingestedstat: rejected— errors dropped by rate limitsinterval: 1hfor recent spikes,1dfor weekly trendsperiod: 7dor14dfor baseline comparison- Compare current rate to 7-day average — >2x is a spike, >5x is an incident
04 同仓库更多 Skills
lucid-PLUGIN_NAME
PLUGIN_DESCRIPTION
social-content
Generate short-form video content optimized for social media platforms
personalized-outreach
Generate 1:1 personalized video for sales prospecting and customer success
data-reports
Generate animated data report videos from KPIs, charts, and analytics
lucid-video
Agent-native video generation using Remotion — MCP server + OpenClaw plugin
lucid-veille
Content monitoring, AI digest generation, and multi-platform auto-publishing