[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVGPTG58PM6YKX6X9WQRMB":3,"skill-same:01M7CVGPTG58PM6YKX6X9WQRMB":160},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":49},"01M7CVGPTG58PM6YKX6X9WQRMB","sentry-cli",null,"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.","Henrique1601\u002FSkiilsToIAs","Henrique1601","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F92006691?v=4","01M7CRXVT0GVXVK80JT1GR687S","Henrique Bezerra Dos Santos","01M7CRXVTN5Y8TMWJ1MDSKCQ1T",0,"MIT","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sentry-cli\nversion: 0.38.0\ndescription: 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.\nrequires:\n  bins: [\"sentry\"]\n  auth: true\n---\n\n# Sentry CLI Usage Guide\n\nHelp users interact with Sentry from the command line using the `sentry` CLI.\n\n## Agent Guidance\n\nBest practices and operational guidance for AI coding agents using the Sentry CLI.\n\n### Key Principles\n\n- **Just run the command** — the CLI handles authentication and org\u002Fproject detection automatically. Don't pre-authenticate or look up org\u002Fproject before running commands. If auth is needed, the CLI prompts interactively.\n- **Prefer CLI commands over raw API calls** — the CLI has dedicated commands for most tasks. Reach for `sentry issue view`, `sentry issue list`, `sentry trace view`, etc. before constructing API calls manually or fetching external documentation.\n- **Use `sentry schema` to explore the API** — if you need to discover API endpoints, run `sentry schema` to browse interactively or `sentry schema \u003Cresource>` to search. This is faster than fetching OpenAPI specs externally.\n- **Use `sentry issue view \u003Cid>` to investigate issues** — when asked about a specific issue (e.g., `CLI-G5`, `PROJECT-123`), use `sentry issue view` directly.\n- **Use `--json` for machine-readable output** — pipe through `jq` for filtering. Human-readable output includes formatting that is hard to parse.\n- **The CLI auto-detects org\u002Fproject** — most commands work without explicit targets by checking `.sentryclirc` config files, scanning for DSNs in `.env` files and source code, and matching directory names. Only specify `\u003Corg>\u002F\u003Cproject>` when the CLI reports it can't detect the target or detects the wrong one.\n\n### Design Principles\n\nThe `sentry` CLI follows conventions from well-known tools — if you're familiar with them, that knowledge transfers directly:\n\n- **`gh` (GitHub CLI) conventions**: The `sentry` CLI uses the same `\u003Cnoun> \u003Cverb>` command pattern (e.g., `sentry issue list`, `sentry org view`). Flags follow `gh` conventions: `--json` for machine-readable output, `--fields` to select specific fields, `-w`\u002F`--web` to open in browser, `-q`\u002F`--query` for filtering, `-n`\u002F`--limit` for result count.\n- **`sentry api` mimics `curl`**: The `sentry api` command provides direct API access with a `curl`-like interface — `--method` for HTTP method, `--data` for request body, `--header` for custom headers. It handles authentication automatically. If you know how to call a REST API with `curl`, the same patterns apply.\n\n### Context Window Tips\n\n- Use `--json --fields` to select specific fields and reduce output size. Run `\u003Ccommand> --help` to see available fields. Example: `sentry issue list --json --fields shortId,title,priority,level,status`\n- Use `--json` when piping output between commands or processing programmatically\n- Use `--limit` to cap the number of results (default is usually 10–100)\n- Prefer `sentry issue view PROJECT-123` over listing and filtering manually\n- Use `sentry api` for endpoints not covered by dedicated commands\n\n### Safety Rules\n\n- Always confirm with the user before running destructive commands: `project delete`, `trial start`\n- For mutations, verify the org\u002Fproject context looks correct in the command output before proceeding with further changes\n- Never store or log authentication tokens — the CLI manages credentials automatically\n- If the CLI reports the wrong org\u002Fproject, override with explicit `\u003Corg>\u002F\u003Cproject>` arguments\n\n### Exit Codes\n\nThe CLI uses semantic exit codes. Key ranges for agents:\n\n| Range | Meaning | Agent Action |\n|-------|---------|-------------|\n| 0 | Success | Proceed normally |\n| 10–19 | Auth error | Prompt user to run `sentry auth login` |\n| 20–29 | Input error | Check command arguments and retry |\n| 30–39 | API error | Retry or report to user |\n| 40–49 | Feature unavailable | Inform user about plan\u002Fsettings |\n| 50–59 | Operation error | Report to user |\n| 60–69 | Command-specific | Check stderr for details |\n\nSee [Exit Codes](\u002Fexit-codes\u002F) for the complete reference.\n\n### Workflow Patterns\n\n#### Investigate an Issue\n\n```bash\n# 1. Find the issue (auto-detects org\u002Fproject from DSN or config)\nsentry issue list --query \"is:unresolved\" --limit 5\n\n# 2. Get details\nsentry issue view PROJECT-123\n\n# 3. Get AI root cause analysis\nsentry issue explain PROJECT-123\n\n# 4. Get a fix plan\nsentry issue plan PROJECT-123\n```\n\n#### Explore Traces and Performance\n\n```bash\n# 1. List recent traces (auto-detects org\u002Fproject)\nsentry trace list --limit 5\n\n# 2. View a specific trace with span tree\nsentry trace view abc123def456...\n\n# 3. View spans for a trace\nsentry span list abc123def456...\n\n# 4. View logs associated with a trace\nsentry trace logs abc123def456...\n```\n\n#### Stream Logs\n\n```bash\n# Stream logs in real-time (auto-detects org\u002Fproject)\nsentry log list --follow\n\n# Filter logs by severity\nsentry log list --query \"severity:error\"\n```\n\n#### Capture Events Locally (Spotlight)\n\n```bash\n# Run the app with the local server auto-enabled; tail errors\u002Ftraces\u002Flogs.\n# No DSN needed — with no DSN, events go ONLY to the local server (nothing\n# reaches the user's Sentry org, no production quota). With a DSN set, the\n# SDK sends to both.\nsentry local run -- npm run dev          # or: python manage.py runserver, etc.\n\n# Watch only AI\u002Fagent (gen_ai, mcp) spans while iterating on an agent.\nsentry local -f ai\n\n# Server-side SDKs read SENTRY_SPOTLIGHT automatically. The CLI also injects\n# the URL under every framework client prefix (NEXT_PUBLIC_, VITE_, PUBLIC_,\n# NUXT_PUBLIC_, REACT_APP_, VUE_APP_, GATSBY_). Until the browser SDK reads\n# these automatically (getsentry\u002Fsentry-javascript#18198), reference the var\n# matching your framework in the client config:\n# Sentry.init({ spotlight: process.env.NEXT_PUBLIC_SENTRY_SPOTLIGHT ?? false })\n```\n\n#### Explore the API Schema\n\n```bash\n# Browse all API resource categories\nsentry schema\n\n# Search for endpoints related to a resource\nsentry schema issues\n\n# Get details about a specific endpoint\nsentry schema \"GET \u002Fapi\u002F0\u002Forganizations\u002F{organization_id_or_slug}\u002Fissues\u002F\"\n```\n\n#### Manage Releases\n\n```bash\n# Create a release — version must match Sentry.init({ release }) exactly\nsentry release create my-org\u002F1.0.0 --project my-project\n\n# Associate commits via repository integration (needs local git checkout)\nsentry release set-commits my-org\u002F1.0.0 --auto\n\n# Or read commits from local git history (no integration needed)\nsentry release set-commits my-org\u002F1.0.0 --local\n\n# Mark the release as finalized\nsentry release finalize my-org\u002F1.0.0\n\n# Record a production deploy\nsentry release deploy my-org\u002F1.0.0 production\n```\n\n**Key details:**\n- The positional is `\u003Corg-slug>\u002F\u003Cversion>`. In `sentry release create sentry\u002F1.0.0`, `sentry` is the org and `1.0.0` is the version — the slash separates org from version, it is not part of the version string.\n- The **version** must match the `release` value in `Sentry.init()`. If your SDK uses `\"1.0.0\"`, the command must use `org\u002F1.0.0`.\n- `--auto` requires a Sentry repository integration (GitHub\u002FGitLab\u002FBitbucket) **and** a local git checkout. It matches your `origin` remote against Sentry's repo list. Without a checkout, use `--local`.\n- With no flag, `set-commits` tries `--auto` first and falls back to `--local` on failure.\n\n#### Arbitrary API Access\n\n```bash\n# GET request (default)\nsentry api \u002Fapi\u002F0\u002Forganizations\u002Fmy-org\u002F\n\n# POST request with data\nsentry api \u002Fapi\u002F0\u002Forganizations\u002Fmy-org\u002Fprojects\u002F --method POST --data '{\"name\":\"new-project\",\"platform\":\"python\"}'\n```\n\n### Dashboard Layout\n\nSentry dashboards use a **6-column grid**. When adding widgets, aim to fill complete rows (widths should sum to 6).\n\nDisplay types with default sizes:\n\n| Display Type | Width | Height | Category | Notes |\n|---|---|---|---|---|\n| `big_number` | 2 | 1 | common | Compact KPI — place 3 per row (2+2+2=6) |\n| `line` | 3 | 2 | common | Half-width chart — place 2 per row (3+3=6) |\n| `area` | 3 | 2 | common | Half-width chart — place 2 per row |\n| `bar` | 3 | 2 | common | Half-width chart — place 2 per row |\n| `table` | 6 | 2 | common | Full-width — always takes its own row |\n| `stacked_area` | 3 | 2 | specialized | Stacked area chart |\n| `top_n` | 3 | 2 | specialized | Top N ranked list |\n| `categorical_bar` | 3 | 2 | specialized | Categorical bar chart |\n| `text` | 3 | 2 | specialized | Static text\u002Fmarkdown widget |\n| `details` | 3 | 2 | internal | Detail view |\n| `wheel` | 3 | 2 | internal | Pie\u002Fwheel chart |\n| `rage_and_dead_clicks` | 3 | 2 | internal | Rage\u002Fdead click visualization |\n| `server_tree` | 3 | 2 | internal | Hierarchical tree display |\n| `agents_traces_table` | 3 | 2 | internal | Agents traces table |\n\nUse **common** types for general dashboards. Use **specialized** only when specifically requested. Avoid **internal** types unless the user explicitly asks.\n\nAvailable datasets: `spans` (default), `tracemetrics`, `discover`, `issue`, `error-events`, `logs`. Run `sentry dashboard widget --help` for dataset descriptions, query formats, and examples.\n\n**Row-filling examples:**\n\n```bash\n# 3 KPIs filling one row (2+2+2 = 6)\nsentry dashboard widget add \u003Cdashboard> \"Error Count\" --display big_number --query count\nsentry dashboard widget add \u003Cdashboard> \"P95 Duration\" --display big_number --query p95:span.duration\nsentry dashboard widget add \u003Cdashboard> \"Throughput\" --display big_number --query epm\n\n# 2 charts filling one row (3+3 = 6)\nsentry dashboard widget add \u003Cdashboard> \"Errors Over Time\" --display line --query count\nsentry dashboard widget add \u003Cdashboard> \"Latency Over Time\" --display line --query p95:span.duration\n\n# Full-width table (6 = 6)\nsentry dashboard widget add \u003Cdashboard> \"Top Endpoints\" --display table \\\n  --query count --query p95:span.duration \\\n  --group-by transaction --sort -count --limit 10\n```\n\n### Quick Reference\n\n#### Time filtering\n\nUse `--period` (alias: `-t`) to filter by time window:\n\n```bash\nsentry trace list --period 1h\nsentry span list --period 24h\nsentry span list -t 7d\n```\n\n#### Scoping to an org or project\n\nOrg and project are positional arguments following `gh` CLI conventions:\n\n```bash\nsentry trace list my-org\u002Fmy-project\nsentry issue list my-org\u002Fmy-project\nsentry span list my-org\u002Fmy-project\u002Fabc123def456...\n```\n\n#### Listing spans in a trace\n\nPass the trace ID as a positional argument to `span list`:\n\n```bash\nsentry span list abc123def456...\nsentry span list my-org\u002Fmy-project\u002Fabc123def456...\n```\n\n#### Dataset names for the Events API\n\nWhen querying the Events API (directly or via `sentry api`), valid dataset values are: `spans`, `transactions`, `logs`, `errors`, `discover`.\n\n### Common Mistakes\n\n- **Wrong issue ID format**: Use `PROJECT-123` (short ID), not the numeric ID `123456789`. The short ID includes the project prefix.\n- **Pre-authenticating unnecessarily**: Don't run `sentry auth login` before every command. The CLI detects missing\u002Fexpired auth and prompts automatically. Only run `sentry auth login` if you need to switch accounts.\n- **Missing `--json` for piping**: Human-readable output includes formatting. Use `--json` when parsing output programmatically.\n- **Specifying org\u002Fproject when not needed**: Auto-detection resolves org\u002Fproject from `.sentryclirc` config files, DSNs, env vars, and directory names. Let it work first — only add `\u003Corg>\u002F\u003Cproject>` if the CLI says it can't detect the target or detects the wrong one.\n- **Confusing `--query` syntax**: The `--query` flag uses Sentry search syntax (e.g., `is:unresolved`, `assigned:me`), not free text search.\n- **Not using `--web`**: View commands support `-w`\u002F`--web` to open the resource in the browser — useful for sharing links.\n- **Fetching API schemas instead of using the CLI**: Prefer `sentry schema` to browse the API and `sentry api` to make requests — the CLI handles authentication and endpoint resolution, so there's rarely a need to download OpenAPI specs separately.\n- **Release version mismatch**: The `org\u002Fversion` positional is `\u003Corg-slug>\u002F\u003Cversion>`, where `org\u002F` is the org, not part of the version. `sentry release create sentry\u002F1.0.0` creates version `1.0.0` in org `sentry`. If your `Sentry.init()` uses `release: \"1.0.0\"`, this is correct. Don't double-prefix like `sentry\u002Fmyapp\u002F1.0.0`.\n- **Running `set-commits --auto` without a git checkout**: `--auto` needs a local git repo to discover the origin remote URL and HEAD commit. In CI, ensure `actions\u002Fcheckout` with `fetch-depth: 0` runs before `set-commits --auto`.\n- **Using `sentry api` when CLI commands suffice**: `sentry issue list --json` and `sentry issue view --json` already include `shortId`, `title`, `count`, `userCount`, `priority`, `level`, `status`, `permalink`, and other fields at the top level. When using `--fields` to select specific fields like `count` or `userCount`, the CLI automatically ensures these fields are present in the API response. Use `--fields` to select specific fields and `--help` to see all available fields. Only fall back to `sentry api` for data the CLI doesn't expose.\n\n## Prerequisites\n\nThe CLI must be installed and authenticated before use.\n\n### Installation\n\n```bash\ncurl https:\u002F\u002Fcli.sentry.dev\u002Finstall -fsS | bash\ncurl https:\u002F\u002Fcli.sentry.dev\u002Finstall -fsS | bash -s -- --version nightly\n\n# Or install via npm\u002Fpnpm\u002Fbun\nnpm install -g sentry\n```\n\n### Authentication\n\n```bash\nsentry auth login\nsentry auth login --token YOUR_SENTRY_API_TOKEN\nsentry auth status\nsentry auth logout\n```\n\n## Command Reference\n\n### Auth\n\nAuthenticate with Sentry\n\n- `sentry auth login` — Authenticate with Sentry\n- `sentry auth logout` — Log out of Sentry\n- `sentry auth refresh` — Refresh your authentication token\n- `sentry auth status` — View authentication status\n- `sentry auth token` — Print the stored authentication token\n- `sentry auth whoami` — Show the currently authenticated identity\n\n→ Full flags and examples: `references\u002Fauth.md`\n\n### Org\n\nWork with Sentry organizations\n\n- `sentry org list` — List organizations\n- `sentry org view \u003Corg>` — View details of an organization\n\n→ Full flags and examples: `references\u002Forg.md`\n\n### Project\n\nWork with Sentry projects\n\n- `sentry project create \u003Cname> \u003Cplatform>` — Create a new project\n- `sentry project delete \u003Corg\u002Fproject>` — Delete a project\n- `sentry project list \u003Corg\u002Fproject>` — List projects\n- `sentry project view \u003Corg\u002Fproject>` — View details of a project\n\n→ Full flags and examples: `references\u002Fproject.md`\n\n### Issue\n\nManage Sentry issues\n\n- `sentry issue list \u003Corg\u002Fproject>` — List issues in a project\n- `sentry issue events \u003Cissue>` — List events for a specific issue\n- `sentry issue explain \u003Cissue>` — Analyze an issue's root cause using Seer AI\n- `sentry issue plan \u003Cissue>` — Generate a solution plan using Seer AI\n- `sentry issue view \u003Cissue>` — View details of a specific issue\n- `sentry issue resolve \u003Cissue>` — Mark an issue as resolved\n- `sentry issue unresolve \u003Cissue>` — Reopen a resolved issue\n- `sentry issue archive \u003Cissue>` — Archive (ignore) an issue\n- `sentry issue merge \u003Cissue...>` — Merge 2+ issues into a single canonical group\n\n→ Full flags and examples: `references\u002Fissue.md`\n\n### Event\n\nView, list, and send Sentry events\n\n- `sentry event view \u003Corg\u002Fproject\u002Fevent-id...>` — View details of one or more events\n- `sentry event list \u003Cissue>` — List events for an issue\n- `sentry event send \u003Cargs...>` — Send a Sentry event\n\n→ Full flags and examples: `references\u002Fevent.md`\n\n### API\n\nMake an authenticated API request\n\n- `sentry api \u003Cendpoint>` — Make an authenticated API request\n\n→ Full flags and examples: `references\u002Fapi.md`\n\n### Alert\n\nManage Sentry alert rules\n\n- `sentry alert issues list \u003Corg\u002Fproject>` — List issue alert rules\n- `sentry alert issues view \u003Corg\u002Fproject\u002Frule-id-or-name>` — View an issue alert rule\n- `sentry alert issues create \u003Ctarget>` — Create an issue alert rule\n- `sentry alert issues delete \u003Corg\u002Fproject\u002Frule-id-or-name>` — Delete an issue alert rule\n- `sentry alert issues edit \u003Corg\u002Fproject\u002Frule-id-or-name>` — Edit an issue alert rule\n- `sentry alert metrics list \u003Ctarget>` — List metric alert rules\n- `sentry alert metrics view \u003Corg\u002Frule-id-or-name>` — View a metric alert rule\n- `sentry alert metrics create \u003Corg>` — Create a metric alert rule\n- `sentry alert metrics delete \u003Corg\u002Frule-id-or-name>` — Delete a metric alert rule\n- `sentry alert metrics edit \u003Corg\u002Frule-id-or-name>` — Edit a metric alert rule\n\n→ Full flags and examples: `references\u002Falert.md`\n\n### CLI\n\nCLI-related commands\n\n- `sentry cli defaults \u003Ckey value...>` — View and manage default settings\n- `sentry cli feedback \u003Cmessage...>` — Send feedback about the CLI\n- `sentry cli fix` — Diagnose and repair CLI database issues\n- `sentry cli import` — Import settings from legacy .sentryclirc files\n- `sentry cli setup` — Configure shell integration\n- `sentry cli uninstall` — Uninstall Sentry CLI\n- `sentry cli upgrade \u003Cversion>` — Update the Sentry CLI to the latest version\n\n→ Full flags and examples: `references\u002Fcli.md`\n\n### Code-mappings\n\nManage code mappings for stack trace linking\n\n- `sentry code-mappings upload \u003Cpath>` — Upload code mappings for stack trace linking\n\n→ Full flags and examples: `references\u002Fcode-mappings.md`\n\n### Dart-symbol-map\n\nWork with Dart\u002FFlutter symbol maps\n\n- `sentry dart-symbol-map upload \u003Cpath>` — Upload a Dart\u002FFlutter symbol map to Sentry\n\n→ Full flags and examples: `references\u002Fdart-symbol-map.md`\n\n### Debug-files\n\nWork with debug information files\n\n- `sentry debug-files check \u003Cpath>` — Inspect a debug information file\n- `sentry debug-files bundle-jvm \u003Cpath>` — Create a JVM source bundle for source context\n- `sentry debug-files bundle-sources \u003Cpath>` — Bundle a debug file's source files for source context\n\n→ Full flags and examples: `references\u002Fdebug-files.md`\n\n### Dashboard\n\nManage Sentry dashboards\n\n- `sentry dashboard list \u003Corg\u002Ftitle-filter...>` — List dashboards\n- `sentry dashboard view \u003Corg\u002Fproject\u002Fdashboard...>` — View a dashboard\n- `sentry dashboard create \u003Corg\u002Fproject\u002Ftitle...>` — Create a dashboard\n- `sentry dashboard widget add \u003Corg\u002Fproject\u002Fdashboard\u002Ftitle...>` — Add a widget to a dashboard\n- `sentry dashboard widget edit \u003Corg\u002Fproject\u002Fdashboard...>` — Edit a widget in a dashboard\n- `sentry dashboard widget delete \u003Corg\u002Fproject\u002Fdashboard...>` — Delete a widget from a dashboard\n- `sentry dashboard revisions \u003Corg\u002Fdashboard...>` — List dashboard revisions\n- `sentry dashboard restore \u003Corg\u002Fdashboard...>` — Restore a dashboard revision\n\n→ Full flags and examples: `references\u002Fdashboard.md`\n\n### Proguard\n\nWork with ProGuard\u002FR8 mapping files\n\n- `sentry proguard upload \u003Cpath...>` — Upload ProGuard\u002FR8 mapping files to Sentry\n- `sentry proguard uuid \u003Cpath>` — Compute the UUID for a ProGuard mapping file\n\n→ Full flags and examples: `references\u002Fproguard.md`\n\n### Replay\n\nSearch and inspect Session Replays\n\n- `sentry replay list \u003Corg\u002Fproject>` — List recent Session Replays\n- `sentry replay view \u003Creplay-id-or-url...>` — View a Session Replay\n\n→ Full flags and examples: `references\u002Freplay.md`\n\n### Release\n\nWork with Sentry releases\n\n- `sentry release list \u003Corg\u002Fproject>` — List releases with adoption and health metrics\n- `sentry release view \u003Corg\u002Fversion>` — View release details with health metrics\n- `sentry release create \u003Corg\u002Fversion>` — Create a release\n- `sentry release finalize \u003Corg\u002Fversion>` — Finalize a release\n- `sentry release delete \u003Corg\u002Fversion>` — Delete a release\n- `sentry release archive \u003Corg\u002Fversion>` — Archive a release\n- `sentry release restore \u003Corg\u002Fversion>` — Restore an archived release\n- `sentry release deploy \u003Corg\u002Fversion> \u003Cenvironment> \u003Cname>` — Create a deploy for a release\n- `sentry release deploys \u003Corg\u002Fversion>` — List deploys for a release\n- `sentry release set-commits \u003Corg\u002Fversion>` — Set commits for a release\n- `sentry release propose-version` — Propose a release version\n\n→ Full flags and examples: `references\u002Frelease.md`\n\n### Repo\n\nWork with Sentry repositories\n\n- `sentry repo list \u003Corg\u002Fproject>` — List repositories\n\n→ Full flags and examples: `references\u002Frepo.md`\n\n### Team\n\nWork with Sentry teams\n\n- `sentry team list \u003Corg\u002Fproject>` — List teams\n\n→ Full flags and examples: `references\u002Fteam.md`\n\n### Explore\n\nQuery aggregate event data (Explore)\n\n- `sentry explore \u003Ctarget>` — Query aggregate event data (Explore)\n\n→ Full flags and examples: `references\u002Fexplore.md`\n\n### Log\n\nView Sentry logs\n\n- `sentry log list \u003Corg\u002Fproject-or-trace-id...>` — List logs from a project\n- `sentry log view \u003Corg\u002Fproject\u002Flog-id...>` — View details of one or more log entries\n\n→ Full flags and examples: `references\u002Flog.md`\n\n### Monitor\n\nWork with Sentry cron monitors\n\n- `sentry monitor run \u003Cmonitor-slug command...>` — Wrap a command with cron monitor check-ins\n- `sentry monitor list \u003Corg\u002Fproject>` — List cron monitors\n\n→ Full flags and examples: `references\u002Fmonitor.md`\n\n### Sourcemap\n\nManage sourcemaps\n\n- `sentry sourcemap inject \u003Cdirectory>` — Inject debug IDs into JavaScript files and sourcemaps\n- `sentry sourcemap upload \u003Cdirectory>` — Upload sourcemaps to Sentry\n- `sentry sourcemap resolve \u003Cdirectory>` — Resolve and report sourcemap linkage for JavaScript files\n\n→ Full flags and examples: `references\u002Fsourcemap.md`\n\n### Span\n\nList and view spans in projects or traces\n\n- `sentry span list \u003Corg\u002Fproject\u002Ftrace-id...>` — List spans in a project or trace\n- `sentry span view \u003Ctrace-id\u002Fspan-id...>` — View details of specific spans\n\n→ Full flags and examples: `references\u002Fspan.md`\n\n### Trace\n\nView distributed traces\n\n- `sentry trace list \u003Corg\u002Fproject>` — List recent traces in a project\n- `sentry trace view \u003Corg\u002Fproject\u002Ftrace-id...>` — View details of a specific trace\n- `sentry trace logs \u003Corg\u002Fproject\u002Ftrace-id...>` — View logs associated with a trace\n\n→ Full flags and examples: `references\u002Ftrace.md`\n\n### Trial\n\nManage product trials\n\n- `sentry trial list \u003Corg>` — List product trials\n- `sentry trial start \u003Cname> \u003Corg>` — Start a product trial\n\n→ Full flags and examples: `references\u002Ftrial.md`\n\n### Init\n\nInitialize Sentry in your project (experimental)\n\n- `sentry init \u003Ctarget> \u003Cdirectory>` — Initialize Sentry in your project (experimental)\n\n→ Full flags and examples: `references\u002Finit.md`\n\n### Local\n\nSentry for local development\n\n- `sentry local serve` — Start the local dev server and tail events\n- `sentry local run \u003Ccommand...>` — Run a command with the local dev server enabled\n\n→ Full flags and examples: `references\u002Flocal.md`\n\n### Schema\n\nBrowse the Sentry API schema\n\n- `sentry schema \u003Cresource...>` — Browse the Sentry API schema\n\n→ Full flags and examples: `references\u002Fschema.md`\n\n## Global Options\n\nAll commands support the following global options:\n\n- `--help` - Show help for the command\n- `--version` - Show CLI version\n- `--log-level \u003Clevel>` - Set log verbosity (`error`, `warn`, `log`, `info`, `debug`, `trace`). Overrides `SENTRY_LOG_LEVEL`\n- `--verbose` - Shorthand for `--log-level debug`\n\n## Output Formats\n\n### JSON Output\n\nMost list and view commands support `--json` flag for JSON output, making it easy to integrate with other tools:\n\n```bash\nsentry org list --json | jq '.[] | .slug'\n```\n\n### Opening in Browser\n\nView commands support `-w` or `--web` flag to open the resource in your browser:\n\n```bash\nsentry issue view PROJ-123 -w\n```\n","# Sentry CLI Usage Guide\n\nHelp users interact with Sentry from the command line using the `sentry` CLI.\n\n## Agent Guidance\n\nBest practices and operational guidance for AI coding agents using the Sentry CLI.\n\n### Key Principles\n\n- **Just run the command** — the CLI handles authentication and org\u002Fproject detection automatically. Don't pre-authenticate or look up org\u002Fproject before running commands. If auth is needed, the CLI prompts interactively.\n- **Prefer CLI commands over raw API calls** — the CLI has dedicated commands for most tasks. Reach for `sentry issue view`, `sentry issue list`, `sentry trace view`, etc. before constructing API calls manually or fetching external documentation.\n- **Use `sentry schema` to explore the API** — if you need to discover API endpoints, run `sentry schema` to browse interactively or `sentry schema \u003Cresource>` to search. This is faster than fetching OpenAPI specs externally.\n- **Use `sentry issue view \u003Cid>` to investigate issues** — when asked about a specific issue (e.g., `CLI-G5`, `PROJECT-123`), use `sentry issue view` directly.\n- **Use `--json` for machine-readable output** — pipe through `jq` for filtering. Human-readable output includes formatting that is hard to parse.\n- **The CLI auto-detects org\u002Fproject** — most commands work without explicit targets by checking `.sentryclirc` config files, scanning for DSNs in `.env` files and source code, and matching directory names. Only specify `\u003Corg>\u002F\u003Cproject>` when the CLI reports it can't detect the target or detects the wrong one.\n\n### Design Principles\n\nThe `sentry` CLI follows conventions from well-known tools — if you're familiar with them, that knowledge transfers directly:\n\n- **`gh` (GitHub CLI) conventions**: The `sentry` CLI uses the same `\u003Cnoun> \u003Cverb>` command pattern (e.g., `sentry issue list`, `sentry org view`). Flags follow `gh` conventions: `--json` for machine-readable output, `--fields` to select specific fields, `-w`\u002F`--web` to open in browser, `-q`\u002F`--query` for filtering, `-n`\u002F`--limit` for result count.\n- **`sentry api` mimics `curl`**: The `sentry api` command provides direct API access with a `curl`-like interface — `--method` for HTTP method, `--data` for request body, `--header` for custom headers. It handles authentication automatically. If you know how to call a REST API with `curl`, the same patterns apply.\n\n### Context Window Tips\n\n- Use `--json --fields` to select specific fields and reduce output size. Run `\u003Ccommand> --help` to see available fields. Example: `sentry issue list --json --fields shortId,title,priority,level,status`\n- Use `--json` when piping output between commands or processing programmatically\n- Use `--limit` to cap the number of results (default is usually 10–100)\n- Prefer `sentry issue view PROJECT-123` over listing and filtering manually\n- Use `sentry api` for endpoints not covered by dedicated commands\n\n### Safety Rules\n\n- Always confirm with the user before running destructive commands: `project delete`, `trial start`\n- For mutations, verify the org\u002Fproject context looks correct in the command output before proceeding with further changes\n- Never store or log authentication tokens — the CLI manages credentials automatically\n- If the CLI reports the wrong org\u002Fproject, override with explicit `\u003Corg>\u002F\u003Cproject>` arguments\n\n### Exit Codes\n\nThe CLI uses semantic exit codes. Key ranges for agents:\n\n| Range | Meaning | Agent Action |\n|-------|---------|-------------|\n| 0 | Success | Proceed normally |\n| 10–19 | Auth error | Prompt user to run `sentry auth login` |\n| 20–29 | Input error | Check command arguments and retry |\n| 30–39 | API error | Retry or report to user |\n| 40–49 | Feature unavailable | Inform user about plan\u002Fsettings |\n| 50–59 | Operation error | Report to user |\n| 60–69 | Command-specific | Check stderr for details |\n\nSee [Exit Codes](\u002Fexit-codes\u002F) for the complete reference.\n\n### Workflow Patterns\n\n#### Investigate an Issue\n\n```bash\n# 1. Find the issue (auto-detects org\u002Fproject from DSN or config)\nsentry issue list --query \"is:unresolved\" --limit 5\n\n# 2. Get details\nsentry issue view PROJECT-123\n\n# 3. Get AI root cause analysis\nsentry issue explain PROJECT-123\n\n# 4. Get a fix plan\nsentry issue plan PROJECT-123\n```\n\n#### Explore Traces and Performance\n\n```bash\n# 1. List recent traces (auto-detects org\u002Fproject)\nsentry trace list --limit 5\n\n# 2. View a specific trace with span tree\nsentry trace view abc123def456...\n\n# 3. View spans for a trace\nsentry span list abc123def456...\n\n# 4. View logs associated with a trace\nsentry trace logs abc123def456...\n```\n\n#### Stream Logs\n\n```bash\n# Stream logs in real-time (auto-detects org\u002Fproject)\nsentry log list --follow\n\n# Filter logs by severity\nsentry log list --query \"severity:error\"\n```\n\n#### Capture Events Locally (Spotlight)\n\n```bash\n# Run the app with the local server auto-enabled; tail errors\u002Ftraces\u002Flogs.\n# No DSN needed — with no DSN, events go ONLY to the local server (nothing\n# reaches the user's Sentry org, no production quota). With a DSN set, the\n# SDK sends to both.\nsentry local run -- npm run dev          # or: python manage.py runserver, etc.\n\n# Watch only AI\u002Fagent (gen_ai, mcp) spans while iterating on an agent.\nsentry local -f ai\n\n# Server-side SDKs read SENTRY_SPOTLIGHT automatically. The CLI also injects\n# the URL under every framework client prefix (NEXT_PUBLIC_, VITE_, PUBLIC_,\n# NUXT_PUBLIC_, REACT_APP_, VUE_APP_, GATSBY_). Until the browser SDK reads\n# these automatically (getsentry\u002Fsentry-javascript#18198), reference the var\n# matching your framework in the client config:\n# Sentry.init({ spotlight: process.env.NEXT_PUBLIC_SENTRY_SPOTLIGHT ?? false })\n```\n\n#### Explore the API Schema\n\n```bash\n# Browse all API resource categories\nsentry schema\n\n# Search for endpoints related to a resource\nsentry schema issues\n\n# Get details about a specific endpoint\nsentry schema \"GET \u002Fapi\u002F0\u002Forganizations\u002F{organization_id_or_slug}\u002Fissues\u002F\"\n```\n\n#### Manage Releases\n\n```bash\n# Create a release — version must match Sentry.init({ release }) exactly\nsentry release create my-org\u002F1.0.0 --project my-project\n\n# Associate commits via repository integration (needs local git checkout)\nsentry release set-commits my-org\u002F1.0.0 --auto\n\n# Or read commits from local git history (no integration needed)\nsentry release set-commits my-org\u002F1.0.0 --local\n\n# Mark the release as finalized\nsentry release finalize my-org\u002F1.0.0\n\n# Record a production deploy\nsentry release deploy my-org\u002F1.0.0 production\n```\n\n**Key details:**\n- The positional is `\u003Corg-slug>\u002F\u003Cversion>`. In `sentry release create sentry\u002F1.0.0`, `sentry` is the org and `1.0.0` is the version — the slash separates org from version, it is not part of the version string.\n- The **version** must match the `release` value in `Sentry.init()`. If your SDK uses `\"1.0.0\"`, the command must use `org\u002F1.0.0`.\n- `--auto` requires a Sentry repository integration (GitHub\u002FGitLab\u002FBitbucket) **and** a local git checkout. It matches your `origin` remote against Sentry's repo list. Without a checkout, use `--local`.\n- With no flag, `set-commits` tries `--auto` first and falls back to `--local` on failure.\n\n#### Arbitrary API Access\n\n```bash\n# GET request (default)\nsentry api \u002Fapi\u002F0\u002Forganizations\u002Fmy-org\u002F\n\n# POST request with data\nsentry api \u002Fapi\u002F0\u002Forganizations\u002Fmy-org\u002Fprojects\u002F --method POST --data '{\"name\":\"new-project\",\"platform\":\"python\"}'\n```\n\n### Dashboard Layout\n\nSentry dashboards use a **6-column grid**. When adding widgets, aim to fill complete rows (widths should sum to 6).\n\nDisplay types with default sizes:\n\n| Display Type | Width | Height | Category | Notes |\n|---|---|---|---|---|\n| `big_number` | 2 | 1 | common | Compact KPI — place 3 per row (2+2+2=6) |\n| `line` | 3 | 2 | common | Half-width chart — place 2 per row (3+3=6) |\n| `area` | 3 | 2 | common | Half-width chart — place 2 per row |\n| `bar` | 3 | 2 | common | Half-width chart — place 2 per row |\n| `table` | 6 | 2 | common | Full-width — always takes its own row |\n| `stacked_area` | 3 | 2 | specialized | Stacked area chart |\n| `top_n` | 3 | 2 | specialized | Top N ranked list |\n| `categorical_bar` | 3 | 2 | specialized | Categorical bar chart |\n| `text` | 3 | 2 | specialized | Static text\u002Fmarkdown widget |\n| `details` | 3 | 2 | internal | Detail view |\n| `wheel` | 3 | 2 | internal | Pie\u002Fwheel chart |\n| `rage_and_dead_clicks` | 3 | 2 | internal | Rage\u002Fdead click visualization |\n| `server_tree` | 3 | 2 | internal | Hierarchical tree display |\n| `agents_traces_table` | 3 | 2 | internal | Agents traces table |\n\nUse **common** types for general dashboards. Use **specialized** only when specifically requested. Avoid **internal** types unless the user explicitly asks.\n\nAvailable datasets: `spans` (default), `tracemetrics`, `discover`, `issue`, `error-events`, `logs`. Run `sentry dashboard widget --help` for dataset descriptions, query formats, and examples.\n\n**Row-filling examples:**\n\n```bash\n# 3 KPIs filling one row (2+2+2 = 6)\nsentry dashboard widget add \u003Cdashboard> \"Error Count\" --display big_number --query count\nsentry dashboard widget add \u003Cdashboard> \"P95 Duration\" --display big_number --query p95:span.duration\nsentry dashboard widget add \u003Cdashboard> \"Throughput\" --display big_number --query epm\n\n# 2 charts filling one row (3+3 = 6)\nsentry dashboard widget add \u003Cdashboard> \"Errors Over Time\" --display line --query count\nsentry dashboard widget add \u003Cdashboard> \"Latency Over Time\" --display line --query p95:span.duration\n\n# Full-width table (6 = 6)\nsentry dashboard widget add \u003Cdashboard> \"Top Endpoints\" --display table \\\n  --query count --query p95:span.duration \\\n  --group-by transaction --sort -count --limit 10\n```\n\n### Quick Reference\n\n#### Time filtering\n\nUse `--period` (alias: `-t`) to filter by time window:\n\n```bash\nsentry trace list --period 1h\nsentry span list --period 24h\nsentry span list -t 7d\n```\n\n#### Scoping to an org or project\n\nOrg and project are positional arguments following `gh` CLI conventions:\n\n```bash\nsentry trace list my-org\u002Fmy-project\nsentry issue list my-org\u002Fmy-project\nsentry span list my-org\u002Fmy-project\u002Fabc123def456...\n```\n\n#### Listing spans in a trace\n\nPass the trace ID as a positional argument to `span list`:\n\n```bash\nsentry span list abc123def456...\nsentry span list my-org\u002Fmy-project\u002Fabc123def456...\n```\n\n#### Dataset names for the Events API\n\nWhen querying the Events API (directly or via `sentry api`), valid dataset values are: `spans`, `transactions`, `logs`, `errors`, `discover`.\n\n### Common Mistakes\n\n- **Wrong issue ID format**: Use `PROJECT-123` (short ID), not the numeric ID `123456789`. The short ID includes the project prefix.\n- **Pre-authenticating unnecessarily**: Don't run `sentry auth login` before every command. The CLI detects missing\u002Fexpired auth and prompts automatically. Only run `sentry auth login` if you need to switch accounts.\n- **Missing `--json` for piping**: Human-readable output includes formatting. Use `--json` when parsing output programmatically.\n- **Specifying org\u002Fproject when not needed**: Auto-detection resolves org\u002Fproject from `.sentryclirc` config files, DSNs, env vars, and directory names. Let it work first — only add `\u003Corg>\u002F\u003Cproject>` if the CLI says it can't detect the target or detects the wrong one.\n- **Confusing `--query` syntax**: The `--query` flag uses Sentry search syntax (e.g., `is:unresolved`, `assigned:me`), not free text search.\n- **Not using `--web`**: View commands support `-w`\u002F`--web` to open the resource in the browser — useful for sharing links.\n- **Fetching API schemas instead of using the CLI**: Prefer `sentry schema` to browse the API and `sentry api` to make requests — the CLI handles authentication and endpoint resolution, so there's rarely a need to download OpenAPI specs separately.\n- **Release version mismatch**: The `org\u002Fversion` positional is `\u003Corg-slug>\u002F\u003Cversion>`, where `org\u002F` is the org, not part of the version. `sentry release create sentry\u002F1.0.0` creates version `1.0.0` in org `sentry`. If your `Sentry.init()` uses `release: \"1.0.0\"`, this is correct. Don't double-prefix like `sentry\u002Fmyapp\u002F1.0.0`.\n- **Running `set-commits --auto` without a git checkout**: `--auto` needs a local git repo to discover the origin remote URL and HEAD commit. In CI, ensure `actions\u002Fcheckout` with `fetch-depth: 0` runs before `set-commits --auto`.\n- **Using `sentry api` when CLI commands suffice**: `sentry issue list --json` and `sentry issue view --json` already include `shortId`, `title`, `count`, `userCount`, `priority`, `level`, `status`, `permalink`, and other fields at the top level. When using `--fields` to select specific fields like `count` or `userCount`, the CLI automatically ensures these fields are present in the API response. Use `--fields` to select specific fields and `--help` to see all available fields. Only fall back to `sentry api` for data the CLI doesn't expose.\n\n## Prerequisites\n\nThe CLI must be installed and authenticated before use.\n\n### Installation\n\n```bash\ncurl https:\u002F\u002Fcli.sentry.dev\u002Finstall -fsS | bash\ncurl https:\u002F\u002Fcli.sentry.dev\u002Finstall -fsS | bash -s -- --version nightly\n\n# Or install via npm\u002Fpnpm\u002Fbun\nnpm install -g sentry\n```\n\n### Authentication\n\n```bash\nsentry auth login\nsentry auth login --token YOUR_SENTRY_API_TOKEN\nsentry auth status\nsentry auth logout\n```\n\n## Command Reference\n\n### Auth\n\nAuthenticate with Sentry\n\n- `sentry auth login` — Authenticate with Sentry\n- `sentry auth logout` — Log out of Sentry\n- `sentry auth refresh` — Refresh your authentication token\n- `sentry auth status` — View authentication status\n- `sentry auth token` — Print the stored authentication token\n- `sentry auth whoami` — Show the currently authenticated identity\n\n→ Full flags and examples: `references\u002Fauth.md`\n\n### Org\n\nWork with Sentry organizations\n\n- `sentry org list` — List organizations\n- `sentry org view \u003Corg>` — View details of an organization\n\n→ Full flags and examples: `references\u002Forg.md`\n\n### Project\n\nWork with Sentry projects\n\n- `sentry project create \u003Cname> \u003Cplatform>` — Create a new project\n- `sentry project delete \u003Corg\u002Fproject>` — Delete a project\n- `sentry project list \u003Corg\u002Fproject>` — List projects\n- `sentry project view \u003Corg\u002Fproject>` — View details of a project\n\n→ Full flags and examples: `references\u002Fproject.md`\n\n### Issue\n\nManage Sentry issues\n\n- `sentry issue list \u003Corg\u002Fproject>` — List issues in a project\n- `sentry issue events \u003Cissue>` — List events for a specific issue\n- `sentry issue explain \u003Cissue>` — Analyze an issue's root cause using Seer AI\n- `sentry issue plan \u003Cissue>` — Generate a solution plan using Seer AI\n- `sentry issue view \u003Cissue>` — View details of a specific issue\n- `sentry issue resolve \u003Cissue>` — Mark an issue as resolved\n- `sentry issue unresolve \u003Cissue>` — Reopen a resolved issue\n- `sentry issue archive \u003Cissue>` — Archive (ignore) an issue\n- `sentry issue merge \u003Cissue...>` — Merge 2+ issues into a single canonical group\n\n→ Full flags and examples: `references\u002Fissue.md`\n\n### Event\n\nView, list, and send Sentry events\n\n- `sentry event view \u003Corg\u002Fproject\u002Fevent-id...>` — View details of one or more events\n- `sentry event list \u003Cissue>` — List events for an issue\n- `sentry event send \u003Cargs...>` — Send a Sentry event\n\n→ Full flags and examples: `references\u002Fevent.md`\n\n### API\n\nMake an authenticated API request\n\n- `sentry api \u003Cendpoint>` — Make an authenticated API request\n\n→ Full flags and examples: `references\u002Fapi.md`\n\n### Alert\n\nManage Sentry alert rules\n\n- `sentry alert issues list \u003Corg\u002Fproject>` — List issue alert rules\n- `sentry alert issues view \u003Corg\u002Fproject\u002Frule-id-or-name>` — View an issue alert rule\n- `sentry alert issues create \u003Ctarget>` — Create an issue alert rule\n- `sentry alert issues delete \u003Corg\u002Fproject\u002Frule-id-or-name>` — Delete an issue alert rule\n- `sentry alert issues edit \u003Corg\u002Fproject\u002Frule-id-or-name>` — Edit an issue alert rule\n- `sentry alert metrics list \u003Ctarget>` — List metric alert rules\n- `sentry alert metrics view \u003Corg\u002Frule-id-or-name>` — View a metric alert rule\n- `sentry alert metrics create \u003Corg>` — Create a metric alert rule\n- `sentry alert metrics delete \u003Corg\u002Frule-id-or-name>` — Delete a metric alert rule\n- `sentry alert metrics edit \u003Corg\u002Frule-id-or-name>` — Edit a metric alert rule\n\n→ Full flags and examples: `references\u002Falert.md`\n\n### CLI\n\nCLI-related commands\n\n- `sentry cli defaults \u003Ckey value...>` — View and manage default settings\n- `sentry cli feedback \u003Cmessage...>` — Send feedback about the CLI\n- `sentry cli fix` — Diagnose and repair CLI database issues\n- `sentry cli import` — Import settings from legacy .sentryclirc files\n- `sentry cli setup` — Configure shell integration\n- `sentry cli uninstall` — Uninstall Sentry CLI\n- `sentry cli upgrade \u003Cversion>` — Update the Sentry CLI to the latest version\n\n→ Full flags and examples: `references\u002Fcli.md`\n\n### Code-mappings\n\nManage code mappings for stack trace linking\n\n- `sentry code-mappings upload \u003Cpath>` — Upload code mappings for stack trace linking\n\n→ Full flags and examples: `references\u002Fcode-mappings.md`\n\n### Dart-symbol-map\n\nWork with Dart\u002FFlutter symbol maps\n\n- `sentry dart-symbol-map upload \u003Cpath>` — Upload a Dart\u002FFlutter symbol map to Sentry\n\n→ Full flags and examples: `references\u002Fdart-symbol-map.md`\n\n### Debug-files\n\nWork with debug information files\n\n- `sentry debug-files check \u003Cpath>` — Inspect a debug information file\n- `sentry debug-files bundle-jvm \u003Cpath>` — Create a JVM source bundle for source context\n- `sentry debug-files bundle-sources \u003Cpath>` — Bundle a debug file's source files for source context\n\n→ Full flags and examples: `references\u002Fdebug-files.md`\n\n### Dashboard\n\nManage Sentry dashboards\n\n- `sentry dashboard list \u003Corg\u002Ftitle-filter...>` — List dashboards\n- `sentry dashboard view \u003Corg\u002Fproject\u002Fdashboard...>` — View a dashboard\n- `sentry dashboard create \u003Corg\u002Fproject\u002Ftitle...>` — Create a dashboard\n- `sentry dashboard widget add \u003Corg\u002Fproject\u002Fdashboard\u002Ftitle...>` — Add a widget to a dashboard\n- `sentry dashboard widget edit \u003Corg\u002Fproject\u002Fdashboard...>` — Edit a widget in a dashboard\n- `sentry dashboard widget delete \u003Corg\u002Fproject\u002Fdashboard...>` — Delete a widget from a dashboard\n- `sentry dashboard revisions \u003Corg\u002Fdashboard...>` — List dashboard revisions\n- `sentry dashboard restore \u003Corg\u002Fdashboard...>` — Restore a dashboard revision\n\n→ Full flags and examples: `references\u002Fdashboard.md`\n\n### Proguard\n\nWork with ProGuard\u002FR8 mapping files\n\n- `sentry proguard upload \u003Cpath...>` — Upload ProGuard\u002FR8 mapping files to Sentry\n- `sentry proguard uuid \u003Cpath>` — Compute the UUID for a ProGuard mapping file\n\n→ Full flags and examples: `references\u002Fproguard.md`\n\n### Replay\n\nSearch and inspect Session Replays\n\n- `sentry replay list \u003Corg\u002Fproject>` — List recent Session Replays\n- `sentry replay view \u003Creplay-id-or-url...>` — View a Session Replay\n\n→ Full flags and examples: `references\u002Freplay.md`\n\n### Release\n\nWork with Sentry releases\n\n- `sentry release list \u003Corg\u002Fproject>` — List releases with adoption and health metrics\n- `sentry release view \u003Corg\u002Fversion>` — View release details with health metrics\n- `sentry release create \u003Corg\u002Fversion>` — Create a release\n- `sentry release finalize \u003Corg\u002Fversion>` — Finalize a release\n- `sentry release delete \u003Corg\u002Fversion>` — Delete a release\n- `sentry release archive \u003Corg\u002Fversion>` — Archive a release\n- `sentry release restore \u003Corg\u002Fversion>` — Restore an archived release\n- `sentry release deploy \u003Corg\u002Fversion> \u003Cenvironment> \u003Cname>` — Create a deploy for a release\n- `sentry release deploys \u003Corg\u002Fversion>` — List deploys for a release\n- `sentry release set-commits \u003Corg\u002Fversion>` — Set commits for a release\n- `sentry release propose-version` — Propose a release version\n\n→ Full flags and examples: `references\u002Frelease.md`\n\n### Repo\n\nWork with Sentry repositories\n\n- `sentry repo list \u003Corg\u002Fproject>` — List repositories\n\n→ Full flags and examples: `references\u002Frepo.md`\n\n### Team\n\nWork with Sentry teams\n\n- `sentry team list \u003Corg\u002Fproject>` — List teams\n\n→ Full flags and examples: `references\u002Fteam.md`\n\n### Explore\n\nQuery aggregate event data (Explore)\n\n- `sentry explore \u003Ctarget>` — Query aggregate event data (Explore)\n\n→ Full flags and examples: `references\u002Fexplore.md`\n\n### Log\n\nView Sentry logs\n\n- `sentry log list \u003Corg\u002Fproject-or-trace-id...>` — List logs from a project\n- `sentry log view \u003Corg\u002Fproject\u002Flog-id...>` — View details of one or more log entries\n\n→ Full flags and examples: `references\u002Flog.md`\n\n### Monitor\n\nWork with Sentry cron monitors\n\n- `sentry monitor run \u003Cmonitor-slug command...>` — Wrap a command with cron monitor check-ins\n- `sentry monitor list \u003Corg\u002Fproject>` — List cron monitors\n\n→ Full flags and examples: `references\u002Fmonitor.md`\n\n### Sourcemap\n\nManage sourcemaps\n\n- `sentry sourcemap inject \u003Cdirectory>` — Inject debug IDs into JavaScript files and sourcemaps\n- `sentry sourcemap upload \u003Cdirectory>` — Upload sourcemaps to Sentry\n- `sentry sourcemap resolve \u003Cdirectory>` — Resolve and report sourcemap linkage for JavaScript files\n\n→ Full flags and examples: `references\u002Fsourcemap.md`\n\n### Span\n\nList and view spans in projects or traces\n\n- `sentry span list \u003Corg\u002Fproject\u002Ftrace-id...>` — List spans in a project or trace\n- `sentry span view \u003Ctrace-id\u002Fspan-id...>` — View details of specific spans\n\n→ Full flags and examples: `references\u002Fspan.md`\n\n### Trace\n\nView distributed traces\n\n- `sentry trace list \u003Corg\u002Fproject>` — List recent traces in a project\n- `sentry trace view \u003Corg\u002Fproject\u002Ftrace-id...>` — View details of a specific trace\n- `sentry trace logs \u003Corg\u002Fproject\u002Ftrace-id...>` — View logs associated with a trace\n\n→ Full flags and examples: `references\u002Ftrace.md`\n\n### Trial\n\nManage product trials\n\n- `sentry trial list \u003Corg>` — List product trials\n- `sentry trial start \u003Cname> \u003Corg>` — Start a product trial\n\n→ Full flags and examples: `references\u002Ftrial.md`\n\n### Init\n\nInitialize Sentry in your project (experimental)\n\n- `sentry init \u003Ctarget> \u003Cdirectory>` — Initialize Sentry in your project (experimental)\n\n→ Full flags and examples: `references\u002Finit.md`\n\n### Local\n\nSentry for local development\n\n- `sentry local serve` — Start the local dev server and tail events\n- `sentry local run \u003Ccommand...>` — Run a command with the local dev server enabled\n\n→ Full flags and examples: `references\u002Flocal.md`\n\n### Schema\n\nBrowse the Sentry API schema\n\n- `sentry schema \u003Cresource...>` — Browse the Sentry API schema\n\n→ Full flags and examples: `references\u002Fschema.md`\n\n## Global Options\n\nAll commands support the following global options:\n\n- `--help` - Show help for the command\n- `--version` - Show CLI version\n- `--log-level \u003Clevel>` - Set log verbosity (`error`, `warn`, `log`, `info`, `debug`, `trace`). Overrides `SENTRY_LOG_LEVEL`\n- `--verbose` - Shorthand for `--log-level debug`\n\n## Output Formats\n\n### JSON Output\n\nMost list and view commands support `--json` flag for JSON output, making it easy to integrate with other tools:\n\n```bash\nsentry org list --json | jq '.[] | .slug'\n```\n\n### Opening in Browser\n\nView commands support `-w` or `--web` flag to open the resource in your browser:\n\n```bash\nsentry issue view PROJ-123 -w\n```\n",{"name":5,"version":24,"requires":25,"description":7},"0.38.0",{"auth":26,"bins":27},true,[28],"sentry","main","a73152352c0612252131e5cf84e91312a6cf17dc","devops-cloud\u002Fsentry-cli","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs","https:\u002F\u002Fgithub.com\u002FHenrique1601","https:\u002F\u002Fbezerraportifolio.netlify.app\u002F","Full Stack Developer | React, Next.js, TypeScript, Node.js & IA | Construindo produtos digitais e soluções SaaS","2026-11-15 02:56:04",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":26},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Henrique1601\u002FSkiilsToIAs --skill sentry-cli",{"tool":43,"command":44},"bunx","bunx skills add Henrique1601\u002FSkiilsToIAs --skill sentry-cli",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Henrique1601\u002FSkiilsToIAs --skill sentry-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002FSKILL.md",[50,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Falert.md","REFERENCE","参考文档",6838,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Falert.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fapi.md",1917,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fapi.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fauth.md",2457,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fauth.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcli.md",4304,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fcli.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcode-mappings.md",1018,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fcode-mappings.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fdart-symbol-map.md",965,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fdart-symbol-map.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fdashboard.md",6494,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fdashboard.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fdebug-files.md",1671,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fdebug-files.md",{"path":85,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fevent.md",5061,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fevent.md",{"path":89,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fexplore.md",3125,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fexplore.md",{"path":93,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Finit.md",1486,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Finit.md",{"path":97,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fissue.md",10862,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fissue.md",{"path":101,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Flocal.md",1843,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Flocal.md",{"path":105,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Flog.md",2296,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Flog.md",{"path":109,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fmonitor.md",2615,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fmonitor.md",{"path":113,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Forg.md",867,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Forg.md",{"path":117,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fproguard.md",966,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fproguard.md",{"path":121,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fproject.md",2054,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fproject.md",{"path":125,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Frelease.md",4943,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Frelease.md",{"path":129,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Freplay.md",5811,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Freplay.md",{"path":133,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Frepo.md",1354,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Frepo.md",{"path":137,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fschema.md",762,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fschema.md",{"path":141,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fsourcemap.md",2971,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fsourcemap.md",{"path":145,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":146,"sourceHtmlUrl":147},"references\u002Fspan.md",2778,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fspan.md",{"path":149,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":150,"sourceHtmlUrl":151},"references\u002Fteam.md",1170,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Fteam.md",{"path":153,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":154,"sourceHtmlUrl":155},"references\u002Ftrace.md",3453,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Ftrace.md",{"path":157,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":158,"sourceHtmlUrl":159},"references\u002Ftrial.md",1175,"https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fdevops-cloud\u002Fsentry-cli\u002Freferences\u002Ftrial.md",[161,168,175,183,190,197],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":19},"01M7E2ANBW9V6AVX5JXNCEAWF8","rag-architect-agent","Agente Arquiteto de RAG, Embeddings & Busca Vetorial. Especialista em design e implementação de pipelines de Retrieval-Augmented Generation de alta fidelidade: chunking semântico, modelagem pgvector no PostgreSQL (Neon\u002FSupabase), busca híbrida (cosseno + BM25), reranking, validação via TypeSafe AI e filosofia Ponytail (anti-overengineering).","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fcustom-agents\u002Frag-architect-agent\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":19},"01M7E29KKF8R02ZRGYE2MJM67G","rag-architecture-patterns","Padrões arquiteturais e implementação de pipelines RAG (Retrieval-Augmented Generation) de alta fidelidade para qualquer projeto ou sistema. Cobre chunking semântico, embeddings, busca híbrida (pgvector + BM25), reranking, validação via TypeSafe AI e filosofia Ponytail (anti-overengineering).","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Fai-agents\u002Frag-architecture-patterns\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":179,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":19},"01M7CWRA8E3BJ7CPY8N8EG28J1","skill-repair","Use this to fix and re-install agent skills that have failed installation.\nThis skill provides the necessary context and permissions to surgically update\nthe `manifest.json` after a fix has been applied.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fskill-repair\u002FSKILL.md",[],[],{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":19},"01M7CWR66FZP8FA47WVZ4Z2EXC","security-scan","Scan your Claude Code configuration (.claude\u002F directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks CLAUDE.md, settings.json, MCP servers, hooks, and agent definitions.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-scan\u002FSKILL.md",[],[],{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":19},"01M7CWR0QPY58QPTR1P759TFNG","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-review\u002FSKILL.md",[],[],{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":19},"01M7CWQXCE40XWT4FZ3VWZFGDP","security-bounty-hunter","Hunt for exploitable, bounty-worthy security issues in repositories. Focuses on remotely reachable vulnerabilities that qualify for real reports instead of noisy local-only findings.","https:\u002F\u002Fgithub.com\u002FHenrique1601\u002FSkiilsToIAs\u002Fblob\u002Fmain\u002Futilities\u002Fsecurity-bounty-hunter\u002FSKILL.md",[],[]]