Building llms.txt as an Astro endpoint so it never goes stale
A static llms.txt is a list you forget to update. An endpoint that queries your content collections rebuilds the index on every deploy. One gotcha: a file in public/ silently shadows it.
draft: true in frontmatter does nothing unless you filter for it
Astro Content Collections don't hide draft posts automatically. Forgetting the filter on index and slug pages means drafts are publicly live.
Merging a small content collection into a bigger one beats a separate one
TIL posts lived in their own Astro content collection. Folding them into the blog collection as a category field fixed SEO and cut duplicate logic.