Skip to content

Replace "AI Code Editor" sections to use Sentry Agent Skills#16575

Merged
codyde merged 4 commits intomasterfrom
refactor/ai-rules-to-agent-skills
Feb 25, 2026
Merged

Replace "AI Code Editor" sections to use Sentry Agent Skills#16575
codyde merged 4 commits intomasterfrom
refactor/ai-rules-to-agent-skills

Conversation

@codyde
Copy link
Contributor

@codyde codyde commented Feb 25, 2026

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:
  • 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

Co-Authored-By: Claude noreply@anthropic.com

Replace copy-paste code snippet rules with agent skill install guidance
across SDK documentation pages. Instead of providing static markdown
rules files, users are now directed to install skills from
getsentry/sentry-agent-skills via dotagents or npx skills.

- Replace llm-rules-platform code snippets (JS, React, Next.js, Node.js)
  with concise agent skills expandables
- Replace llm-rules-logs code snippets with sentry-setup-logging skill
- Add sentry-setup-tracing skill to all tracing setup pages
- Add sentry-setup-logging skill to all logs setup pages
- Add sentry-setup-metrics skill to all metrics setup pages
- Add sentry-setup-ai-monitoring skill to AI agent monitoring pages
- Covers JavaScript, Python, Ruby, and .NET platforms

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Feb 25, 2026 5:48am
sentry-docs Ready Ready Preview, Comment Feb 25, 2026 5:48am

Request Review

@codeowner-assignment codeowner-assignment bot requested a review from a team February 25, 2026 05:13
@codyde codyde removed the request for review from a team February 25, 2026 05:14
Extend the Expandable component to support custom copy button labels
via string values for the `copy` prop. When a string is provided:
- The button displays the custom label instead of "Copy Rules"
- Clicking copies only the first (primary) code block
- The section expands to show what was copied

All agent skills expandables now show a "Copy Install" button that
copies the dotagents install command and expands the section.

Co-Authored-By: Claude <noreply@anthropic.com>
@codeowner-assignment codeowner-assignment bot requested a review from a team February 25, 2026 05:32
codyde and others added 2 commits February 24, 2026 21:34
Co-Authored-By: Claude <noreply@anthropic.com>
Reference the specific skill instead of --all so users install only
the AI monitoring skill from the relevant documentation pages.

Co-Authored-By: Claude <noreply@anthropic.com>
@codyde codyde changed the title Refactor AI code editor rules to use Sentry Agent Skills Replace rules to use Sentry Agent Skills Feb 25, 2026
@codyde codyde changed the title Replace rules to use Sentry Agent Skills Replace "AI Code Editor" sections to use Sentry Agent Skills Feb 25, 2026
@codyde codyde requested review from a team, coolguyzone and jaffrepaul and removed request for a team February 25, 2026 05:40
Copy link
Contributor

@sfanahata sfanahata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@codyde codyde merged commit 859fb0c into master Feb 25, 2026
19 checks passed
@codyde codyde deleted the refactor/ai-rules-to-agent-skills branch February 25, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants