refactor: remove redundant generated files from repo#50
Merged
Conversation
After the Astro migration, llms.txt, llms-full.txt, agent.json, and
ai-plugin.json are generated by Astro page routes at build time. The
committed copies in public/ were duplicates that caused merge conflicts
on every PR touching a SKILL.md.
- Delete scripts/generate-{skills,llms,llms-full,agent-json}.js
(replaced by Astro pages and src/data/skills.ts)
- Remove public/llms.txt, llms-full.txt, .well-known/agent.json,
.well-known/ai-plugin.json from git
- Add public/ generated paths to .gitignore
- Simplify npm run generate to only update README skills table
- Update CI to check README.md freshness instead of public/
- Update CLAUDE.md and CONTRIBUTING.md
This was referenced Feb 27, 2026
JoshDFN
approved these changes
Feb 27, 2026
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
The Astro migration (#39) introduced page routes that generate
llms.txt,llms-full.txt,agent.json, andai-plugin.jsonat build time. This made the previously committed copies inpublic/and their standalone generation scripts redundant. Every PR touching a SKILL.md had to regenerate and commit these files, causing merge conflicts.generate-skills.js,generate-llms.js,generate-llms-full.js,generate-agent-json.js— all replaced by Astro pages insrc/pages/and the build-time loader insrc/data/skills.tspublic/llms.txt,public/llms-full.txt,public/.well-known/agent.json,public/.well-known/ai-plugin.jsonnpm run generateto only rungenerate-readme-table.js(the only remaining script that writes to a committed file)README.mdfreshness instead ofpublic/Zero impact on the deployed site — all URLs (
/llms.txt,/.well-known/agent.json, etc.) continue to work via Astro page routes.