跳到正文
cccskills
免费在 GitHub 公开

use-sentry-cli-debug

Use the official Sentry CLI to investigate issues, events, traces, and logs for Vibe Remote without committing Sentry credentials into the repository.

中文简介正在准备中。当前显示原文说明。

集成工具Sentry
查看安装方法

包含的文件(2)

  • SKILL.md4.7 KB
  • references/vibe-remote.md1.8 KB

SKILL.md(原文)

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

Use Sentry CLI Debug

Use this skill when the user asks to inspect Sentry issues, events, traces, logs, or authenticated Sentry API responses from the command line while working in the Vibe Remote repository.

Core Rules

  1. Prefer sentry CLI subcommands over raw REST calls. Use sentry issue, sentry event, sentry trace, and sentry log first. Fall back to sentry api only when the dedicated command cannot expose the needed field.
  2. Do not commit credentials. Prefer sentry auth login interactive auth. If token auth is required, use a shell-scoped SENTRY_AUTH_TOKEN or another untracked local secret source. Never write tokens into tracked repo files.
  3. Keep output small. Prefer --json --fields ..., --limit ..., and jq when filtering.
  4. Stay read-only by default. Do not resolve, mute, delete, or otherwise mutate Sentry state unless the user explicitly asks.
  5. Verify CLI context before debugging. Run sentry auth status, then confirm the target org/project if auto-detection looks ambiguous.

Prerequisites

If sentry is not installed:

curl https://cli.sentry.dev/install -fsS | bash

Then verify:

sentry --help
sentry auth status

Authentication options that do not require committing secrets:

# Preferred: interactive login managed by the CLI
sentry auth login

# Alternative: shell-scoped token
export SENTRY_AUTH_TOKEN=...
sentry auth login --token "$SENTRY_AUTH_TOKEN"

Never add the token to tracked files such as .env, .envrc, config/*.json, settings.json, or skill files.

Repo-Specific Context

Before querying Sentry, read vibe-remote.md for the tags and environment metadata currently attached by this repository.

Important current signals:

  • component=service for the main service
  • component=ui for the Flask UI
  • mode=<config.mode>
  • primary_platform=<config.platforms.primary>
  • deployment_environment=<resolved environment>
  • release=vibe-remote@<version>

These are useful narrowing dimensions when many unrelated issues exist in the same Sentry org/project.

Debug Workflow

1. Confirm auth and scope

sentry auth status
sentry org list
sentry project list <org>

If auto-detection is unreliable, use explicit <org>/<project> in every command.

2. Triage recent issues

sentry issue list <org>/<project> \
  --query 'is:unresolved' \
  --limit 10 \
  --json \
  --fields shortId,title,count,userCount,lastSeen,level,status

Common filters:

sentry issue list <org>/<project> --query 'is:unresolved environment:regression'
sentry issue list <org>/<project> --query 'component:service'
sentry issue list <org>/<project> --query 'component:ui'
sentry issue list <org>/<project> --query 'primary_platform:slack'
sentry issue list <org>/<project> --query 'release:vibe-remote@1.2.3'

3. Inspect one issue deeply

sentry issue view <short-id>
sentry issue explain <short-id>

Use sentry issue explain only after you have the raw issue details. Treat the AI explanation as a hint, not ground truth.

4. Inspect concrete event, trace, and logs

sentry event view <org>/<project>/<event-id>
sentry trace view <trace-id>
sentry trace logs <trace-id> --limit 100
sentry log list <org>/<project> --query 'level:error' --limit 100

Use trace and log commands when the issue points to timing, retries, upstream HTTP failures, or multi-step orchestration problems.

5. Use sentry api only as a fallback

sentry api /api/0/organizations/<org>/issues/

Prefer --method, --data, and --header only when the dedicated CLI command cannot express the operation.

Vibe Remote Triage Hints

  1. If the bug is user-visible in regression, first search environment:regression.
  2. Split component:service and component:ui early. Do not mix backend startup errors with UI Flask failures.
  3. When the report is platform-specific, try primary_platform:<platform> and cross-check local logs if Sentry detail is incomplete.
  4. If no Sentry result appears, check whether the problem was only logged locally in ~/.vibe_remote/logs/vibe_remote.log.
  5. If Sentry output is too noisy, reduce fields instead of pasting full blobs back to the user.

When Not to Use This Skill

  • When the user wants release management or source map upload only, use generic sentry CLI commands directly without a full debug workflow.
  • When the user explicitly wants dashboard/MCP-based investigation instead of CLI.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Audit and improve the prompt surface of Avibe Agents across backends (Claude, Codex/GPT, OpenCode) — global and project rules, Agent system prompts, Skills, delegation briefs, and Task and Watch messages — using real run evidence. Use when an Agent misbehaves (stalls, over-asks, over-reaches, ignores or over-applies a rule), after a model or backend change, or when the user asks to review, clean up, or tighten prompts.

中文简介正在准备中。当前显示原文说明。

avibe-bot/avibe6302026年10月19日 更新

Run durable `vibe watch` waits for PR reviews, CI, files or external signals, then resume the Agent in the right Session.

中文简介正在准备中。当前显示原文说明。

avibe-bot/avibe6302026年10月19日 更新

Use Avibe's local Computer Use CLI for carefully bounded desktop observation and actions.

中文简介正在准备中。当前显示原文说明。

avibe-bot/avibe6302026年10月19日 更新

Deliver Avibe, avibe-bot-backend, avibe-docs, avault, and vault-sandbox PRs from worktree and implementation through Codex review, CI, and Merge. Use it for implementation work on every Agent backend.

中文简介正在准备中。当前显示原文说明。

avibe-bot/avibe6302026年10月19日 更新

use-avibe

免费

Safely inspect and modify local Avibe configuration, routing, runtime settings, watches, scheduled tasks, Avibe Cloud remote access, and operational state. Also use it to report an Avibe bug, send product feedback, or file a feature request from the current conversation.

中文简介正在准备中。当前显示原文说明。

avibe-bot/avibe6302026年10月19日 更新

Use Avibe Harness for durable Agent delegation, Sessions, scheduled Tasks, Watches, Runs, queues, and work that must continue beyond the current turn.

中文简介正在准备中。当前显示原文说明。

avibe-bot/avibe6302026年10月19日 更新

查看 avibe-bot 的全部技能

报告此技能的问题