Add AI and Standard Sitemaps (llms.txt and sitemap.xml)#8
Conversation
- Create `public/llms.txt` to act as a markdown-based AI sitemap. - Add an automatic `sitemap.xml` generator via a `sitemap` pre-build script. - Hook sitemap generator into Vite `build` process via `npm run sitemap && vite build`. - Add `public/robots.txt` pointing to `sitemap.xml` to allow search engines and AI web crawlers to properly index routes.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Visit the preview URL for this PR (updated for commit cc3ca63): https://rexvelocity--pr8-add-sitemaps-5518159-rluipezf.web.app (expires Thu, 11 Jun 2026 18:57:52 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e6a8092b99a21a146aa2c15690bc80339a98e50d |
I've added two specific ways for an AI to explore and understand the site:
llms.txt: Created a static markdown filepublic/llms.txt. This is an emerging industry standard for AI web crawlers providing a clean, token-efficient summary of the site's structure, pages, and products.sitemap.xmlandrobots.txt: Added an automated XML sitemap generator script (scripts/generate-sitemap.ts) that runs directly before Vite builds the project. It maps the static routes (/,/shop, etc.) and automatically discovers the dynamic product IDs (fromsrc/data/products.ts) to maintain an up-to-date.xmloutput. I also provided a staticrobots.txtfile allowing crawlers like GPTBot to find this sitemap.PR created automatically by Jules for task 5518159283594563007 started by @TomGreener91