Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

migration

БесплатноБез исполняемых скриптовНе проверен

Migrates legacy AEM (6.x, AMS, on-prem) to AEM as a Cloud Service via BPA CSV/cache and CAM/MCP discovery, one pattern per session. Use to review/scan a…

adobeот adobe★ 342 звезды на GitHub

Об этом скилле

AEM as a Cloud Service — Code Migration

Source → target: Legacy AEM 6.x / AMS / on-prem → AEM as a Cloud Service. Scoped under skills/aem/cloud-service/skills/migration/ so this is not confused with Edge Delivery or 6.5 LTS.

This skill drives the migration workflow: BPA data, CAM/MCP, one pattern per session, and target discovery. Transformation rules and steps live in the code-assessment skill — once a finding's pattern is identified, hand off to {code-assessment}/<pattern>/SKILL.md (or the relevant shared reference under {code-assessment}/references/).

Setup: Use the aem-cloud-service install (see repository root README) so both migration and code-assessment paths are available. If you already have the monorepo open with resolvable {code-assessment} paths, no separate install step is required.

For the person driving the agent: references/quick-start.md has what to say for each kind of migration, with copy-paste prompts.

Path convention (Adobe Skills monorepo)

From the repository root (parent of the skills/ directory):

Symbol Path
{code-assessment} skills/aem/cloud-service/skills/code-assessment/

Examples: {code-assessment}/SKILL.md, {code-assessment}/scheduler/SKILL.md, {code-assessment}/references/scr-to-osgi-ds.md.

Workspace scope (IDE) — user code only

Applies to finding and editing the user's AEM project (Java, bundles, config, HTL), not to reading installed skill files under {code-assessment}.

  • Treat the current IDE workspace root folder(s) (single- or multi-root) as the only boundary for searches, globs, grep, and file reads/writes for migration targets.
  • Do not search parent directories, sibling folders on disk, ~, other clones, or arbitrary absolute paths to "discover" sources unless the user explicitly names those paths or asks you to include them.
  • BPA CSV / CAM targets: If a filePath or class-to-file mapping does not resolve under a workspace root, stop and tell the user which paths are missing — do not hunt elsewhere on the filesystem. Ask them to open the correct project in the IDE or adjust paths.
  • Manual flow: Only migrate files the user named that live under the workspace (or paths they explicitly provided). Do not expand scope by searching outside the workspace.

Required delegation (do this first)

Find the branch for the request and read its file before anything else. Each of Branches A and C–I skips Branch B. A, C, E, G, H and I take no BPA pattern id.

Branch The user asks to… Read first, and follow
A — OSGi configs → Cloud Manager scan config files; create or set up Cloud Manager environment secrets or variables; move passwords or secrets out of OSGi / .cfg.json / ui.config; or mentions $[secret:] / $[env:] references/osgi-cfg-json-cloud-manager.md immediately: the product rules and the workflow are in that file. A short prompt is enough; the user need not name the file.
B — Java / HTL / BPA pattern fix one pattern, from a BPA CSV, from CAM, or in files they name The steps under Branch B below
C — Template modernization migrate static templates to editable templates ("create editable templates", "generate /conf templates", "static to editable", "parsys to container"); generate AEM Modernize Tools rules (structure / component / policy rewrite rules) template-modernization-context.md, then per template editable-template-creation.md and aem-modernization.md, then template-modernization-validation.md
D — Legacy UI (lui, cdw) convert Classic UI / ExtJS dialogs; upgrade Coral 2 dialogs; migrate custom ExtJS widgets; fix LUI or CDW findings; or mentions cq:Dialog / xtype / cq:Widget The steps under Branch D below
E — Dispatcher conversion convert or migrate an AMS / on-premise Dispatcher configuration references/dispatcher/flow.md: six phases around Adobe's dispatcher-converter. HARD STOP on filter-acl-loss. Do not present the result as done on validation failure.
F — Oak index (oakIndex, beta) fix Oak index findings; convert _oak_index definitions references/oak-index.md: six steps around Adobe's index-converter. Compute the next free -custom-N, never assume -custom-1. Flag a datatype mismatch as needs_manual_review; do not apply it silently. Tell the user that the output needs a careful review.
G — Validate a migration (beta) validate, verify or smoke-test
Полный SKILL.md на GitHub

Установить migration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CHANGELOG.mdREADME.mdevals/evals.jsonevals/files/legacy-project/core/pom.xmlevals/files/legacy-project/dispatcher/pom.xmlevals/files/legacy-project/pom.xmlevals/files/legacy-project/ui.apps/pom.xmlevals/files/legacy-project/ui.apps/src/main/content/META-INF/vault/filter.xmlevals/files/legacy-project/ui.apps/src/main/content/jcr_root/apps/example/components/page/page.htmlevals/files/legacy-project/ui.apps/src/main/content/jcr_root/apps/example/config.qa/org.apache.sling.commons.log.LogManager.factory.config-example.xmlevals/files/legacy-project/ui.apps/src/main/content/jcr_root/apps/example/config/org.apache.sling.commons.log.LogManager.factory.config-example.xmlevals/files/legacy-project/ui.apps/src/main/content/jcr_root/content/example/.content.xmlevals/files/legacy-project/ui.apps/src/main/content/jcr_root/etc/designs/example/.content.xmlreferences/asset-workflow/context.mdreferences/asset-workflow/flow.mdreferences/bpa-helper.mdreferences/cam-mcp.mdreferences/characterization-tests.mdreferences/dispatcher/config-generation.mdreferences/dispatcher/context.mdreferences/dispatcher/conversion-patterns.mdreferences/dispatcher/cross-boundary.mdreferences/dispatcher/current-sdk-conventions.mdreferences/dispatcher/flow.mdreferences/dispatcher/output-verification.mdreferences/dispatcher/validation.mdreferences/guava-cache.mdreferences/htl-lint.mdreferences/input-stream.mdreferences/integrations/catalog.jsonreferences/integrations/discovery.mdreferences/legacy-ui/cdw/context.mdreferences/legacy-ui/cdw/conversion.mdreferences/legacy-ui/cdw/validation.mdreferences/legacy-ui/dialog/context.mdreferences/legacy-ui/dialog/coral2-to-coral3.mdreferences/legacy-ui/dialog/extjs-to-coral3.mdreferences/legacy-ui/dialog/validation.mdreferences/oak-index.mdreferences/osgi-cfg-json-cloud-manager.md

FAQ

Что делает скилл migration?

Migrates legacy AEM (6.x, AMS, on-prem) to AEM as a Cloud Service via BPA CSV/cache and CAM/MCP discovery, one pattern per session. Use to review/scan a project for AEMaaCS migration — generates a read-only migration-runbook.md — or to fix specific Cloud Service blockers: scheduler, ResourceChangeListener, replication, EventListener, OSGi EventHandler, DAM AssetManager, HTL data-sly-test lint, Classic UI / ExtJS / Coral 2 → Coral 3 dialog migration (lui), Custom Design Widgets (cdw), Vault package install-time dependencies (vault-package-dependencies), Guava cache → Caffeine (guavaCache), java.io.InputStream triage (inputStream), Oak index conversion (oakIndex, beta), and static→editable template modernization. Also externalizes OSGi config secrets to Cloud Manager ($[secret:]/$[env:]), converts AMS/on-prem Dispatcher configs, validates migrated code on a local Cloud SDK (beta), migrates asset workflows, and restructures a project into the Cloud Service layout (ui.apps, ui.config, ui.content, all; beta).

Как установить скилл migration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл migration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить migration с