# For AI > AstrolUI documentation for AI: llms.txt, llms-full.txt and every page in Markdown with its real code, so Claude, Copilot or Cursor write correct AstrolUI code. Source page: https://doc.astrolui.com/for-ai The documentation in Markdown for AI assistants (llms.txt). AI assistants (Claude Code, GitHub Copilot, Cursor, ChatGPT...) don't need to read the pages like a person: the menu, demos and styles only use up their context. That's why the documentation is also published in **Markdown**, following the [llms.txt](https://llmstxt.org) format: clean text, every component's parameters and the real example code (the same these docs run), in English. ## 1. Use it in your project Add these lines to your assistant's instructions file (Claude Code reads **CLAUDE.md**, GitHub Copilot **.github/copilot-instructions.md** and Cursor **.cursor/rules**). Then, when it writes AstrolUI code, it checks the documentation instead of making up parameters. In a chat you can also paste the **llms-full.txt** link or the component page link. ```html ## AstrolUI This project uses AstrolUI (Blazor, .NET 10). Before writing UI code, read https://doc.astrolui.com/llms.txt and open the page of each component you use (https://doc.astrolui.com/ai/.txt). For code written for older AstrolUI versions follow https://doc.astrolui.com/ai/migration.txt ``` ## 2. From every page At the bottom of every page there is a **Markdown for AI** link that opens the same page in AI format. ## 3. How it is kept up to date The files are generated from the pages' texts and code, so nothing is written twice. After changing the docs, regenerate them: ```bash python 2-Shared/tools/docs_ai_export.py # llms.txt, llms-full.txt and wwwroot/ai/*.txt python 2-Shared/tools/docs_search_index.py # search index of these docs ```