What problem does it solve?
Upgrading an Open Mercato app from 0.4.10 to 0.5.0 requires many small breaking-change fixes across dependencies like Meilisearch, Stripe, lucide-react, cron-parser, and react-email. Doing these edits by hand is error-prone and easy to miss.
Core Features & Use Cases
- Automated codemods: Detects and rewrites ten documented breaking-change patterns, including the Meilisearch class rename, Stripe API-version typing, lucide-react brand-icon removal, react-markdown className wrapping, and cron-parser API rename.
- Detection-first workflow: Scans the project, prints a plan of matched files, and asks for confirmation before editing, with --dry-run, --skip, and --only options.
- Verification and reporting: Runs TypeScript checks and Jest tests after edits, rolls back failing codemods, and reports applied, skipped, and manual-review items.
- Use Case: After bumping @open-mercato/* dependencies to 0.5.0 and running yarn install, run this skill to mechanically fix all affected source files and get a list of changes needing human review.
Quick Start
Ask the assistant to upgrade your Open Mercato project from 0.4.10 to 0.5.0 and apply the 0.5.0 upgrade codemods to the current app.