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★ 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
- 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.
- 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.jsruntime) and whether it has a UI. Secrets are never included. If it returnsok: false:- The CLI wasn't found: hand off to
app-builder-setup, then callreport_skill_contextagain. - Not linked: offer the
app-builder-create-appskill, or explain how to link the folder to an existing project. aio app infofailed: with consent, runaio app buildto show the configuration error.
- The CLI wasn't found: hand off to
- Confirm the link with the connector:
get_projectsfororg.id(filterBy: "all") must includeproject.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. - Check the action runtimes. Any action with a runtime older than
nodejs:20(for examplenodejs:16) will be rejected. Offer to change it tonodejs:22insrc/<extension folder>/ext.config.yamlbefore 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, thenget_credential_servicesfor every credential. Compare the two sets ofsdkCodes 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-apiskill 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-apiskill, or to remove them from Production with thedev-console-unsubscribe-apiskill. - 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 devin this conversation, stop that exact process first. - Guarded workspace switch (only if the target differs from the linked workspace):
- Run
aio app use -w <target workspace id> --no-input < /dev/null(PowerShell: `$null | aio ap
- Run
Установить app-builder-deploy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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