跳到正文
TakoAPI
返回技能列表

native-sentry

由 codeninja23 提供

AI & LLMs
307下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Read Sentry issues, events, and production errors via the Sentry REST API.

描述

该技能的功能

Reads production errors and issues from Sentry using the REST API. Supports listing recent issues, fetching stack traces, and inspecting individual events. PII is redacted by default.

Brings Sentry error context directly into the agent without switching tabs or manually copying issue IDs.

何时使用

  • Check what errors fired in prod in the last 24 hours
  • Pull the stack trace for a specific issue ID
  • Summarize unresolved errors before a deploy
  • Look up an issue by its short ID like ABC-123
  • Review event history for a flapping error

示例工作流

输入

User asks: what are the top unresolved errors in prod today?

智能体
  1. 1

    Export SENTRY_ORG and SENTRY_PROJECT from environment

  2. 2

    Run list-issues with --time-range 24h --environment prod --query is:unresolved --limit 20

  3. 3

    Parse returned issue list for titles, counts, and IDs

  4. 4

    Run issue-detail on the top issue to get full context

  5. 5

    Summarize error titles, occurrence counts, and first-seen timestamps

输出

A ranked list of unresolved production errors with titles, event counts, and issue IDs

前置要求

  • Sentry account at sentry.io or self-hosted instance
  • SENTRY_AUTH_TOKEN with scopes: project:read, event:read, org:read — generate at https://sentry.io/settings/account/api/auth-tokens/

安装

clawhub install codeninja23/native-sentry

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接