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
Resuming a Migration (Phase 3)
When migration-plan.md and migration-plan/ exist with pending units:
- Read
migration-plan.md(summary only — do NOT read all detail files) - Report current status to the user — for example: "3 of 7 units migrated, next suggested: billing (all its dependencies are migrated)"
More from encoredev/skills
encore-service
Structure and organize Encore.ts services.
354encore-api
Create type-safe API endpoints with Encore.ts.
350encore-code-review
Review Encore.ts code for best practices and anti-patterns.
346encore-auth
Implement authentication with auth handlers and gateways in Encore.ts.
345encore-database
Database queries, migrations, and ORM integration with Encore.ts.
337encore-testing
Test APIs and services with Vitest in Encore.ts.
333