.github/skills/sentry/SKILL.md
--- name: sentry description: Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI. Primary workflow: given a short issue ID (e.g. PROJECT-123), fetch full bug report with description and stack trace. --- # Sentry CLI Skill This skill handles Sentry CLI operations: authentication, issue lookup by short ID, event details, and bug report g
npx skillsauth add sonht1109/vscode-copilot-kit .github/skills/sentryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill handles Sentry CLI operations: authentication, issue lookup by short ID, event details, and bug report generation. Does NOT handle Sentry SDK instrumentation, source maps upload, or release management.
# Install
npm install -g @sentry/cli
# or: brew install getsentry/tools/sentry
# Authenticate (interactive)
sentry auth login
# Or via env var (preferred for CI)
export SENTRY_AUTH_TOKEN=<your-token>
export SENTRY_ORG=<org-slug>
export SENTRY_PROJECT=<project-slug>
# Verify
sentry auth status
Auth token needs scopes: event:read, issue:read, org:read, project:read
Given a Sentry short ID (e.g. PROJECT-123), produce a full bug report in 3 steps:
https://<org>.sentry.io/issues/<numeric-id>/ → short ID is <numeric-id>sentry issue view <numberic-id> --json > /tmp/sentry/<numeric-id>.json
# Get metadata for issue
cat /tmp/sentry/<numeric-id>.json | jq '{
"shortId": .issue.shortId,
"project": .issue.project.slug,
"metadata": .issue.metadata,
"issueCategory": .issue.issueCategory,
}'
# Get span if needed
cat /tmp/sentry/<numeric-id>.json | jq '{
"entries": .event.entries
}'
## Bug Report: <short-id>
**Description:**
**Project:** <project.slug>
**URL:** https://sentry.io/organizations/<org>/issues/<numeric-id>/
### Stack Trace
<frames[-1].filename>:<frames[-1].lineno> in <frames[-1].function>
> <frames[-1].context_line>
<frames[-2].filename>:<frames[-2].lineno> in <frames[-2].function>
> <frames[-2].context_line>
...
# list org
sentry org list
# list projects
sentry project list
# list issue by project
sentry issue list <project-slug> # up to 25 issues
# view issue details
sentry issue view <issue-id> --json
PROJECT-123) or numeric ID (1234567890)sentry api for any Sentry REST endpoint not exposed via subcommands?cursor=<cursor>&limit=<n> to API calls--json flag to get raw JSON output for any command, then parse with jq to extract needed fieldsdevelopment
This skill focuses on writing/designing effective and comprehensive tests for code. It emphasizes the importance of covering various scenarios, including happy cases, error cases, edge cases, and input validation. The skill also highlights the need to write tests based on expected correct behavior rather than current implementation, and to maintain a high level of coverage (at least 80%).
content-media
Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope. DO NOT use when single-step answers suffice.
tools
--- name: sentry description: Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI. Primary workflow: given a short issue ID (e.g. PROJECT-123), fetch full bug report with description and stack trace. --- # Sentry CLI Skill This skill handles Sentry CLI operations: authentication, issue lookup by short ID, event details, and bug report g
documentation
Use when doing tasks related to markdown files, such as editing README.md or other documentation files.