encore-migrate
БесплатноБез исполняемых скриптовНе проверенMigrate an existing backend application to Encore. Supports any source framework, targets Encore.ts or Encore Go. Drives a structured DISCOVER → PLAN →…
от encoredev★ 31 звезда на GitHubОб этом скилле
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:
- Pick sensible defaults for open decisions (see "Key Decisions" in Phase 1) and state each one to the user in a short list before writing code
- Record every default in the
## Decisionssection ofmigration-plan.mdso it can be revisited - Still ask before side-effecting HTTP calls against the source system, and never modify the source
- Still validate every entity before marking it
migrated
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)"
- Ask the user what they would like to work on next, offering a suggestion based on the dependency order in the plan
Phase 1 — Discover
1. Gather Information
Ask the user for:
- Path to the source system (the existing codebase being migrated)
- Local URL where the source system runs (if applicable — needed for HTTP comparison validation later)
- Target language: Encore.ts or Encore Go
2. Analyze the Source Codebase
Read the source codebase and inventory all entities:
| Category | What to look for |
|---|---|
| Services / modules / domains | Distinct bounded contexts, separate deployable units, route groupings |
| API endpoints | Method, path, handler function, request/response shapes |
| Databases | Type (Postgres, MySQL, etc.), tables, schemas, migration files |
| Pub/Sub topics and subscriptions | Topic names, publishers, subscribers, message shapes |
| Cron jobs / scheduled tasks | Schedule expressions, handler functions |
| Auth middleware / handlers | Authentication strategies, token validation, session management |
| Secrets / environment variables | All referenced env vars and secrets, noting which are sensitive |
| Global HTTP behavior | CORS settings, global path prefixes, global middleware, custom error filters / error response bodies |
| Existing tests | Test files, which entities they cover, test framework used |
| Frontend code | React/Vue/Angular components, static HTML, CSS, client-side JS — these are out of scope |
3. Identify Frontend Code
Full-stack repos and monorepos often mix backend and frontend code. The migration targets backend only — frontend code is out of scope.
Detect frontend directories and mark them as out of scope. Common indicators:
| Pattern | Examples |
|---|---|
| Dedicated frontend directories | frontend/, client/, web/, app/ (when it contains React/Vue/Angular), src/components/, public/ |
| Frontend config files | next.config.js, vite.config.ts, nuxt.config.ts, angular.json, .svelte-kit/, remix.config.js |
| Package dependencies | react, vue, @angular/core, svelte in package.json |
Flag framework server-side code that should be migrated. Some frontend frameworks embed backend logic that contains API endpoints, database queries, or server-side business logic:
| Framework | Server-side locations | What to look for |
|---|---|---|
| Next.js | pages/api/, app/*/route.ts |
API route handlers — these are backend endpoints |
| Remix | app/routes/*.tsx (loader/action exports) |
loader and action functions contain server logic |
| Nuxt | server/api/, server/routes/ |
Server API routes |
| SvelteKit | src/routes/+server.ts, +page.server.ts |
Server endpoints and load functions |
| Astro | `src/pa |
Установить encore-migrate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл encore-migrate?
Migrate an existing backend application to Encore. Supports any source framework, targets Encore.ts or Encore Go. Drives a structured DISCOVER → PLAN → MIGRATE workflow with `migration-plan.md` tracking.
Как установить скилл encore-migrate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл encore-migrate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic