Commit c1769a3
feat: Redesign Agent Skills callout with copy-prompt UX (#16684)
## Redesign Agent Skills Callout
Replaces the old Expandable-based "Sentry Agent Skills" callout with a
new AgentSkillsCallout component across all platform docs.
### New design
<img width="1140" height="159" alt="image"
src="https://github.com/user-attachments/assets/f6b61e07-4411-447f-80b6-28be3e88f4e1"
/>
- "Agent-Assisted Setup" card with "Recommended" badge
- One-line prompt users copy directly into their coding agent (points to
skills.sentry.gg short URLs)
- Collapsed by default with expandable section for full skills package
installation
- Uses existing CodeTabs/CodeBlock components for the install commands
(dotagents / npx skills tabs)
- Purple color scheme with light/dark mode support
### How it works
The component takes just two props — everything else is derived
internally:
- `skill` → generates prompt URL, dotagents --name, npx skills --skill
- `platformName` → used in description text
- No children needed — install commands with CodeTabs rendered
internally
### Changes
- New AgentSkillsCallout component (src/components/agentSkillsCallout/)
- Replaced all 23 old Expandable-based agent skills callouts
- Updated repo references from sentry-agent-skills to sentry-for-ai
- All prompt URLs point to skills.sentry.gg/{skill}/SKILL.md
- Added .yarn/install-state.gz to .gitignore
### Platforms covered
| Platform | Skill |
|----------|-------|
| Next.js | sentry-nextjs-sdk |
| Node.js | sentry-node-sdk |
| React | sentry-react-sdk |
| Python | sentry-python-sdk |
| .NET | sentry-dotnet-sdk |
| Ruby | sentry-ruby-sdk |
| AI monitoring | sentry-setup-ai-monitoring |
| Generic/default | (none — skills.sentry.gg/) |
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>1 parent 528b5da commit c1769a3
File tree
37 files changed
+389
-392
lines changed- docs/platforms
- android
- dart
- common
- guides/flutter
- dotnet/common
- logs
- metrics
- tracing
- go/common
- javascript
- common
- ai-agent-monitoring
- metrics
- tracing
- guides
- nestjs
- nextjs
- logs
- tracing
- sveltekit
- svelte
- php
- python
- integrations/openai-agents
- logs
- metrics
- tracing
- instrumentation/custom-instrumentation
- react-native
- ruby
- common
- metrics
- tracing
- logs
- includes
- platform-includes
- llm-rules-logs
- llm-rules-platform
- src
- components/agentSkillsCallout
37 files changed
+389
-392
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 15 | + | |
32 | 16 | | |
33 | 17 | | |
34 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 10 | + | |
27 | 11 | | |
28 | 12 | | |
29 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 9 | + | |
26 | 10 | | |
27 | 11 | | |
28 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
Lines changed: 2 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 34 | + | |
51 | 35 | | |
52 | 36 | | |
53 | 37 | | |
| |||
171 | 155 | | |
172 | 156 | | |
173 | 157 | | |
174 | | - | |
| 158 | + | |
175 | 159 | | |
176 | 160 | | |
177 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 13 | + | |
30 | 14 | | |
31 | 15 | | |
32 | 16 | | |
| |||
0 commit comments