Astro · AI Readiness
llms.txt in Astro
Publish AI crawler guidance describing your organization and canonical resources. Framework notes for Astro.
Problem Overview
AI assistants and emerging crawlers often lack a dedicated guidance file for your brand. Without llms.txt, they guess from scattered pages.
Why It Matters
A well-structured llms.txt documents organization, summary, products, and preferred URLs — improving AI Readiness and reducing hallucinated links.
Framework-Specific Explanation
For Astro, add public/llms.txt for a static /llms.txt URL. MoneyGap CLI defaults to writing public/llms.txt for static serving.
Step-by-Step Solution
- Run
moneygap generate llms(or create the file in the dashboard AI Readiness flow). - Fill Organization, Summary, and Important URLs with absolute https links.
- Deploy so
GET /llms.txtreturns the file. - Run
moneygap validate llmsand fix errors.
Code Examples
moneygap generate llms --out public/llms.txt
moneygap validate llms
moneygap scanCommon Mistakes
- Empty or placeholder-only files
- Relative URLs instead of absolute
https://links - Missing Organization / Summary / Important URLs sections
- Never updating after product changes
Validation Checklist
- [ ] File served at
/llms.txt(orpublic/llms.txtin static apps) - [ ] Required sections present with real content
- [ ] Absolute https URLs for key resources
- [ ] Passes
moneygap validate llms
AI Readiness Notes
llms.txt is a first-class AI Readiness signal in MoneyGap. Pair it with Organization and FAQ schema for stronger entity clarity.
Deployment Checklist
- [ ]
/llms.txtreturns 200 withtext/plain(or markdown) - [ ] Validation score ≥ 70
- [ ] Update Information section refreshed on release
Browser Extension Tips
After go-live, share a report and point teammates to AI Readiness if the score is low.