find-in-sentry
它能做什么
这个技能检查 Sentry,找出正在触发的错误及其严重程度。适合希望了解某项服务健康状况、或想知道发布后情况的人。
适用场景
- ✓当你想知道当前正在发生哪些错误时。
- ✓当你想知道某项功能是否稳定,或发布后有什么变化时。
- ✓当你需要某项服务的健康状况摘要时。
技能链接
https://github.com/ParadevAI/Paradev/blob/main/plugins/sentry/skills/find-in-sentry/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“API 项目现在正在触发哪些错误?自昨天发布以来,哪些错误影响的用户最多?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先找到正确的组织和项目,然后执行范围窄、有时间限制的搜索。它会按事件数量和受影响的用户对结果排序,而不是按搜索顺序,并说明搜索的是哪个项目。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Find what is actually firing
Sentry answers precise questions precisely and vague questions misleadingly. The work is scoping the question before searching, and ranking what comes back by impact instead of by relevance.
1. Scope to the right project first
Run find_organizations and find_projects before searching if you are not
certain where the code reports to. A monorepo often maps to several Sentry
projects (api, web, desktop), and a search in the wrong one returns a
confident, empty answer. Say which project you searched.
2. Search the way Sentry indexes, not the way people ask
"Is checkout broken?" becomes queries on what Sentry actually stores: the
error type, the transaction or URL, the release. Prefer search_issues for
"what problems exist" and search_errors for "how often / for whom / since
when". Run two or three narrow queries over one broad one, and time-bound
them — is:unresolved over the last 24h answers a different question than
all-time.
3. Rank by impact, not by recency of the search result
The issues worth reporting are the ones with high event counts, many affected
users, or a first-seen that matches a recent release. A brand-new issue with
three events can matter more than a year-old one with thousands — say why the
ones you picked matter. When a number is load-bearing (error rate, affected
users), take it from search_errors rather than eyeballing the issue list.
4. Answer with links and the time window
Every issue you cite gets its Sentry link and the window you looked at.
"No matching issues in the last 7 days in api" is a complete, useful
answer — silence about scope is how "it's fine" turns out to mean "I searched
the wrong project".
Anti-patterns
- Reporting the first page as the truth. Sort order is not severity.
- Mixing environments. Production noise and staging noise answer different questions; filter to the environment the user cares about.
- Counting issues to measure health. Ten one-off issues can be healthier than one issue hitting every user; lead with events and users affected.
- Answering "is it stable" without a baseline. Compare against the prior window or the prior release, not against zero.
常见问题
为什么要先检查项目?
在错误的项目中搜索会返回看似确定、实则为空的答案,因此该技能会先确认代码向哪里报告。
最新的错误一定最重要吗?
不一定。事件很少的新问题,有时比事件很多的旧问题更重要。该技能会解释其排序依据。
数字从哪里来?
当某个数字很重要时,例如错误率,该技能会从错误搜索中获取,而不是猜测。
详情
作者的原始描述
Answer "what's breaking" questions from Sentry — find the right org and project, search issues and errors with the vocabulary Sentry uses, and report what is actually firing rather than the first hit. Use when the user asks what errors are happening, whether something is stable, what changed since a release, or for any health summary of a service.
repo: ParadevAI/Paradev
热度
- GitHub 星标
- 16k
- 排名
- #10850
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …