encore-migrate
Migrate to Encore
This skill guides migrating any existing backend application to Encore, one migration unit at a time. It supports any source language or framework and targets both Encore.ts and Encore Go. A migration-plan.md summary file and migration-plan/ directory of per-unit detail files are created at the Encore project root to track progress across sessions. This skill contains no Encore code examples — it delegates all Encore-specific implementation to the appropriate language-specific skills.
Phase Detection
Before doing anything, determine which phase to enter:
- No
migration-plan.mdexists in the Encore project directory → Start at Phase 1: DISCOVER migration-plan.mdexists but nomigration-plan/directory → Resume at Phase 2: PLAN (discovery done, detail files not yet written)migration-plan/directory exists with pending units (any unit in the summary with statuspendingorin progress) → Resume at Phase 3: MIGRATE- All units in the summary are
migrated,skipped, ormanual validation needed→ Go to Phase 4: COMPLETE
Autonomous Mode
The confirmation stops in this workflow (confirming units in Phase 1, approving the first unit in Phase 2, picking each next unit in Phase 3) are the default. If the user asks to run the migration through without stopping ("just migrate it", "do them all", "don't ask"), skip those stops: