logoAnt Design

⌘ K
  • Design
  • Development
  • Components
  • Blog
  • Resources
5.28.0
  • Ant Design of React
  • React 19 Compatibility
    New
  • Changelog
    v5.28.0
  • AI
    • LLMs.txt
      New
  • Basic Usage
    • Getting Started
    • Usage with Vite
    • Usage with Next.js
      Updated
    • Usage with Umi
    • Usage with Rsbuild
    • Usage with Farm
    • Usage with Refine
  • Advanced
    • Customize Theme
    • CSS Compatible
    • Server Side Rendering
    • CSS Variables
      New
    • Use custom date library
    • Internationalization
    • Common Props
  • Migration
    • V4 to V5
    • Less variables to Component Token
  • Other
    • Third-Party Libraries
    • Contributing
    • FAQ
What is LLMs.txt?
Available Routes
Usage with AI Tools
Cursor
Windsurf
Claude Code
Gemini CLI
Trae
Qoder
Other AI Tools

LLMs.txt

contributors
ChangelogGetting Started

Resources

Ant Design X
Ant Design Charts
Ant Design Pro
Pro Components
Ant Design Mobile
Ant Design Mini
Ant Design Web3
Ant Design Landing-Landing Templates
Scaffolds-Scaffold Market
Umi-React Application Framework
dumi-Component doc generator
qiankun-Micro-Frontends Framework
Ant Motion-Motion Solution
China Mirror 🇨🇳

Community

Awesome Ant Design
Medium
X
yuque logoAnt Design in YuQue
Ant Design in Zhihu
Experience Cloud Blog
seeconf logoSEE Conf-Experience Tech Conference

Help

GitHub
Change Log
FAQ
Bug Report
Issues
Discussions
StackOverflow
SegmentFault

Ant XTech logoMore Products

yuque logoYuQue-Document Collaboration Platform
AntV logoAntV-Data Visualization
Egg logoEgg-Enterprise Node.js Framework
Kitchen logoKitchen-Sketch Toolkit
Galacean logoGalacean-Interactive Graphics Solution
WeaveFox logoWeaveFox-AI Development with WeaveFox 🦊
xtech logoAnt Financial Experience Tech
Theme Editor
Made with ❤ by
Ant Group and Ant Design Community

This guide explains how to enable AI tools like Cursor, Windsurf, and Claude to better understand Ant Design.

What is LLMs.txt?

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.

Available Routes

We provide several LLMs.txt routes to help AI tools access our documentation:

  • llms.txt - Contains a structured overview of all components and their documentation links
  • llms-full.txt - Provides comprehensive documentation including implementation details and examples

Usage with AI Tools

Cursor

Use the @Docs feature in Cursor to include the LLMs.txt files in your project. This helps Cursor provide more accurate code suggestions and documentation for Ant Design components.

Read more about @Docs in Cursor

Windsurf

Reference the LLMs.txt files using @ or in your .windsurf/rules files to enhance Windsurf's understanding of Ant Design components.

Read more about Windsurf Memories

Claude Code

In Claude Code, add LLMs.txt to the workspace Knowledge Base (Docs / Context Files) configuration. This allows the file to be referenced during code completion and explanation, improving understanding of Ant Design components.

Learn more about Claude Code document context configuration

Gemini CLI

In Gemini CLI, you can specify the LLMs.txt file path with the --context parameter or in .gemini/config.json, enabling Gemini to reference the document when answering or generating code.

Learn more about Gemini CLI context configuration

Trae

In Trae, place the LLMs.txt file into the project’s knowledge sources and enable referencing in the settings. This allows Trae to better support Ant Design components when generating or analyzing code.

Learn more about Trae knowledge sources

Qoder

In Qoder, you can add LLMs.txt as an external knowledge file in .qoder/config.yml, or temporarily reference it in a conversation with @docs LLMs.txt, enhancing support for Ant Design components.

Learn more about Qoder configuration

Other AI Tools

Any AI tool that supports LLMs.txt can use these routes to better understand Ant Design. Simply point your tool to any of the routes above.