feat(LLMs): Added llms.txt and SKILL.md for better LLMs friendliness#17762
Merged
Conversation
added 2 commits
May 13, 2026 16:31
… that will be available publicly on the docs site. Create an new SKILL.md file that references our sentry-for-ai repo and our skills.sentry.dev site, and points to our AGENTS.md and other skill pages within the repo.
…te with the latest on Sentry.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 66baa53. Configure here.
sergical
approved these changes
May 14, 2026
Rewrote generate-llms-txt.mjs to produce both public/llms.txt and public/md-exports/index.md from the same content blocks and doctree walk. Removes md-overrides/index.mdx which had stale hardcoded content (Key Features list, product description) that drifted from the live site. Both files now share the same description, AI instructions, agent skills, and section listings. The only difference is platform/framework formatting: llms.txt uses compact inline format, index.md uses the expanded separate-sections layout.
The developer-docs build (NEXT_PUBLIC_DEVELOPER_DOCS=1) produces doctree-dev.json instead of doctree.json. Match the pattern used by generate-md-exports.mjs to select the right filename and origin URL.
Add null check to buildPlatformsCompact and buildPlatformsExpanded to prevent TypeError if the platforms node is missing or filtered out by isVisible.
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.

DESCRIBE YOUR PR
Preview: https://sentry-docs-git-feat-llms-txt-and-root-skill.sentry.dev/llms.txt
Why?
This will help LLMs have better guidance navigating our docs, as well as finding the appropriate skills and references for configuration. It will also help LLMs get the proper instructions on how to stay up to date with the latest about how Sentry works, including new features. It also directly points to https://skills.sentry.dev and the
sentry-for-airepo.IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
LEGAL BOILERPLATE
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
EXTRA RESOURCES