LLMs.txt
Xaui exposes machine-readable documentation so AI assistants can understand the library and generate accurate component code.
llms.txt
Index of all components — one link per component.
SKILL.md
The agent skill — the API rules plus the component index.
What is llms.txt?
llmstxt.org is an open standard that helps AI assistants discover and consume documentation. A short index file at /llms.txt links to per-component markdown files that LLMs fetch on demand.
This lets tools like Claude, Cursor, or Copilot understand the exact API surface of each component and generate accurate, idiomatic code without hallucinating prop names.
Usage in Claude Code
Paste this into a system prompt or project instructions:
Refer to https://ui.xtartapp.com/llms.txt for the XAUI component library.Fetch the linked markdown files to get props and examples before generating code.
Claude Code and the other coding agents can also install the skill file — see Agent skills.
Usage in Cursor
Add the following to .cursorrules or your Cursor docs index:
@docs https://ui.xtartapp.com/llms.txt