LLMs.txt

This guide explains how to enable AI tools to better understand NG-ZORRO.

What is LLMs.txt?#

We support LLMs.txt files for making the NG-ZORRO documentation available to large language models (LLMs). This feature helps AI tools better understand our component library, its APIs, and usage patterns.

Available Resources#

LLMs.txt Aggregated Files#

We provide several aggregated files to help AI tools access our documentation:

FileDescription
llms.txtNavigation file with links to all documentation and components
llms-full.txtComplete component documentation (English) with implementation details and examples
llms-full-cn.txtComplete component documentation (Chinese)

Single Component Documentation#

Access individual component documentation with .md suffix:

  • https://ng.ant.design/components/button.en.md (English)
  • https://ng.ant.design/components/button.cn.md (Chinese)

Usage with AI Tools#

ToolDescriptionPrompt
CursorUse @Docs feature to include LLMs.txt, or add prompt to .cursor/rules. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
WindsurfAdd prompt to .windsurf/rules or use cascade memories. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
Claude CodeAdd to CLAUDE.md or use /memory to persist. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
GitHub CopilotAdd to .github/copilot-instructions.md. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
CodexAdd to .codex/settings.json or AGENTS.md. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
Gemini CLIUse --context parameter or add to .gemini/config.json. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
TraeAdd to project's knowledge sources in settings. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
QoderAdd to .qoder/config.yml or use @docs in conversation. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.
Neovate CodeRun neovate and describe task with prompt. DocumentationRead https://ng.ant.design/llms-full.txt and understand NG-ZORRO components. Use this knowledge when writing code with NG-ZORRO.