* feat: add pro-upgrade skill for AI-assisted project upgrades
Add a Claude Code skill and Codex-compatible instructions that enable
AI agents to upgrade Ant Design Pro projects by diffing the latest
template and intelligently merging framework changes while preserving
business code. Works for any version gap (v5→v6, v6.x→latest, etc.).
Closesant-design/ant-design-pro#11800
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* chore: revert AGENTS.md to simple link to CLAUDE.md
CLAUDE.md already contains the Upgrading section, no need to
duplicate in AGENTS.md.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* chore: replace AGENTS.md with symlink to CLAUDE.md
Avoid duplicating content — Codex reads AGENTS.md which now points
directly to CLAUDE.md where all guidance (including the pro-upgrade
skill reference) lives.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs: add upgrade FAQ to cheatsheets
Add guidance for upgrading Ant Design Pro projects using the
pro-upgrade skill in both Chinese and English cheatsheets.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs: add skill install instructions to upgrade FAQ
Users upgrading from older versions won't have the skill file,
so provide a curl command to download it from the latest template.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs: use npx skills add for skill installation
Replace curl command with `npx skills add ant-design/ant-design-pro`
in both cheatsheets.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix: address PR review feedback
- Preflight warning: change from Chinese-only to English
- Dependency merging: preserve user deps not found in template by default
- antd migrate: use version placeholders instead of hardcoded "5 6"
- Business files: use recursive glob src/services/**/*.ts
- Cheatsheet: temper "upgrade" to "assist" to avoid overpromising
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>