aem-cli
БесплатноБез исполняемых скриптовНе проверенUse this when running or troubleshooting the local Edge Delivery dev server or the Adobe AEM CLI (@adobe/aem-cli, formerly helix-cli; `aem up`, `aem content`…
от adobe★ 342 звезды на GitHubОб этом скилле
AEM CLI
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 up
aem up --no-open --no-stop-other
- Port: 3000 by default, but in a git worktree
aem uppicks a port from the branch name and logsGit worktree detected. Using port N. Always use the port it logs. - Another server on the port: by default
aem upstops it, even another checkout's.--no-stop-otherexits withPort N already in useinstead: reuse that server if it is this checkout's, otherwise pass--port <free port>. - Local pages:
aem upserves./content/before proxying, with no flag:content/drafts/x.htmlis 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.jsonis proxied from the remote site unlesscontent/query-index.jsonexists, so find local pages on disk in./content/. - Other origin:
--url https://main--<site>--<org>.aem.page(e.g. stage). .env: every flag has anAEM_variable read from the project's.env:AEM_PORT,AEM_PAGES_URL,AEM_TLS_CERT,AEM_TLS_KEY,AEM_NO_OPEN=true(notAEM_OPEN=false).- HTTPS:
--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
clonefails if./content/exists (--forcedeletes it). Clone first, then add pages; move existing local pages aside and copy them back in.- Org and site come from the git remote; override with
--org/--site. - Pages you add or edit must be in DA's HTML format; see da-content.
- It talks to
admin.da.liveonly (AEM_DA_ADMINoverrides 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. - Sign-in token:
.hlx/.da-token.json(git-ignored). Don't ask for a token by hand. pushwrites the DA source only. Preview the page (Sidekick, orPOST https://admin.hlx.page/preview/<org>/<site>/main/<path>with an IMS Bearer token, see da-auth) beforehttps://main--<site>--<org>.aem.page/<path>shows it.aem content pushcan report success without storing media files (PNG/SVG verified on 16.22.16). Upload them with a DA Source APIPUTusing multipart fielddata; see da-content.
aem import
aem import --no-open serves the importer UI on port 3001. For writing import.js use
page-import.
Troubleshooting
| 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) |
Установить aem-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл aem-cli?
Use this when running or troubleshooting the local Edge Delivery dev server or the Adobe AEM CLI (@adobe/aem-cli, formerly helix-cli; `aem up`, `aem content`, `aem import`). Covers starting `aem up` and its port (git worktrees, a port already in use), serving local test pages from `./content/`, cloning da.live content locally with `aem content clone` to preview, inspect or edit it and pushing edits back, `aem up` failures (cert errors, proxy 404s, local pages not found), .env / AEM_* configuration, HTTPS, installing or upgrading the CLI, and the importer server. For da.live content-format rules or the DA Source API use da-content; for writing EDS block code use content-driven-development.
Как установить скилл aem-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aem-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic