Platform recipe
Next.js llms.txt recipe
For a Next.js site, publish llms.txt as a static root file and make sure the linked source pages are crawlable HTML with stable canonical URLs.
Best pages to include
- Product overview, docs, pricing, security, changelog, and support pages.
- Comparison pages with clear scope and factual claims.
- Developer docs, API references, or integration examples.
- Legal and policy pages when they affect answers about the product.
Starter file
# Product Name
> Product Name helps [audience] accomplish [specific outcome].
## Summary
This Next.js site publishes product information, documentation, pricing, security notes, changelog entries, and support policies.
## Primary Pages
- [Product overview](https://example.com/product): What the product does and who it serves.
- [Docs](https://example.com/docs): Setup, usage, and implementation details.
- [Pricing](https://example.com/pricing): Plans, limits, and billing rules.
- [Changelog](https://example.com/changelog): Product updates and breaking changes.
Do not rely on client-rendered content for core claims. Put the source material in HTML that crawlers can fetch and parse.