تاریخ شمسی… --:--:--
لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

Move a project from the 2.x code to the 3.0 code

آزاد تازه‌وارد تاییدشده امن

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام می‌دهد. (شامل ۶ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: سازنده فقط میزبان‌های نام‌برده را تأیید کرده است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: migrate
description: Move an ElastiCORE project that 2.x generated (or that keeps output = 'v2') to the 3.0 code, one checked step at a time - the migration check first, the DSL fixes it asks for, the move, then the compile and test failures matched to their causes.
disable-model-invocation: true
argument-hint: "[check | move - default: check, then report]"
---

# Move a project from the 2.x code to the 3.0 code

Read `${CLAUDE_PLUGIN_ROOT}/skills/elasticore/references/migrate.md` first; it has the steps, the version each needs
and the table of failures and fixes. Then:

1. **Where the project stands.** `build.gradle`: the ElastiCORE version in `plugins { }` and `elasticore { output }`.
   A project already on the 3.0 code (`output = 'v3'`, or no `output` and a merge base - `.elasticore/generated-base.zip`, or
   `.elasticore/cache` from an ElastiCORE before the rename) has nothing to move:
   say so and stop. Run the build as it is (`./gradlew build`, `./gradlew.bat` on Windows) and record the result -
   every later step is compared with it. If it does not compile now, stop and report that first.
2. **The check** (ElastiCORE 3.0.261119 or later - `./gradlew tasks --group=elasticore` lists `elcoreMigrationCheck`):
   `./gradlew elcoreMigrationCheck`, then read `build/elasticore/migration-check.md` whole. It writes nothing else.
   A project on an older ElastiCORE (2.x, or a 3.0 build before the release): say that the check needs 3.0.261119
   or later (with `output = 'v2'` kept), and ask before upgrading.
3. **Fix in the DSL what the check's first section lists** - generated files the move removes or no longer writes
   that code of the user's uses. For an entity their code reads and writes through `helper.getXxx()`, propose
   `@repository` on its entity line; `@service` or `@expose` only when the user wants a service or an API. Show
   the user the list and the DSL lines before changing anything, then run the check again until that section is
   empty.
4. **Report what remains** - conflicts, files kept as the user's, files left as the 2.x code, imports a merge takes
   out - as a short list per file with what each will need, and ask before the move.
5. **The move** (only with `move`, or when the user says so): `elasticore { output = 'v3' }`, then
   `./gradlew compileJava`. The statuses it prints should be the check's; say where they differ. Resolve each
   `CONFLICT` with the user, carry over what each `KEPT` line names, and fix the compile errors with the table in
   `migrate.md` - in the DSL where the table says so, never by editing a generated file.
6. **Test and report.** `./gradlew build`, then the behaviour changes the table lists (validation before a save, a
   delete row by row, `like` ignoring case) in business terms. Tell the user to commit the merge base with the
   sources - `.elasticore/generated-base.zip` (`.elasticore/cache` on an ElastiCORE before the rename) and the
   files beside it in `.elasticore/` - and never to delete or ignore it.

Never run `-Pforce`, never delete a file the user edited, and never set `output = 'v3'` without the user's yes.


— ‹guest · 2026-11-27› —

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
پایگاه داده
✦ Pro

Spanner Relational-to-Property-Graph Schema Conversion

«Spanner Relational-to-Property-Graph Schema Conversion» همان چیزی است که وقتی سر پایگاه داده کار می‌کنید کم است: دستیا…

⚡ /spanner-relational-to-graph SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۳
پایگاه داده
✦ Pro

Spanner Graph Query Tuning Best Practices

«Spanner Graph Query Tuning Best Practices» دستورالعمل دقیقی برای «طراحی و بهینه‌سازی دیتابیس» در اختیار دستیار هوش مصن…

⚡ /spanner-graph-query-tuning SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۳
پایگاه داده
✦ Pro

DOCA structured-tools contract

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام م…

⚡ /doca-structured-tools-contract SKILL.md
Claude / Claude CodeOpenAI Codex
۹۳/۱۰۰ ★ ۴,۱۶۴
پایگاه داده
✦ Pro

DOCA Telemetry

دستورالعمل اجرایی آماده برای انجام دقیق کارهای پایگاه داده بدون تکرار پرامپت‌های طولانی. (شامل ۲۷ گام عملی · سازگار با …

⚡ /doca-telemetry SKILL.md
Claude / Claude CodeOpenAI Codex
۹۳/۱۰۰ ★ ۴,۱۶۴
پایگاه داده
✦ Pro

Durable Objects

«Durable Objects» یک مهارت آماده در حوزهٔ پایگاه داده است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «طراحی و بهینه‌سازی دیتا…

⚡ /durable-objects SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۳,۴۳۱
پایگاه داده
✦ Pro

Supabase

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام م…

⚡ /supabase SKILL.md
MCP
۹۶/۱۰۰ ★ ۳,۱۳۹