CI fix:
- Fix TS error: avoid passing interface type to Record<string, unknown> param
Review feedback addressed:
- toMcpResult: check error === true instead of just 'error' in data
- antd_changelog: reject partial v1/v2 with INVALID_ARGUMENT error
- list.ts: output [] for JSON when no components; keep category in JSON output
- prompts: add missing antd_changelog to tool workflow section
- semantic test: use Affix instead of duplicate Button test
- Add cross-version diff test and version-order validation test
- Add antd_semantic success test and partial v1/v2 test for MCP
- spec.md: "dedup" → "avoid duplicate calls"
- README: add note about --version flag for MCP server
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add MCP server scenario to SKILL.md
- Update command count 13→14 in both READMEs
- Add MCP Server section to Agent Integration in both READMEs
- Add src/mcp/ to project structure in CLAUDE.md
- Fix TypeScript error: remove explicit McpResult type annotation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
- Skill: split into scenario 8 (antd bugs) and 9 (auto-report CLI issues)
- Agents now proactively report CLI issues when they notice wrong data
- README/README.zh-CN: add Issue Reporting section with bug/bug-cli docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add bug fixes round 2 plan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: add agent skill file and update README with installation guides
Add docs/skill.md — a scenario-driven skill file that teaches code agents
when and how to use each @ant-design/cli command. Update both READMEs with
installation instructions for Claude Code, Cursor, Codex, and Gemini CLI.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add Claude Code skill frontmatter and improve agent install guides
- Add YAML frontmatter to docs/skill.md (name, description, allowed-tools)
so it works as a proper Claude Code skill when copied to .claude/skills/
- Update README install instructions: Claude Code uses skill directory,
Cursor uses .mdc rule, Codex/Gemini append to their config files
- Remove redundant "When to Use" section (covered by frontmatter description)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: restructure skill to skills/ directory and simplify install guide
- Move docs/skill.md to skills/antd/SKILL.md (follows skills standard)
- Rename src/commands/diff.ts to changelog.ts (matches actual command name)
- Replace per-agent install guides with `npx skills add`
- Fix incorrect `antd changelog diff` and `antd diff` references
- Update package.json files field to include skills/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: restore CLI install instructions in README
Keep npm/pnpm/bun global install as the primary installation method,
with skill-based install as a supplementary option.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add hero section with centered badges and language switcher
- Convert features list to table format
- Add Quick Start section
- Wrap example outputs in <details> collapsible blocks
- Add separators between commands for better readability
- Add "Use with AI Agents" section with CLAUDE.md snippet
- Add MIT license footer
- Add full Chinese translation (README.zh-CN.md)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove `antd search` command (low utility with simple string matching)
- Delete src/commands/search.ts and related tests
- Clean up references in spec.md, README.md, CLAUDE.md
- Rewrite CHANGELOG.md from user perspective with EN/ZH versions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace fabricated changelog entries with real data parsed from
CHANGELOG.zh-CN.md (v4/v5/v6 branches)
- v4: 158 versions (4.0.0–4.24.16), 1226 changes
- v5: 170 versions (5.0.0–5.29.3), 1362 changes
- v6: 14 versions (6.0.0–6.3.2), 188 changes
- Fix data inaccuracies in v5.json:
- Add missing `ghost` prop to Button (deprecated since 5.22.0)
- Remove duplicate/wrong changelog entries claiming Table `virtual`
was added in 5.20.0 and 5.22.0 (it was added in 5.9.0)
- Fix Input `count` changelog entry (was since 5.10.0, not 5.20.0)
- Fix changelog version routing bug in `diff.ts`: querying
`antd changelog 6.3.2` now auto-detects major version from the
version argument itself instead of always defaulting to v5
- Fix README: remove non-existent --no-cache flag, fix feature
descriptions, add real CLI output examples, update version examples
to use versions that actually exist in the bundled data
- Update tests to match real data (5.21.0 has Segmented not Button;
use 5.99.99 for version-not-found test to ensure v5 routing)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add CI workflow (.github/workflows/ci.yml) with matrix for Node 18/20/22
- Add CI, npm version, and npm downloads badges to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
CLI tool for Code Agents to query antd knowledge and analyze antd usage.
Includes design spec, README with all 13 commands, and project scaffolding.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>