shadcn-svelte icon indicating copy to clipboard operation
shadcn-svelte copied to clipboard

Make documentation available to LLMs by using llms.txt convention

Open YugoCode opened this issue 11 months ago • 7 comments

Describe the feature

It would be great to enable tools like Cursor to leverage shadcn-svelte’s documentation for generating more accurate and useful code. The Svelte team recently introduced support for LLMs (see https://svelte.dev/docs/llms) by adopting the llms.txt convention (https://llmstxt.org/), which allows LLM tools to parse documentation effectively. It would be awesome if shadcn-svelte could adopt this convention and ensure the llms.txt file stays updated whenever the documentation changes.

YugoCode avatar Dec 19 '24 22:12 YugoCode

or like https://svelte-llm.khromov.se/

good-dev-student avatar Dec 30 '24 09:12 good-dev-student

or like : https://llmctx.com/

good-dev-student avatar Dec 30 '24 09:12 good-dev-student

here can use: https://llmctx.com/shadcn-svelte idk if @huntabyte have plan to create an automated on in hist main svelte-shadcn website

good-dev-student avatar Dec 30 '24 09:12 good-dev-student

Yeah, it's definitely in the plans once I get this stable release out. I'll remove all the extra components that I use in the markdown that aren't relevant and such.

huntabyte avatar Dec 31 '24 02:12 huntabyte

This would be super nice!

p-arndt avatar Mar 11 '25 23:03 p-arndt

Any update on this? This would be amazing.

xpluscal avatar Apr 14 '25 07:04 xpluscal

Yeah, it's definitely in the plans once I get this stable release out. I'll remove all the extra components that I use in the markdown that aren't relevant and such.

Would you be willing to accept a PR if I implement this?

gideongrinberg avatar Apr 26 '25 00:04 gideongrinberg

@huntabyte now that shadcn-svelte@next is released with tailwindcss 4 and svelte 5 maybe working on this ? Would love to see this feature.

p-arndt avatar May 22 '25 19:05 p-arndt

I would be willing to accept a PR but this is low on the priority pole for me at the moment.

huntabyte avatar May 22 '25 20:05 huntabyte