Skip to content

Commit 859fb0c

Browse files
codydeclaude
andauthored
Replace "AI Code Editor" sections to use Sentry Agent Skills (#16575)
## DESCRIBE YOUR PR Replace the static copy-paste code snippet rules ("AI Rules for Code Editors") with guidance to install Sentry Agent Skills via `dotagents` or `npx skills`. This shifts the developer experience from manually copying markdown rules into editor config files to installing maintained, versioned agent skills from `getsentry/sentry-agent-skills`. **Changes:** - **SDK setup pages** (JS, React, Next.js, Node.js): Replace `llm-rules-platform` code snippets with "Sentry Agent Skills" expandable pointing to `--all` skills install - **Logs pages** (JS, Next.js, Python, Ruby, .NET): Replace `llm-rules-logs` code snippets with `sentry-setup-logging` skill - **Tracing pages** (JS, Next.js, Python, Ruby, .NET): Add `sentry-setup-tracing` skill expandable - **Metrics pages** (JS, Python, Ruby, .NET): Add `sentry-setup-metrics` skill expandable - **AI Agent Monitoring pages** (JS, Python): Add `sentry-setup-ai-monitoring` skill expandable 24 files changed across JavaScript, Python, Ruby, and .NET platform docs. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): - [ ] Other deadline: - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 587c3b9 commit 859fb0c

25 files changed

Lines changed: 378 additions & 678 deletions

File tree

docs/platforms/dotnet/common/logs/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@ notSupported:
1212
- dotnet.xamarin
1313
---
1414

15+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
16+
17+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up logging in your .NET application.
18+
19+
### Install Skills
20+
21+
```bash {tabTitle: dotagents}
22+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-logging
23+
```
24+
25+
```bash {tabTitle: npx skills}
26+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-logging
27+
```
28+
29+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
30+
31+
</Expandable>
32+
1533
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
1634

1735
## Requirements

docs/platforms/dotnet/common/metrics/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ sidebar_section: features
77
beta: true
88
---
99

10+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
11+
12+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up metrics in your .NET application.
13+
14+
### Install Skills
15+
16+
```bash {tabTitle: dotagents}
17+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-metrics
18+
```
19+
20+
```bash {tabTitle: npx skills}
21+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-metrics
22+
```
23+
24+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
25+
26+
</Expandable>
27+
1028
<Alert>
1129
This feature is currently in open beta. Please reach out on
1230
[GitHub](https://github.com/getsentry/sentry/discussions/102275) if you have

docs/platforms/dotnet/common/tracing/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ sidebar_order: 3
66
sidebar_section: features
77
---
88

9+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
10+
11+
Install Sentry’s [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up tracing in your .NET application.
12+
13+
### Install Skills
14+
15+
```bash {tabTitle: dotagents}
16+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-tracing
17+
```
18+
19+
```bash {tabTitle: npx skills}
20+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-tracing
21+
```
22+
23+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
24+
25+
</Expandable>
26+
927
With [tracing](/product/insights/overview/), Sentry tracks your software performance, measuring metrics like throughput and latency, and displaying the impact of errors across multiple systems. Sentry captures distributed traces consisting of transactions and spans, which measure individual services and individual operations within those services. Learn more about our model in [Distributed Tracing](/product/sentry-basics/tracing/distributed-tracing/).
1028

1129
<Alert>

docs/platforms/javascript/common/ai-agent-monitoring/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,24 @@ supported:
3131

3232
With <Link to="/ai/monitoring/agents/dashboard/">Sentry AI Agent Monitoring</Link>, you can monitor and debug your AI systems with full-stack context. You'll be able to track key insights like token usage, latency, tool usage, and error rates. AI Agent Monitoring data will be fully connected to your other Sentry data like logs, errors, and traces.
3333

34+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
35+
36+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up AI Agent Monitoring in your application.
37+
38+
### Install Skills
39+
40+
```bash {tabTitle: dotagents}
41+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-ai-monitoring
42+
```
43+
44+
```bash {tabTitle: npx skills}
45+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-ai-monitoring
46+
```
47+
48+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
49+
50+
</Expandable>
51+
3452
## Prerequisites
3553

3654
Before setting up AI Agent Monitoring, ensure you have <PlatformLink to="/tracing/">tracing enabled</PlatformLink> in your Sentry configuration.

docs/platforms/javascript/common/metrics/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ notSupported:
1010
- javascript.capacitor
1111
---
1212

13+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
14+
15+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up metrics in your application.
16+
17+
### Install Skills
18+
19+
```bash {tabTitle: dotagents}
20+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-metrics
21+
```
22+
23+
```bash {tabTitle: npx skills}
24+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-metrics
25+
```
26+
27+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
28+
29+
</Expandable>
30+
1331
With [Sentry Metrics](/product/explore/metrics/), you can send counters, gauges, and distributions from your applications to Sentry. Once in Sentry, these metrics can be viewed alongside relevant errors, and searched using their individual attributes.
1432

1533
<Alert>

docs/platforms/javascript/common/tracing/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ sidebar_order: 6
66
sidebar_section: features
77
---
88

9+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
10+
11+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up tracing in your application.
12+
13+
### Install Skills
14+
15+
```bash {tabTitle: dotagents}
16+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-tracing
17+
```
18+
19+
```bash {tabTitle: npx skills}
20+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-tracing
21+
```
22+
23+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
24+
25+
</Expandable>
26+
927
With [tracing](/product/insights/overview/), Sentry automatically tracks your software performance across your application services, measuring metrics like throughput and latency, and displaying the impact of errors across multiple systems.
1028

1129
<PlatformCategorySection supported={["server", "serverless"]}>

docs/platforms/javascript/guides/nextjs/logs/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ sidebar_section: features
77
new: true
88
---
99

10+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
11+
12+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up logging in your Next.js application.
13+
14+
### Install Skills
15+
16+
```bash {tabTitle: dotagents}
17+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-logging
18+
```
19+
20+
```bash {tabTitle: npx skills}
21+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-logging
22+
```
23+
24+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
25+
26+
</Expandable>
27+
1028
Sentry Logs let you send structured log data from your Next.js application. Unlike traditional string-based logging, structured logs include queryable attributes that help you debug issues faster by filtering on specific users, orders, or any business context you include.
1129

1230
## Setup

docs/platforms/javascript/guides/nextjs/tracing/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ sidebar_order: 5
66
sidebar_section: features
77
---
88

9+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
10+
11+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up tracing in your Next.js application.
12+
13+
### Install Skills
14+
15+
```bash {tabTitle: dotagents}
16+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-tracing
17+
```
18+
19+
```bash {tabTitle: npx skills}
20+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-tracing
21+
```
22+
23+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
24+
25+
</Expandable>
26+
927
Tracing captures the timing and flow of requests through your Next.js application. Learn more about [tracing](/concepts/key-terms/tracing/) and how Sentry uses traces to track performance across services.
1028

1129
Sentry automatically instruments most operations, but Server Actions require manual setup.

docs/platforms/python/integrations/openai-agents/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@ The support for **OpenAI Agents SDK** is in its beta phase. Please test locally
1212
This integration connects Sentry with the [OpenAI Python SDK](https://openai.github.io/openai-agents-python/).
1313
The integration has been confirmed to work with OpenAI Agents version 0.0.19.
1414

15+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
16+
17+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up AI Agent Monitoring in your Python application.
18+
19+
### Install Skills
20+
21+
```bash {tabTitle: dotagents}
22+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-ai-monitoring
23+
```
24+
25+
```bash {tabTitle: npx skills}
26+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-ai-monitoring
27+
```
28+
29+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
30+
31+
</Expandable>
32+
1533
Once you've installed this SDK, you can use [Sentry AI Agents Insights](https://sentry.io/orgredirect/organizations/:orgslug/insights/ai/agents/), a Sentry dashboard that helps you understand what's going on with your AI agents.
1634

1735
Sentry AI Agents monitoring will automatically collect information about agents, tools, prompts, tokens, and models.

docs/platforms/python/logs/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ sidebar_section: features
77
new: true
88
---
99

10+
<Expandable title="Sentry Agent Skills" copy="Copy Install Command" hideFromMd={true}>
11+
12+
Install Sentry's [agent skills](/ai/agent-skills/) to teach your AI coding assistant how to set up logging in your Python application.
13+
14+
### Install Skills
15+
16+
```bash {tabTitle: dotagents}
17+
npx @sentry/dotagents add getsentry/sentry-agent-skills --name sentry-setup-logging
18+
```
19+
20+
```bash {tabTitle: npx skills}
21+
npx skills add getsentry/sentry-agent-skills --skill sentry-setup-logging
22+
```
23+
24+
See the [full list of available skills](https://skills.sh/getsentry/sentry-agent-skills) and [installation docs](/ai/agent-skills/) for more details.
25+
26+
</Expandable>
27+
1028
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
1129

1230
## Requirements

0 commit comments

Comments
 (0)