# OpenCLI Agent Pack: Ant Design CLI

Use this when an AI agent needs to work with `antd-cli`.

## What this CLI is for
The official CLI from Ant Design. Query Ant Design component docs, check antd versions, and analyze antd usage in a project from the terminal. Start with `npm i -g @ant-design/cli` and go from there. Runs entirely on your machine.

Best for: Querying Ant Design component docs and analyzing antd usage from the terminal.

## Agent readiness
Usable with guardrails (45/100)
- Supports non-interactive/scripted use.
- Can run locally with less credential exposure.

## Install
```sh
npm i -g @ant-design/cli
```

## Verify before real work
```sh
antd-cli --version
```
Expected signal: antd-cli responds locally and is ready for the first real command.

## Safe starting commands
```sh
antd-cli --version
```

```sh
antd --help
```

```sh
npm i -g @ant-design/cli
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.

## Suggested agent instruction
You may use Ant Design CLI (`antd-cli`) for querying ant design component docs and analyzing antd usage from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
