name: classic-to-default-sync
Given a commit ID, audit all web/classic changes and ensure web/default reaches feature parity with the best possible implementation.
The user must supply a <commit-id>.
git show <commit-id> -- web/classic
Read every changed file in web/classic. Identify the logical changes (new features, UI/UX improvements, bug fixes, config tweaks, removed dead code, etc.) — not just line diffs.
For each logical change found in Step 1, locate the equivalent file(s) in web/default/src/. Use Glob/Grep/SemanticSearch as needed. Consider that:
web/classic uses React 18 + Vite + Semi Designweb/default uses React 19 + Rsbuild + Radix UI + Tailwind CSSClassify every logical change as one of:
| Status | Meaning |
|---|---|
| ✅ Already present & optimal | No action needed |
| ⚠️ Present but suboptimal | Improve: logic, layout, style, or code quality |
| ❌ Missing | Implement from scratch in default's stack |
For each ⚠️ or ❌ item:
web/default before editing (required by project conventions).web/default conventions:
useTranslation() + t('English key') for all user-visible stringsanyReadLints on changed files and fix any introduced lint errors.If any new user-visible strings were added, run the i18n sync:
cd web/default && bun run i18n:sync
Then add missing translations for all supported locales (en, zh, fr, ja, ru, vi) following the i18n-translate skill.
Summarise the work in a concise table:
| # | Change (from classic commit) | Status | Action taken |
|---|---|---|---|
| 1 | … | ✅ / ⚠️ / ❌ | None / Improved / Implemented |
If every item is ✅ with no action needed, simply reply: "已完成 — web/default 已具备此次提交的所有功能,且实现质量良好,无需修改。"
web/default codeweb/default must not break