Plan and execute migration from Mercur 1.x to 2.0. Classifies project difficulty, reads relevant migration docs, and follows stop conditions.
Use this skill when:
Before any action, read:
docs/migrations/mercur-1.x-to-2.0/README.md — entry point, version check, package/directory mapping, approachRead references/decision-tree.md in this skill directory, then:
package.json — note @mercurjs/b2c-core version to determine 1.x versionapps/admin/) — search there when scanning for custom dashboard pagesBased on classification, read from docs/migrations/mercur-1.x-to-2.0/:
| Document | Starter | Light Custom | Heavy Custom |
|---|---|---|---|
| README.md | Required | Required | Required |
| dashboards.md | Skim | Required | Required |
medusa-config.ts (plugins, modules, providers)bunx @mercurjs/cli@latest add <block>)Stop and ask the user when:
@mercurjs/core.migration/ or any private test directories