Skip to content

Commit 1b34396

Browse files
chore: regenerate skill files
1 parent 6148c3f commit 1b34396

19 files changed

Lines changed: 625 additions & 2 deletions

File tree

plugins/sentry-cli/skills/sentry-cli/SKILL.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,29 @@ Browse the Sentry API schema
436436

437437
→ Full flags and examples: `references/schema.md`
438438

439+
## Global Options
440+
441+
All commands support the following global options:
442+
443+
- `--help` - Show help for the command
444+
- `--version` - Show CLI version
445+
- `--log-level <level>` - Set log verbosity (`error`, `warn`, `log`, `info`, `debug`, `trace`). Overrides `SENTRY_LOG_LEVEL`
446+
- `--verbose` - Shorthand for `--log-level debug`
447+
439448
## Output Formats
440449

441-
Most commands support `--json` flag for JSON output, making it easy to integrate with other tools.
450+
### JSON Output
442451

443-
View commands support `-w` or `--web` flag to open the resource in your browser.
452+
Most list and view commands support `--json` flag for JSON output, making it easy to integrate with other tools:
453+
454+
```bash
455+
sentry org list --json | jq '.[] | .slug'
456+
```
457+
458+
### Opening in Browser
459+
460+
View commands support `-w` or `--web` flag to open the resource in your browser:
461+
462+
```bash
463+
sentry issue view PROJ-123 -w
464+
```

plugins/sentry-cli/skills/sentry-cli/references/api.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,44 @@ Make an authenticated API request
2626
- `--verbose - Include full HTTP request and response in the output`
2727
- `-n, --dry-run - Show the resolved request without sending it`
2828

29+
**Examples:**
30+
31+
```bash
32+
# List organizations
33+
sentry api organizations/
34+
35+
# Get a specific issue
36+
sentry api issues/123456789/
37+
38+
# Create a release
39+
sentry api organizations/my-org/releases/ \
40+
-X POST -F version=1.0.0
41+
42+
# With inline JSON body
43+
sentry api issues/123456789/ \
44+
-X POST -d '{"status": "resolved"}'
45+
46+
# Update an issue status
47+
sentry api issues/123456789/ \
48+
-X PUT -F status=resolved
49+
50+
# Assign an issue
51+
sentry api issues/123456789/ \
52+
-X PUT --field assignedTo="user@example.com"
53+
54+
sentry api projects/my-org/my-project/ -X DELETE
55+
56+
# Add custom headers
57+
sentry api organizations/ -H "X-Custom: value"
58+
59+
# Read body from a file
60+
sentry api projects/my-org/my-project/releases/ -X POST --input release.json
61+
62+
# Verbose mode (shows full HTTP request/response)
63+
sentry api organizations/ --verbose
64+
65+
# Preview the request without sending
66+
sentry api organizations/ --dry-run
67+
```
68+
2969
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.

plugins/sentry-cli/skills/sentry-cli/references/auth.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,41 @@ Authenticate with Sentry
2020
- `--timeout <value> - Timeout for OAuth flow in seconds (default: 900) - (default: "900")`
2121
- `--force - Re-authenticate without prompting`
2222

23+
**Examples:**
24+
25+
```bash
26+
sentry auth login
27+
28+
sentry auth login --token YOUR_SENTRY_API_TOKEN
29+
30+
SENTRY_URL=https://sentry.example.com sentry auth login
31+
32+
SENTRY_URL=https://sentry.example.com sentry auth login --token YOUR_TOKEN
33+
```
34+
2335
### `sentry auth logout`
2436

2537
Log out of Sentry
2638

39+
**Examples:**
40+
41+
```bash
42+
sentry auth logout
43+
```
44+
2745
### `sentry auth refresh`
2846

2947
Refresh your authentication token
3048

3149
**Flags:**
3250
- `--force - Force refresh even if token is still valid`
3351

52+
**Examples:**
53+
54+
```bash
55+
sentry auth refresh
56+
```
57+
3458
### `sentry auth status`
3559

3660
View authentication status
@@ -39,10 +63,28 @@ View authentication status
3963
- `--show-token - Show the stored token (masked by default)`
4064
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
4165

