Command Palette

Search for a command to run...

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

app-builder-deploy

БесплатноЗапускает вложенные скриптыНе проверен

Use when a developer wants to deploy an Adobe App Builder app or extension — phrases like "deploy my app", "deploy to Stage", "deploy to Production", "ship…

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

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

Mandatory prerequisite: Before starting this skill, read and apply Common Skill Rules.

Deploy an App Builder app

Deploy the app in the current folder to Stage or Production safely, and report what actually happened. One confirmation per deploy. Production needs the word "Production" in that confirmation.

<skill-dir> below is the folder containing this SKILL.md. Run scripts as node "<skill-dir>/scripts/<name>.mjs" from the app folder (the one with app.config.yaml).

Step 0 — Report skill context

Call report_skill_context once with skill_name: "app-builder-deploy" and skill_version: "1.0.0".

Step 1 — Read-only check

  1. No shell on the developer's own computer? Explain that deploying runs from the machine that holds the app's code and CLI sign-in, so it needs a desktop or terminal assistant there, then stop. A shell in a hosted sandbox doesn't count.
  2. Run node "<skill-dir>/scripts/app-context.mjs". It prints the org, project and workspace the folder is linked to, plus each extension's actions (with their Node.js runtime) and whether it has a UI. Secrets are never included. If it returns ok: false:
    • The CLI wasn't found: hand off to app-builder-setup, then call report_skill_context again.
    • Not linked: offer the app-builder-create-app skill, or explain how to link the folder to an existing project.
    • aio app info failed: with consent, run aio app build to show the configuration error.
  3. Confirm the link with the connector: get_projects for org.id (filterBy: "all") must include project.id. If it returns the Developer Terms message instead of projects, follow the Terms rule below first. A mismatch means the folder belongs to a project in another org or environment. Explain this and stop.
  4. Check the action runtimes. Any action with a runtime older than nodejs:20 (for example nodejs:16) will be rejected. Offer to change it to nodejs:22 in src/<extension folder>/ext.config.yaml before deploying.

Describe extensions in plain words: dx/excshell/1 is the Experience Cloud Shell app; aem/cf-console-admin/1 the Content Fragments console; aem/cf-editor/1 the Content Fragment editor; aem/assets/* Assets View; aem/launchpad/1 Experience Hub; universal-editor/ui/1 Universal Editor; workfront/ui/1 Workfront; application a standalone app. Show actions by their names without the package prefix.

Step 2 — Choose and check the target

  • The default target is the workspace the folder is linked to (normally Stage). The developer can name another one.
  • Resolve workspace ids with list_workspaces (org id, project id). If the target isn't in the list, stop. Never let the CLI create a workspace.
  • Production only: Production must have the same Adobe APIs as Stage. For Stage and Production, call get_credentials, then get_credential_services for every credential. Compare the two sets of sdkCodes in both directions.
    • If any call fails, stop and say the check couldn't complete.
    • Missing in Production (Stage has it): list them by name and explain that the app would fail in Production when calling them. Offer the dev-console-subscribe-api skill to add them to the Production workspace.
    • Extra in Production (Stage lacks it): list them by name. Explain that Stage then doesn't test what Production runs. Offer to add them to Stage with the dev-console-subscribe-api skill, or to remove them from Production with the dev-console-unsubscribe-api skill.
    • Repeat the check after any change. Don't deploy to Production until the two sets are equal.
    • This compares APIs, not product profiles. Mention that profiles are set per workspace too.
  • Production and a standalone app (application, no extensions): the CLI doesn't check whether a standalone app is published, so a deploy replaces what users see right away. Say so.

Step 3 — Summary and one confirmation

Summarize in plain words and ask once:

  • Stage: "This will deploy to Stage: actions () and the UI. They're uploaded to Adobe and replace the current Stage version. Deploy now?"
  • Production: "This will deploy to Production, which real users of can reach once the app is approved. Reply 'deploy to Production' to continue." Proceed only on an unambiguous Production confirmation.

This consent covers this one deploy only. Ask again before every further deploy, including a retry after a fix and the missing-action recovery in Step 6, and say what changed since the last attempt. Production again needs a new "deploy to Production" reply.

Step 4 — Prepare

  • If you started aio app dev in this conversation, stop that exact process first.
  • Guarded workspace switch (only if the target differs from the linked workspace):
    1. Run aio app use -w <target workspace id> --no-input < /dev/null (PowerShell: `$null | aio ap
Полный SKILL.md на GitHub

Установить app-builder-deploy в Claude Code и Claude Desktop

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

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

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

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

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

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

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

CHANGELOG.mdevals/evals.jsonreferences/common-rules.mdreferences/deploy-failures.mdscripts/app-context.mjsscripts/lib/app-config.mjsscripts/lib/run.mjsscripts/verify-actions.mjs

FAQ

Что делает скилл app-builder-deploy?

Use when a developer wants to deploy an Adobe App Builder app or extension — phrases like "deploy my app", "deploy to Stage", "deploy to Production", "ship this to Production", "push my App Builder app live", "release my extension", "my deploy failed", "why was my deploy skipped", "publish my app to the org". Runs a read-only check and summary first, confirms the target (Production needs an explicit yes and the same Adobe APIs as Stage), deploys with the aio CLI, reports what really happened (including skipped deploys of published apps), and explains Stage vs Production and deploy vs publish.

Как установить скилл app-builder-deploy?

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

Скилл app-builder-deploy запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить app-builder-deploy с