Skip to content

Commit bfc20ee

Browse files
sergicalclaude
andauthored
docs: add agentic usage documentation (#142)
## Summary - Add new documentation page explaining the Sentry CLI skill for AI coding agents - Add sidebar entry under Resources section - Add link in Installation page's Next Steps section ## Test plan - [x] Build completes successfully - [ ] Preview deployment renders the new page correctly - [ ] Sidebar shows "Agentic Usage" under Resources - [ ] Link from Installation page works 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d939b17 commit bfc20ee

3 files changed

Lines changed: 46 additions & 1 deletion

File tree

docs/astro.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,10 @@ export default defineConfig({
193193
},
194194
{
195195
label: "Resources",
196-
items: [{ label: "Contributing", slug: "contributing" }],
196+
items: [
197+
{ label: "Agentic Usage", slug: "agentic-usage" },
198+
{ label: "Contributing", slug: "contributing" },
199+
],
197200
},
198201
],
199202
customCss: ["./src/styles/custom.css"],
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Agentic Usage
3+
description: Enable AI coding agents to use the Sentry CLI
4+
---
5+
6+
AI coding agents like Claude Code can use the Sentry CLI through the skill system. This allows agents to interact with Sentry directly from your development environment.
7+
8+
## Adding the Skill
9+
10+
Add the Sentry CLI skill to your agent:
11+
12+
```bash
13+
npx skills add https://cli.sentry.dev
14+
```
15+
16+
This registers the Sentry CLI as a skill that your agent can invoke when needed.
17+
18+
## Capabilities
19+
20+
With this skill, agents can:
21+
22+
- **View issues** - List and inspect Sentry issues from your projects
23+
- **Inspect events** - Look at specific error events and their details
24+
- **Browse projects** - List projects and organizations you have access to
25+
- **Make API calls** - Execute arbitrary Sentry API requests
26+
- **Authenticate** - Help you set up CLI authentication
27+
28+
## How It Works
29+
30+
When you ask your agent about Sentry errors or want to investigate an issue, the agent can use this skill to fetch real data from your Sentry account. For example:
31+
32+
- "Show me the latest issues in my project"
33+
- "What's the stack trace for ISSUE-123?"
34+
- "List all projects in my organization"
35+
36+
The skill uses your existing CLI authentication, so you'll need to run `sentry auth login` first if you haven't already.
37+
38+
## Requirements
39+
40+
- An authenticated Sentry CLI installation (`sentry auth login`)
41+
- An AI coding agent that supports the skills system (e.g., Claude Code)

docs/src/content/docs/getting-started.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ Once authenticated, you can start using the CLI:
8686
- [Issue commands](../commands/issue/) - Track and manage issues
8787
- [Event commands](../commands/event/) - Inspect events
8888
- [API commands](../commands/api/) - Direct API access
89+
- [Agentic Usage](../agentic-usage/) - Enable AI coding agents to use the CLI

0 commit comments

Comments
 (0)