66+
**Examples:**
67+
68+
```bash
69+
sentry auth status
70+
71+
# Show the raw token
72+
sentry auth status --show-token
73+
74+
# View current user
75+
sentry auth whoami
76+
```
77+
4278
### `sentry auth token`
4379

4480
Print the stored authentication token
4581

82+
**Examples:**
83+
84+
```bash
85+
sentry auth token
86+
```
87+
4688
### `sentry auth whoami`
4789

4890
Show the currently authenticated user

plugins/sentry-cli/skills/sentry-cli/references/cli.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,29 @@ CLI-related commands
1515

1616
Send feedback about the CLI
1717

18+
**Examples:**
19+
20+
```bash
21+
# Send positive feedback
22+
sentry cli feedback i love this tool
23+
24+
# Report an issue
25+
sentry cli feedback the issue view is confusing
26+
```
27+
1828
### `sentry cli fix`
1929

2030
Diagnose and repair CLI database issues
2131

2232
**Flags:**
2333
- `--dry-run - Show what would be fixed without making changes`
2434

35+
**Examples:**
36+
37+
```bash
38+
sentry cli fix
39+
```
40+
2541
### `sentry cli setup`
2642

2743
Configure shell integration
@@ -35,6 +51,19 @@ Configure shell integration
3551
- `--no-agent-skills - Skip agent skill installation for AI coding assistants`
3652
- `--quiet - Suppress output (for scripted usage)`
3753

54+
**Examples:**
55+
56+
```bash
57+
# Run full setup (PATH, completions, agent skills)
58+
sentry cli setup
59+
60+
# Skip agent skill installation
61+
sentry cli setup --no-agent-skills
62+
63+
# Skip PATH and completion modifications
64+
sentry cli setup --no-modify-path --no-completions
65+
```
66+
3867
### `sentry cli upgrade <version>`
3968

4069
Update the Sentry CLI to the latest version
@@ -45,4 +74,25 @@ Update the Sentry CLI to the latest version
4574
- `--offline - Upgrade using only cached version info and patches (no network)`
4675
- `--method <value> - Installation method to use (curl, brew, npm, pnpm, bun, yarn)`
4776

77+
**Examples:**
78+
79+
```bash
80+
sentry cli upgrade --check
81+
82+
# Upgrade to latest stable
83+
sentry cli upgrade
84+
85+
# Upgrade to a specific version
86+
sentry cli upgrade 0.5.0
87+
88+
# Force re-download
89+
sentry cli upgrade --force
90+
91+
# Switch to nightly builds
92+
sentry cli upgrade nightly
93+
94+
# Switch back to stable
95+
sentry cli upgrade stable
96+
```
97+
4898
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.

plugins/sentry-cli/skills/sentry-cli/references/dashboard.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ List dashboards
2121
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
2222
- `-c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)`
2323

24+
**Examples:**
25+
26+
```bash
27+
# List all dashboards
28+
sentry dashboard list
29+
30+
# Filter by name pattern
31+
sentry dashboard list "Backend*"
32+
33+
# Open dashboard list in browser
34+
sentry dashboard list -w
35+
```
36+
2437
### `sentry dashboard view <org/project/dashboard...>`
2538

2639
View a dashboard
@@ -31,10 +44,32 @@ View a dashboard
3144
- `-r, --refresh <value> - Auto-refresh interval in seconds (default: 60, min: 10)`
3245
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01"`
3346

47+
**Examples:**
48+
49+
```bash
50+
# View by title
51+
sentry dashboard view 'Frontend Performance'
52+
53+
# View by ID
54+
sentry dashboard view 12345
55+
56+
# Auto-refresh every 30 seconds
57+
sentry dashboard view "Backend Performance" --refresh 30
58+
59+
# Open in browser
60+
sentry dashboard view 12345 -w
61+
```
62+
3463
### `sentry dashboard create <org/project/title...>`
3564

3665
Create a dashboard
3766

67+
**Examples:**
68+
69+
```bash
70+
sentry dashboard create 'Frontend Performance'
71+
```
72+
3873
### `sentry dashboard widget add <org/project/dashboard/title...>`
3974

