Skip to main content
在 Manus 中运行任何 Skill
一键导入

migrate-antd-v6

星标2
分支0
更新时间2026年6月18日 01:53

Migrate one file or route from the deprecated antdV3 import (npm alias antd@3.x) to antd v6, proving no visual or behavior regression with before/after Playwright screenshots of the real route before committing. Use when a Sonar no-restricted-imports MAJOR flags an antdV3 import, or the owner asks to migrate a component to antd v6. Trigger phrases include "migrate antdV3", "antd v6 migration", "migrate this component to antd v6", "kill the antdV3 import". Reusable across projects, parameterized by target file, repo path, route, and storageState filename. Captures the loading spinner, the migrated components, and a behavior check, then stops at a ready-to-commit signed-commit command for the owner to run. Scoped to one target only, never a repo-wide sweep. Not for non-antd refactors, dependency bumps of antd itself, or migrations with no rendered route to screenshot.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly