Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR replaces the previously auto-generated llms.txt with a curated, hand-authored index and introduces a new llms-full-guide.txt intended as an agent-oriented quick reference, while updating build and middleware plumbing to publish/serve the new files.
Changes:
- Add curated root
llms.txtand newllms-full-guide.txtcontent file. - Update generation/build flow to copy hand-written LLM files into the output directory (with fallback logic implemented in the generator script).
- Update middleware + AI landing page links and extend
.gitignorefor generated/static LLM artifacts.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| middleware/llmsFiles.ts | Serves the new /llms-full-guide.txt with the correct content-type. |
| llms.txt | Adds curated top-level LLM index pointing to key doc sections and LLM artifacts. |
| llms-full-guide.txt | Adds a self-contained “quick reference” guide for agents (CLI, perms, config, examples). |
| generate_llms_files.ts | Adds copyHandwrittenFile() and uses it to copy curated files (with fallback generation for llms.txt). |
| ai/index.md | Updates “Key resources” and usage guidance to include the curated index + new guide. |
| _config.ts | Updates build step to copy curated files into the site output during FULL builds. |
| .gitignore | Ignores additional generated LLM artifacts under static/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Replace auto-generated llms.txt with a hand-written curated index and add llms-full-guide.txt as an agent-oriented quick reference.
Both files are copied to the output directory at build time, with fallback to auto-generation for llms.txt. Updates middleware to serve the new file and fixes missing .gitignore entries.