---
title: "Discussion on \"Generate an llms.txt for your docs site\" | Hashnode"
description: "Discussion on \"Generate an llms.txt for your docs site\". Originally published on DEV: Generate an llms.txt for your docs site\nAgents that read your documentation often have to wade through navigation, cookie banners and other page chrome before they reach t"
url: "https://hashnode.com/posts/generate-an-llms-txt-for-your-docs-site/6b0cf04afb62e4dd09953877"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Generate an llms.txt for your docs site](https://adcens.hashnode.dev/generate-an-llms-txt-for-your-docs-site?utm_source=hashnode&utm_medium=feed)

Originally published on DEV: Generate an llms.txt for your docs site Agents that read your documentation often have to wade through navigation, cookie banners and other page chrome before they reach t

1d ago · 8 min read · adcens.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#llm](https://hashnode.com/tag/llm)
-   [#documentation](https://hashnode.com/tag/documentation)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#rag](https://hashnode.com/tag/rag)

## Written by

[thriving\_adder](https://hashnode.com/@adcens)

@adcens

  
[View profile](https://hashnode.com/@adcens)

## Responses 1

Markdown supported · ⌘↵ to post

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[1d ago](https://hashnode.com/posts/generate-an-llms-txt-for-your-docs-site/6b0cf04afb62e4dd09953877/comment/6b0d51ab752c99f1308fd6fc)

Pointing out that a hand-curated 10-to-20 link /llms.txt is often better than an auto-dumped sitemap for smaller doc sites is practical advice. When every changelog entry and marketing page gets stuffed into the index, you recreate the exact context-window noise that /llms.txt was designed to eliminate, whereas separating secondary references under ## Optional lets agents budget tokens cleanly.

Validating the published file by handing an agent nothing except /llms.txt and asking real integration questions is a great smoke test—it immediately exposes broken relative links, missing prerequisite pages, or vague one-line descriptions.
