Skip to content

ref(skills): retire sentry-setup-ai-monitoring into sentry-instrument#286

Open
evanpurkhiser wants to merge 1 commit into
mainfrom
evanpurkhiser/ref-skills-retire-sentry-setup-ai-monitoring-into-sentry-instrument
Open

ref(skills): retire sentry-setup-ai-monitoring into sentry-instrument#286
evanpurkhiser wants to merge 1 commit into
mainfrom
evanpurkhiser/ref-skills-retire-sentry-setup-ai-monitoring-into-sentry-instrument

Conversation

@evanpurkhiser

Copy link
Copy Markdown
Member

Follow-up to #285. AI/LLM monitoring is a signal, and sentry-instrument already wires it up per platform from the reference library. Now that #285 landed the shared concepts/ai-monitoring.md as the canonical home for the cross-cutting rules (the gen_ai.* model, conversation-ID format, token/cost accounting, and PII/sampling strategy), the standalone sentry-setup-ai-monitoring skill is fully absorbed and safe to remove.

This drops the skill, its entry and AI wording in the sentry-feature-setup router, and the README/AGENTS listings, then regenerates SKILL_TREE.md. The sentry-instrument description gains the provider names (OpenAI, Anthropic, Vercel AI, LangChain, Google GenAI) so intent-matching stays as sharp as the retired skill's description.

Verified build-skill-tree.sh --check passes and hydration produces no warnings. Note: this and #283 both regenerate SKILL_TREE.md, so whichever merges second will need a trivial regen of that generated file.

AI/LLM monitoring is a signal, and sentry-instrument already wires it up per
platform from the reference library. With the shared concepts/ai-monitoring.md
now in place (#285) as the canonical home for the cross-cutting rules —
gen_ai.* model, conversation-ID format, token/cost accounting, PII and sampling
strategy — the standalone skill is fully absorbed.

Remove sentry-setup-ai-monitoring: drop the skill, its entry and AI wording in
the sentry-feature-setup router, and the README/AGENTS listings, then regenerate
SKILL_TREE.md.
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-skills-retire-sentry-setup-ai-monitoring-into-sentry-instrument branch from 9bb26ce to b7d2950 Compare July 13, 2026 19:13
Comment thread src/SKILL_TREE.md
@@ -49,5 +49,4 @@ Configure specific Sentry capabilities beyond basic SDK setup.
|---|---|
| Create Sentry alerts using the workflow engine API | [`sentry-create-alert`](skills/sentry-create-alert/SKILL.md) |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The PR removes the sentry-setup-ai-monitoring skill, but legacy skill files in skills-legacy/ still contain broken references to it and its deleted sampling.md guide.
Severity: MEDIUM

Suggested Fix

Update the files in the skills-legacy/ directory to remove or replace the references to the deleted sentry-setup-ai-monitoring skill and its associated sampling.md file. Either point them to the new, correct skill and documentation or remove the feature reference if it's no longer supported in the legacy context. Consider adding the skills-legacy/ directory to the build validation script to prevent future issues.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: src/SKILL_TREE.md#L50

Potential issue: The pull request retires the `sentry-setup-ai-monitoring` skill but
fails to update references in several legacy skill files located in the `skills-legacy/`
directory. Specifically, files like `skills-legacy/sentry-node-sdk/SKILL.md` and
`skills-legacy/sentry-instrumentation-guide/SKILL.md` still direct users to load the
now-deleted skill. Additionally, multiple legacy `ai-monitoring.md` reference files
contain broken links to a deleted `sampling.md` guide. Because the build validation
script ignores the `skills-legacy/` directory, these broken references were not caught,
which will lead to user confusion, routing failures, and 404 errors for users accessing
this legacy documentation.

Also affects:

  • skills-legacy/sentry-python-sdk/references/ai-monitoring.md:312
  • skills-legacy/sentry-node-sdk/references/ai-monitoring.md:229
  • skills-legacy/sentry-nextjs-sdk/references/ai-monitoring.md:421
  • skills-legacy/sentry-nestjs-sdk/references/ai-monitoring.md:336
  • skills-legacy/sentry-node-sdk/SKILL.md:680
  • skills-legacy/sentry-instrumentation-guide/SKILL.md:125

Did we get this right? 👍 / 👎 to inform future reviews.

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.

1 participant