fix(ai): point agent setup prompts at docs markdown URLs - #18897
Draft
sentry-junior[bot] wants to merge 3 commits into
Draft
fix(ai): point agent setup prompts at docs markdown URLs#18897sentry-junior[bot] wants to merge 3 commits into
sentry-junior[bot] wants to merge 3 commits into
Conversation
Replace skills.sentry.dev references in onboarding callouts, llms.txt generation, and agent routing docs with docs.sentry.io markdown URLs. Co-Authored-By: David Cramer <david@sentry.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Point streamed-spans agent-assisted migration prompts at docs.sentry.io markdown pages instead of sentry-for-ai skill files. Co-Authored-By: Daniel Griesser <dgriesser@sentry.io>
Lms24
reviewed
Jul 31, 2026
|
|
||
| ```txt | ||
| Use curl to download, read and follow https://raw.githubusercontent.com/getsentry/sentry-for-ai/refs/heads/main/skills-legacy/sentry-span-streaming-js/SKILL.md to enable and migrate to span streaming in the Sentry SDK. | ||
| Read and follow https://docs.sentry.io/platforms/javascript/tracing/streamed-spans.md to enable and migrate to span streaming in the Sentry SDK. |
Member
There was a problem hiding this comment.
I opened #18906 which replaces the hard-coded URL here with a dynamic one, depending on which sub-guide users are looking at this page (e.g. Node, Express, NextJS, React). This ensures that any differences in this page depending on the selected framework/guide are in the docs, agents will use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stop using
skills.sentry.devin agent/onboarding setup prompts. Point agents at docs markdown URLs instead (docs.sentry.io/...md).Changes
AgentSetupCallout/CopyPromptButtonnow build prompts from the current page path or platform docs URLllms.txtgeneration no longer advertises skills.sentry.dev; it points to docs markdown + plugin installSKILL.md/AGENTS.mdrouting guidance accordinglyExample prompt now:
Test plan
AgentSetupCallout, confirm the displayed/copied prompt uses that page's docs.mdURLscripts/generate-llms-txt.mjshas noskills.sentry.devreferencesNotes
dcramer/ai-setup-use-docs-urlsskillprop is retained on callouts for existing analytics onlyRequested by David Cramer via Junior.
--
View Junior Session