docs.nestjs.com icon indicating copy to clipboard operation
docs.nestjs.com copied to clipboard

Add support of llms.txt

Open k3nsei opened this issue 6 months ago • 3 comments

I’d like to propose adding support for llms.txt to the NestJS documentation. This would help facilitate usage and indexing of the NestJS Docs by language models and AI systems. To help "AI" learn how to work with NestJS codebase.

Good example how to do it properly is Svelte project https://svelte.dev/docs/llms

k3nsei avatar Jun 18 '25 10:06 k3nsei

do you know any resources that would help us to create and update those files easily?

micalevisk avatar Jun 28 '25 15:06 micalevisk

@micalevisk as content is already stored as markdown documents. Maybe simplest thing would be to have dedicated url that is not serving html but this markdown content directly, maybe with some additional headers and links.

k3nsei avatar Jun 30 '25 08:06 k3nsei

@micalevisk I'd suggest taking the approach of having best-practices.md file like in Angular https://angular.dev/ai/develop-with-ai It makes a huge difference to have that context fed directly into the LLM when you're working with files.

serbanghita avatar Sep 22 '25 08:09 serbanghita