Publish canonical toolkit URLs in llms.txt#1067
Closed
jottakka wants to merge 2 commits into
Closed
Conversation
Expand generated toolkit routes into grouped concrete URLs and keep the publishing workflow idempotent to prevent regeneration loops. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Dependency
Depends on #1065 for canonical generated routes.
Test plan
pnpm exec vitest run tests/llmstxt.test.tsFollow-up artifact
public/llms.txtis intentionally left to the automated generation workflow after this behavior lands; the version in #1060 contains pre-existing trailing whitespace and should not be hand-carried into a source PR.Note
Low Risk
Changes affect docs indexing and automation only; no runtime auth or product API behavior.
Overview
llms.txtgeneration now includes concrete integration toolkit pages (fromlistToolkitRoutes/ toolkit JSON) with category-grouped sections, instead of dynamic[toolkitId]MDX routes. Toolkit entries reuse on-disk summary/description so OpenAI runs only when authored MDX pages need new summaries.The generator writes
public/llms.txtonly when the body changes (metadata-only diffs no longer trigger commits), and the Agentic development doc is updated to point agents at/llms.txtand Copy page Markdown rather than automatic HTML→markdown byUser-Agent.CI (
llmstxt.yml) also runs on toolkit data changes, uses full git history (fetch-depth: 0), and skips fork PRs to avoid failed write attempts.Reviewed by Cursor Bugbot for commit f7aa2f0. Bugbot is set up for automated code reviews on this repo. Configure here.