156
+340
// summary
The @ant-design/cli provides a fully offline command-line interface for accessing Ant Design component knowledge, project analysis, and migration guidance. It is optimized for code agents and IDEs, offering structured data and version-accurate API information for Ant Design versions 4, 5, and 6. The tool supports multiple languages and includes features for linting, debugging, and generating migration prompts to streamline development workflows.
// use cases
01
Query component APIs, design tokens, and documentation offline with version-specific accuracy.
02
Analyze project usage, perform linting for deprecated APIs, and generate migration checklists.
03
Integrate with code agents and IDEs via the Model Context Protocol (MCP) server for automated assistance.