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 format: clean text, every component's parameters and the real example code (the same these docs run), in English.
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.
<!-- Claude Code: CLAUDE.md · GitHub Copilot: .github/copilot-instructions.md · Cursor: .cursor/rules/astrolui.mdc -->## AstrolUIThis project uses AstrolUI (Blazor, .NET 10). Before writing UI code, read https://doc.astrolui.com/llms.txtand open the page of each component you use (https://doc.astrolui.com/ai/<page>.txt).For code written for older AstrolUI versions follow https://doc.astrolui.com/ai/migration.txtA skill is a folder with instructions and documentation that Claude loads only when needed. The AstrolUI skill teaches it the installation, the components with their real parameters, theming, the extensions, the migration guide, the full icon catalog and SEO with Jazui, and tells it not to invent parameters. It is generated from these same docs, so it always matches the latest published version.
# Claude Code, for all your projects (Windows: %USERPROFILE%\.claude\skills)unzip astrolui.zip -d ~/.claude/skills/ # Or only for one project (commit it so the whole team has it)unzip astrolui.zip -d .claude/skills/ # Result: .claude/skills/astrolui/SKILL.md + references/*.mdClaude Code: unzip the file into ~/.claude/skills/ (for all your projects) or into the project's .claude/skills/ (and commit it so the whole team has it); Claude uses it automatically when working with AstrolUI. Claude (web and desktop): upload the .zip in the settings, under capabilities / skills. For other assistants (Copilot, Cursor...) use llms.txt as shown above. Download it again when you update the packages.
At the bottom of every page there is a Markdown for AI link that opens the same page in AI format.
The files are generated from the pages' texts and code, so nothing is written twice. After changing the docs, regenerate them:
python 2-Shared/tools/docs_ai_export.py # llms.txt, llms-full.txt and wwwroot/ai/*.txtpython 2-Shared/tools/docs_search_index.py # search index of these docspython 2-Shared/tools/build_skill.py # skill: wwwroot/skills/astrolui.zip (--install: ~/.claude/skills)