/aem-edge-delivery-services:aem-clifrom aem-edge-delivery-services
Runs and troubleshoots the Adobe AEM CLI for Edge Delivery Services: starting the dev server (`aem up`), syncing da.live content (`aem content clone`), and handling port conflicts, cert errors, proxy 404s, and CLI version issues.
Ships in aem-edge-delivery-services. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Local tooling for AEM Edge Delivery Services: aem up (dev server), aem content (da.live
content sync), aem import (importer UI). Needs Node 18+.
Check the version before relying on ./content/ or aem content, or when a content
operation returns 403: compare aem --version with npm view @adobe/aem-cli version;
upgrade with npm install -g @adobe/aem-cli@latest. aem content and ./content/
serving need 16.18+, explicit IMS login 16.22.3+, worktree port handling 16.22.12+.
For persistent 403s, invalidate the active project/environment’s cached token and
retry with the intended IMS org before assuming DA permissions need changing.
aem upaem up --no-open --no-stop-other
aem up picks a port from the branch
name and logs Git worktree detected. Using port N. Always use the port it logs.aem up stops it, even another checkout's.
--no-stop-other exits with Port N already in use instead: reuse that server if it is
this checkout's, otherwise pass --port <free port>.aem up serves ./content/ before proxying, with no flag:
content/drafts/x.html is at /drafts/x (and /drafts/x.plain.html). The file is a full
document (<body><header></header><main>…</main><footer></footer></body>). Use
--html-folder <dir> only for HTML outside ./content/, such as import output.
Local pages are not indexed: /query-index.json is proxied from the remote site unless
content/query-index.json exists, so find local pages on disk in ./content/.--url https://main--<site>--<org>.aem.page (e.g. stage)..env: every flag has an AEM_ variable read from the project's .env: AEM_PORT,
AEM_PAGES_URL, AEM_TLS_CERT, AEM_TLS_KEY, AEM_NO_OPEN=true (not AEM_OPEN=false).--tls-cert <crt> --tls-key <key> (mkcert or openssl).aem content (da.live)Clone da.live pages to preview, inspect or edit them locally; aem up serves them from
./content/:
aem content clone --path /drafts # or --all; browser sign-in; writes ./content/
To send edits or new pages back:
aem content add drafts/page.html # paths relative to ./content/
aem content commit -m "Add test page"
aem content push
clone fails if ./content/ exists (--force deletes it). Clone first, then add pages;
move existing local pages aside and copy them back in.--org / --site.admin.da.live only (AEM_DA_ADMIN overrides the host, 16.22.18). A site whose content is in Source Bus (api.aem.live) cannot be cloned or pushed this way; use the API in da-content..hlx/.da-token.json (git-ignored). Don't ask for a token by hand.push writes the DA source only. Preview the page (Sidekick, or
POST https://admin.hlx.page/preview/<org>/<site>/main/<path> with an IMS
Bearer token, see da-auth) before https://main--<site>--<org>.aem.page/<path>
shows it.aem content push can report success without storing media files (PNG/SVG
verified on 16.22.16). Upload them with a DA Source API PUT using multipart
field data; see da-content.aem importaem import --no-open serves the importer UI on port 3001. For writing import.js use
page-import.
| Symptom | Fix |
|---|---|
Unknown argument: content | CLI too old; upgrade |
| Local page 404s | Put it under ./content/ (or --html-folder for other dirs) |
| Live page 404s locally | Wrong origin: --url https://main--<site>--<org>.aem.page |
Pushed page not on .aem.page | Preview it (see above) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/aem-block-libraryUse when a new or changed AEM Edge Delivery Services block needs an entry in the block library that authors use to find and insert it: the Experience Workspace (formerly DA, Document Authoring) library or the Sidekick Library for Word and Google Docs projects. Covers finding the project's library, the block page, variants, the sheet row, library metadata and the steps that happen outside the repo. For tests that run against the library page use testing-blocks./aem-layout-viewUse when block or site code of an AEM Edge Delivery Services project authored in Experience Workspace (EW, formerly DA, Document Authoring) must stay editable in layout view, the WYSIWYG page editor that renders the page with the site's own code: authors can't edit a block's text or images, blocks duplicate or misbehave after edits, a request fails only in layout view, or a branch needs testing there. Not for the Universal Editor (ue-component-model) or projects authored in Word or Google Docs./authoring-analysisUse this when the page-import pipeline needs to determine the authoring approach (default content vs blocks) for scraped content before generating import HTML for AEM Edge Delivery Services. Covers validating block selection and section styling for import/migration. Do not invoke directly — called by page-import as a pipeline step./block-collection-and-partyUse this when you are starting AEM Edge Delivery Services (EDS, Franklin, Helix) development and want an existing reference to build from, such as a block, build tool, code snippet, integration pattern, or plugin. Searches the Block Collection and Block Party repositories, matches candidates against the need, and returns a suitable starting point to clone or adapt./brand-setupUse when a fresh AEM Edge Delivery Services boilerplate project should take on the brand basics of an existing website being migrated to EDS — colors, body and heading fonts, font sizes, header height, favicon and logo. Triggers include "set up the brand from <site>", "match the source site's look", "apply the client's fonts and colors", "use their favicon and logo". Not for projects whose styles were already customized, and not for full design-system extraction (spacing scales, components, motifs)./building-blocksUse this before writing or changing AEM Edge Delivery Services (EDS, Franklin, Helix) block or site code: a block's `decorate(block)`, block CSS and variants, `scripts.js` loading phases (eager, lazy, delayed), images, fragments, and LCP or performance fixes. EDS conventions don't always match standard front-end practice because of its architecture and page-loading model, and the boilerplate keeps evolving past model training cutoffs, so check here rather than relying on memory. For new blocks or changes to the authored structure, start with content-driven-development.npx claudepluginhub adobe/skills --plugin aem-edge-delivery-servicesOther plugins' skills for the same job