{"slug":"llms-txt","title":"LLMs.txt","description":"How to get tools like Cursor, Windstatic, GitHub Copilot, ChatGPT, and Claude to understand Zag JS.","contentType":"overview","content":"## What is LLMs.txt?\n\nWe support [LLMs.txt](https://llmstxt.org/) files for making the Zag JS\ndocumentation available to large language models (LLMs). This feature helps AI\ntools better understand our component library, its APIs, and usage patterns.\n\n## Available Routes\n\nWe provide several LLMs.txt routes to help AI tools access our documentation:\n\n- <LLMsTxtLink href=\"/llms.txt\" /> - Contains a structured overview of all\n  components and their documentation links\n- <LLMsTxtLink href=\"/llms-full.txt\" /> - Provides comprehensive documentation\n  including implementation details and examples\n- <LLMsTxtLink href=\"/llms-react.txt\" /> - React-specific documentation and\n  implementation details\n- <LLMsTxtLink href=\"/llms-solid.txt\" /> - SolidJS-specific documentation and\n  implementation details\n- <LLMsTxtLink href=\"/llms-vue.txt\" /> - Vue-specific documentation and\n  implementation details\n- <LLMsTxtLink href=\"/llms-svelte.txt\" /> - Svelte-specific documentation and\n  implementation details\n\n## Usage with AI Tools\n\n### Cursor\n\nUse the `@Docs` feature in Cursor to include the LLMs.txt files in your project.\nThis helps Cursor provide more accurate code suggestions and documentation for\nZag JS components.\n\n[Read more about @Docs in Cursor](https://docs.cursor.com/context/@-symbols/@-docs)\n\n### Windstatic\n\nReference the LLMs.txt files using `@` or in your `.windsurfrules` files to\nenhance Windstatic's understanding of Zag JS components.\n\n[Read more about Windstatic Memories](https://docs.codeium.com/windsurf/memories#memories-and-rules)\n\n### Other AI Tools\n\nAny AI tool that supports LLMs.txt can use these routes to better understand Zag\nJS. Simply point your tool to any of the routes above based on your framework of\nchoice.","editUrl":"https://github.com/chakra-ui/zag/edit/main/website/data/overview/llms-txt.mdx"}