contributors
This guide explains how to enable AI tools to better understand Ant Design.
We support LLMs.txt files for making the Ant Design documentation available to large language models (LLMs). This feature helps AI tools better understand our component library, its APIs, and usage patterns.
We provide several aggregated files to help AI tools access our documentation:
| File | Description |
|---|---|
| llms.txt | Navigation file with links to all documentation and components |
| llms-full.txt | Complete component documentation (English) with implementation details and examples |
| llms-full-cn.txt | Complete component documentation (Chinese) |
| llms-semantic.md | Semantic component descriptions (English) with DOM structure and usage patterns |
| llms-semantic-cn.md | Semantic component descriptions (Chinese) |
Access individual component documentation with .md suffix:
https://ant.design/components/button.md (English)https://ant.design/components/button-cn.md (Chinese)Each component has a semantic description file:
https://ant.design/components/button/semantic.md (English)https://ant.design/components/button-cn/semantic.md (Chinese)Semantic documentation includes:
| Tool | Description | Prompt |
|---|---|---|
| Cursor | Use @Docs feature to include LLMs.txt, or add prompt to .cursor/rules. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Windsurf | Add prompt to .windsurf/rules or use cascade memories. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Claude Code | Add to CLAUDE.md or use /memory to persist. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Codex | Add to .codex/settings.json or AGENTS.md. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Gemini CLI | Use --context parameter or add to .gemini/config.json. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Trae | Add to project's knowledge sources in settings. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Qoder | Add to .qoder/config.yml or use @docs in conversation. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |
| Neovate Code | Run neovate and describe task with prompt. Documentation | Read https://ant.design/llms-full.txt and understand Ant Design components. Use this knowledge when writing code with Ant Design. |