4075
Add a widget to a dashboard
@@ -52,6 +87,31 @@ Add a widget to a dashboard
5287
- `--width <value> - Widget width in grid columns (1–6)`
5388
- `--height <value> - Widget height in grid rows (min 1)`
5489

90+
**Examples:**
91+
92+
```bash
93+
# Simple counter widget
94+
sentry dashboard widget add 'My Dashboard' "Error Count" \
95+
--display big_number --query count
96+
97+
# Line chart with group-by
98+
sentry dashboard widget add 'My Dashboard' "Errors by Browser" \
99+
--display line --query count --group-by browser.name
100+
101+
# Table with multiple aggregates, sorted descending
102+
sentry dashboard widget add 'My Dashboard' "Top Endpoints" \
103+
--display table \
104+
--query count --query p95:span.duration \
105+
--group-by transaction \
106+
--sort -count --limit 10
107+
108+
# With search filter
109+
sentry dashboard widget add 'My Dashboard' "Slow Requests" \
110+
--display bar --query p95:span.duration \
111+
--where "span.op:http.client" \
112+
--group-by span.description
113+
```
114+
55115
### `sentry dashboard widget edit <org/project/dashboard...>`
56116

57117
Edit a widget in a dashboard
@@ -72,6 +132,19 @@ Edit a widget in a dashboard
72132
- `--width <value> - Widget width in grid columns (1–6)`
73133
- `--height <value> - Widget height in grid rows (min 1)`
74134

135+
**Examples:**
136+
137+
```bash
138+
# Change display type
139+
sentry dashboard widget edit 12345 --title 'Error Count' --display bar
140+
141+
# Rename a widget
142+
sentry dashboard widget edit 'My Dashboard' --index 0 --new-title 'Total Errors'
143+
144+
# Change the query
145+
sentry dashboard widget edit 12345 --title 'Error Rate' --query p95:span.duration
146+
```
147+
75148
### `sentry dashboard widget delete <org/project/dashboard...>`
76149

77150
Delete a widget from a dashboard
@@ -83,4 +156,14 @@ Delete a widget from a dashboard
83156
- `-f, --force - Force the operation without confirmation`
84157
- `-n, --dry-run - Show what would happen without making changes`
85158

159+
**Examples:**
160+
161+
```bash
162+
# Delete by title
163+
sentry dashboard widget delete 'My Dashboard' --title 'Error Count'
164+
165+
# Delete by index
166+
sentry dashboard widget delete 12345 --index 2
167+
```
168+
86169
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.

plugins/sentry-cli/skills/sentry-cli/references/event.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,13 @@ List events for an issue
5252
| `crashFile` | string \| null | Crash file URL |
5353
| `metadata` | unknown \| null | Event metadata |
5454

55+
**Examples:**
56+
57+
```bash
58+
sentry event view abc123def456abc123def456abc12345
59+
60+
# Open in browser
61+
sentry event view abc123def456abc123def456abc12345 -w
62+
```
63+
5564
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.

plugins/sentry-cli/skills/sentry-cli/references/init.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,32 @@ Initialize Sentry in your project (experimental)
2121
- `--features <value>... - Features to enable: errors,tracing,logs,replay,metrics,profiling,sourcemaps,crons,ai-monitoring,user-feedback`
2222
- `-t, --team <value> - Team slug to create the project under`
2323

24+
**Examples:**
25+
26+
```bash
27+
# Interactive setup
28+
sentry init
29+
30+
# Non-interactive with auto-yes
31+
sentry init -y
32+
33+
# Dry run to preview changes
34+
sentry init --dry-run
35+
36+
# Target a subdirectory
37+
sentry init ./my-app
38+
39+
# Use a specific org (auto-detect project)
40+
sentry init acme/
41+
42+
# Use a specific org and project
43+
sentry init acme/my-app
44+
45+
# Assign a team when creating a new project
46+
sentry init acme/ --team backend
47+
48+
# Enable specific features
49+
sentry init --features profiling,replay
50+
```
51+
2452
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.

0 commit comments

Comments
 (0)