VS Code extension that guides Classic-to-Touch UI migration with a structured webview form and a generated migration prompt.
Features
Sidebar webview form for source and destination repo roots, Classic UI source, Touch UI target, git branch, Sling Model name, and reference branch
Prompt generator that enforces AEM rules: computation in Sling Models, presentation in HTL
Migration action that creates a git branch and runs gh copilot with the generated prompt
Requirements
Source and destination git repositories available on disk
GitHub CLI (gh) available on your PATH
CLI Setup (gh copilot, macOS)
npm note
There is no published npm package named github-copilot-cli. An npm install -g github-copilot-cli will fail with a 404. Use the GitHub CLI route below instead.
Install GitHub CLI (gh) and authenticate:
brew install gh
gh auth login
Verify in a VS Code terminal:
which gh
gh copilot -- --help
If you see "copilot matches the name of a built-in command or alias", that means gh already provides Copilot and no extension install is needed.
If VS Code still cannot find it, restart VS Code so it picks up the updated PATH.
Usage
Open the AEM Migration view from the Activity Bar.
Fill out the migration form (including source and destination repo roots) and click Generate Prompt.
Review the generated prompt output.
Click Migrate to create the feature branch and dispatch the prompt.
Known Issues
The migration command relies on gh copilot supporting the -p argument.
Release Notes
0.0.1
Initial preview of the webview-based migration assistant.