跳到正文
cccskills
免费在 GitHub 公开

sentry

Inspect production errors recorded in Sentry using read-only queries. The skill summarizes recent issues, retrieves details of individual error occurrences, and accesses AI-generated cause analysis or fix plans through the command-line tool.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry CLI; perform read-only queries using the `sentry` command.

集成工具Sentry
查看安装方法

适用场景

  • Reviewing unresolved production issues from the last 24 hours
  • Inspecting an issue by its short ID
  • Checking individual error occurrences and release details
  • Reviewing AI-generated causes and fix plans

包含的文件(5)

  • SKILL.md3.7 KB
  • agents/openai.yaml316 B
  • assets/sentry-small.svg661 B
  • assets/sentry.png2.0 KB
  • LICENSE.txt10.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Sentry (Read-only Observability)

Quick start

  • If not already authenticated, ask the user to run sentry auth login or set SENTRY_AUTH_TOKEN as an env var.
  • The CLI auto-detects org/project from DSNs in .env files, source code, config defaults, and directory names. Only specify <org>/<project> if auto-detection fails or picks the wrong target.
  • Defaults: time range 24h, environment production, limit 20.
  • Always use --json when processing output programmatically. Use --json --fields to select specific fields and reduce output size.
  • Use sentry schema <resource> to discover API endpoints quickly.

If the CLI is not installed, give the user these steps:

  1. Install the Sentry CLI: curl https://cli.sentry.dev/install -fsS | bash
  2. Authenticate: sentry auth login
  3. Confirm authentication: sentry auth status
  • Never ask the user to paste the full token in chat. Ask them to set it locally and confirm when ready.

Core tasks (use Sentry CLI)

Use the sentry CLI for all queries. It handles authentication, org/project detection, pagination, and retries automatically. Use --json for machine-readable output.

1) List issues (ordered by most recent)

sentry issue list \
  --query "is:unresolved environment:production" \
  --period 24h \
  --limit 20 \
  --json --fields shortId,title,priority,level,status

If auto-detection doesn't resolve org/project, pass them explicitly:

sentry issue list {your-org}/{your-project} \
  --query "is:unresolved environment:production" \
  --period 24h \
  --limit 20 \
  --json

2) Resolve an issue short ID to issue detail

sentry issue view {ABC-123} --json

Use the short ID format (e.g., ABC-123), not the numeric ID.

3) Issue detail

sentry issue view {ABC-123}

4) Issue events

sentry issue events {ABC-123} --limit 20 --json

5) Event detail

sentry event view {your-org}/{your-project}/{event_id} --json

6) AI-powered root cause analysis

sentry issue explain {ABC-123}

7) AI-powered fix plan

sentry issue plan {ABC-123}

Fallback: arbitrary API access

For endpoints not covered by dedicated CLI commands, use sentry api:

sentry api /api/0/organizations/{your-org}/ --method GET

Use sentry schema to discover available API endpoints:

sentry schema issues

Inputs and defaults

  • org_slug, project_slug: auto-detected by the CLI from DSNs, env vars, and directory names. Override with positional {your-org}/{your-project} if auto-detection fails.
  • time_range: default 24h (pass as --period 24h).
  • environment: default prod (pass as part of --query, e.g., environment:production).
  • limit: default 20 (pass as --limit).
  • search_query: optional --query parameter, uses Sentry search syntax (e.g., is:unresolved, assigned:me).
  • issue_short_id: use directly with sentry issue view.

Output formatting rules

  • Issue list: show title, short_id, status, first_seen, last_seen, count, environments, top_tags; order by most recent.
  • Event detail: include culprit, timestamp, environment, release, url.
  • If no results, state explicitly.
  • Redact PII in output (emails, IPs). Do not print raw stack traces.
  • Never echo auth tokens.

Golden test inputs

  • Org: {your-org}
  • Project: {your-project}
  • Issue short ID: {ABC-123}

Example prompt: "List the top 10 open issues for prod in the last 24h." Expected: ordered list with titles, short IDs, counts, last seen.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build, review, and refactor ASP.NET Core web applications using official guidance. Helps choose application structure, implement pages and APIs, configure authentication and services, and plan testing, performance improvements, deployment, and version upgrades.

中文简介正在准备中。当前显示英语简介。

  • Choose an application model for a new project
  • Build pages and HTTP APIs
  • Review authentication and application configuration
openai/skills2.8万2026年9月9日 更新

Build and troubleshoot ChatGPT apps with an MCP server that exposes tools and an optional interactive widget. Use current official documentation and examples to create scaffolds, configure security settings, and guide local validation and deployment when requested.

中文简介正在准备中。当前显示英语简介。

  • Create a ChatGPT app scaffold from an official example
  • Design tools and connect an MCP server to a widget
  • Refactor or troubleshoot an existing Apps SDK app
openai/skills2.8万2026年9月9日 更新

Turn API documentation or existing scripts into reusable command-line tools that Codex can run from any folder. Builds focused read and write commands, consistent JSON output, authentication handling, installation instructions, and a companion skill.

中文简介正在准备中。当前显示英语简介。

  • Turn an API into reusable commands
  • Make an internal script available from any folder
  • Build a tool for downloading and searching logs
openai/skills2.8万2026年9月9日 更新

Deploy applications and infrastructure on Cloudflare by matching project needs to services such as Workers and Pages. Guides service selection and authentication checks, with references covering storage, AI, networking, security, and infrastructure configuration.

中文简介正在准备中。当前显示英语简介。

  • Publish a website or application on Cloudflare
  • Deploy serverless functions with Workers
  • Choose storage for databases and files
openai/skills2.8万2026年9月9日 更新

Turn a vague intention into a concrete goal with clear scope, measurable success criteria, and evidence of completion. Check existing goals before creating one, so the agent has a specific outcome to pursue without duplicating active work.

中文简介正在准备中。当前显示英语简介。

  • Turn a vague intention into a measurable goal
  • Define completion criteria for a bug fix
  • Set performance targets and measurement methods
openai/skills2.8万2026年9月9日 更新

figma

免费

Turn a linked Figma frame or layer into application code using the Figma MCP server, a connection for accessing design data. Retrieve design details, screenshots, and assets, reuse existing project components, and compare the implementation with the design.

中文简介正在准备中。当前显示英语简介。

  • Implementing a screen from a Figma frame link
  • Retrieving images and SVG assets from a design
  • Adapting a design to existing project components
openai/skills2.8万2026年9月9日 更新

查看 openai 的全部技能

报告此技能的问题