appbuilder-cicd-pipeline — скилл для Claude Code: CI/CD для Adobe App
Собирает workflow-файлы GitHub Actions для сборки и деплоя проектов Adobe App Builder, плюс шаблоны для Azure DevOps и GitLab CI.
npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a claude-codeЧто делает appbuilder-cicd-pipeline
Скилл генерирует три готовых workflow: деплой на stage, деплой на prod и тесты для пул-реквестов. Внутри лежат шаблоны assets/deploy-stage.yml, assets/deploy-prod.yml, assets/pr-test.yml и скрипт assets/fetch-secrets.sh для вытаскивания значений секретов из конфигурации воркспейса. Официальные экшены — adobe/aio-cli-setup-action@3 и adobe/[email protected].
Авторизация только через OAuth Server-to-Server с IMS. Команда auth в aio-apps-action устарела, она на JWT, и скилл прямо говорит её не использовать. Секреты кладутся в repository secrets, потому что App Builder не поддерживает environment secrets в GitHub. На каждый воркспейс нужен свой набор из 14 секретов с суффиксом _STAGE или _PROD.
Перед извлечением секретов добавьте «I/O Management API» в воркспейс в Developer Console, иначе получите ошибку. Дальше скачиваете workspace.json, выполняете aio app use <workspace.json> и запускаете fetch-secrets.sh. Нужны aio CLI, Node.js 18+ и сама платформа CI/CD. Для Azure DevOps, GitLab CI и Jenkins есть отдельный гайд references/generic-pipeline-guide.md.
Есть быстрый путь: если вы на GitHub и просите настроить CI/CD без уточнений, скилл сразу выдаёт все три файла и инструкцию по секретам. Для неоднозначных запросов он сначала проверяет, нет ли уже .github/workflows/, и спрашивает про целевую организацию, проект и воркспейсы.
Какие задачи решает
- собрать workflow деплоя на stage и prod для проекта App Builder
- вытащить значения секретов из конфигурации воркспейса
- настроить OAuth S2S вместо устаревшего JWT-деплоя
- добавить проверку манифеста перед выкаткой в прод
- перевести пайплайн на Azure DevOps или GitLab CI
Примеры запросов агенту
- настрой CI/CD для моего проекта App Builder на GitHub
- сгенерируй workflow для деплоя на stage и prod
- помоги вытащить секреты воркспейса и положить их в repository secrets
Как установить appbuilder-cicd-pipeline
1Через Skills CLI (Vercel)
npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a claude-code2Вручную: положить файлы
~/.claude/skills/appbuilder-cicd-pipeline/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/appbuilder-cicd-pipeline/
1Через Skills CLI (Vercel)
npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a codex2Вручную: положить файлы
.agents/skills/appbuilder-cicd-pipeline/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a cursor2Вручную: положить файлы
.cursor/skills/appbuilder-cicd-pipeline/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install adobe/skills appbuilder-cicd-pipeline2Вручную: положить файлы
.github/skills/appbuilder-cicd-pipeline/SKILL.md1Через Skills CLI (Vercel)
npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a gemini-cli2Командой платформы
gemini skills install https://github.com/adobe/skills --path plugins/app-builder/skills/appbuilder-cicd-pipelineВручную: положить файлы
.devin/skills/appbuilder-cicd-pipeline/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о appbuilder-cicd-pipeline
Как установить appbuilder-cicd-pipeline в Claude?
Выполните npx skills add adobe/skills --skill appbuilder-cicd-pipeline -a claude-code. Скилл появится в ~/.claude/skills/appbuilder-cicd-pipeline/SKILL.md.
Что делает appbuilder-cicd-pipeline?
Генерирует workflow-файлы GitHub Actions для сборки, тестов и деплоя проектов Adobe App Builder. Плюс даёт шаблоны для Azure DevOps, GitLab CI и Jenkins и инструкцию по настройке секретов.
Почему деплой падает с ошибкой авторизации?
Скорее всего используется устаревшая команда auth на JWT. Нужны OAuth S2S credentials и все 14 секретов с правильным суффиксом воркспейса.
Исходный текст
SKILL.md · Apache-2.0
--- name: appbuilder-cicd-pipeline description: >- Set up CI/CD pipelines for Adobe App Builder projects. Generates GitHub Actions workflows using adobe/aio-cli-setup-action@3 and adobe/[email protected], plus patterns for Azure DevOps and GitLab CI. Handles OAuth S2S secrets injection, multi-workspace promotion (stage → prod), deploy gating with manifest validation. Use this skill whenever the user mentions CI/CD for App Builder, GitHub Actions for aio deploy, automated deployment pipelines, continuous integration, continuous delivery, deploy automation, multi-environment promotion, aio app add ci, or wants to automate their App Builder build and release process. Also trigger when users mention deploy workflows, release pipelines, or GitHub secrets for App Builder. metadata: category: deployment-automation license: Apache-2.0 compatibility: Requires aio CLI, Node.js 18+, and a CI/CD platform (GitHub Actions, Azure DevOps, or GitLab CI) allowed-tools: Bash(aio:*) Bash(npm:*) Bash(git:*) Read Write Edit --- # App Builder CI/CD Pipeline Set up CI/CD pipelines for Adobe App Builder projects — GitHub Actions (primary), Azure DevOps, GitLab CI. Uses OAuth S2S credentials with IMS authentication. Repository secrets only (no environment secrets). ## Pattern Quick-Reference | User wants | Template | | --- | --- | | GitHub Actions deploy-to-stage | assets/deploy-stage.yml | | GitHub Actions deploy-to-prod | assets/deploy-prod.yml | | GitHub Actions PR tests | assets/pr-test.yml | | Extract secrets from workspace | assets/fetch-secrets.sh | | Azure DevOps / GitLab CI / Jenkins | references/generic-pipeline-guide.md | | Secrets setup guide | references/secrets-management.md | | Debugging deploy failures | references/debugging.md | ## Fast Path (for clear requests) When the user says "set up CI/CD for my App Builder project" and they use GitHub, generate all 3 workflow files + secrets guide immediately: 1. Copy `assets/deploy-stage.yml` → `.github/workflows/deploy_stage.yml` 2. Copy `assets/deploy-prod.yml` → `.github/workflows/deploy_prod.yml` 3. Copy `assets/pr-test.yml` → `.github/workflows/pr_test.yml` 4. Guide secrets setup using `references/secrets-management.md` If user specifies Azure DevOps, GitLab CI, or Jenkins → use `references/generic-pipeline-guide.md`. ## Quick Reference - **Workflow location:** `.github/workflows/` at repository root - **Bootstrap command:** `aio app add ci` generates starter workflow files - **Official actions:** `adobe/aio-cli-setup-action@3` (CLI install) + `adobe/[email protected]` (build/test/deploy) - **Auth model:** OAuth Server-to-Server (S2S) with IMS — the `auth` command in `aio-apps-action` is **DEPRECATED** (JWT). Do not use it. - **Secrets scope:** Repository secrets only. App Builder does **NOT** support GitHub environment secrets. - **Secrets per workspace:** 14 secrets with workspace suffix (`_STAGE`, `_PROD`) - **Prerequisite:** Add "I/O Management API" to each workspace in Developer Console before extracting secrets - **Workspace config:** Run `aio app use <workspace.json>` to configure `.aio` and `.env` files ## Full Workflow (for ambiguous or complex requests) 1. **Check existing setup:** Look for `.github/workflows/` (from `aio app add ci` or manual). Check if workflows already exist. 2. **Determine CI/CD platform:** GitHub Actions is default. Ask if user needs Azure DevOps, GitLab CI, or Jenkins. 3. **Generate workflow files:** Copy templates from `assets/` to `.github/workflows/`. Customize triggers, branch names, and environment suffixes as needed. 4. **Guide secrets setup:**a. Ensure "I/O Management API" is added to the workspace in Developer Consoleb. Download `workspace.json` from Developer Consolec. Run `aio app use <workspace.json>` to configure local `.aio` and `.env`d. Run `assets/fetch-secrets.sh` to extract credential valuese. Guide user to add each secret to GitHub **repository** secrets (NOT environment secrets)f. Add `_STAGE` or `_PROD` suffix to each secret name 5. **Add custom secrets:** If the app uses custom env vars, add them under the `env` key in the Deploy step 6. **Validate:** Run through `references/checklist.md` before merge 7. **Troubleshoot:** If deploy fails, consult `references/debugging.md` for common scenarios 8. **Test:** Push to a branch and verify workflow runs successfully ## Inputs To Request - Current repository path and CI/CD platform preference - Target Adobe organization, project, and workspace names - Whether Stage, Production, or both workspaces need CI/CD - Any custom secrets the application requires ## Deliverables - Workflow YAML files in `.github/workflows/` - Secrets extraction output for repository configuration - Pre-merge validation against `references/checklist.md` ## Quality Bar - All workflow YAML must be syntactically valid - Secrets must use repository scope, never environment scope - OAuth S2S credentials only — no JWT auth references - Each workspace gets its own secret set with correct suffix - Workflows must use pinned action versions (`@3`, `@3.3.0`) ## References - Use `references/github-actions-guide.md` for GitHub Actions workflow patterns and secrets table. - Use `references/generic-pipeline-guide.md` for Azure DevOps, GitLab CI, and Jenkins patterns. - Use `references/secrets-management.md` for OAuth S2S credential extraction and GitHub secrets setup. - Use `references/debugging.md` for troubleshooting deploy failures, CI errors, and workspace promotion issues. - Use `references/checklist.md` for pre-merge CI readiness validation. - Use `assets/deploy-stage.yml`, `assets/deploy-prod.yml`, `assets/pr-test.yml` as workflow templates. - Use `assets/fetch-secrets.sh` to extract secret values from workspace configuration. - Official Adobe docs: [https://developer.adobe.com/app-builder/docs/guides/app_builder_guides/deployment/cicd-using-github-actions](https://developer.adobe.com/app-builder/docs/guides/app_builder_guides/deployment/cicd-using-github-actions) ## Common Issues - **Workflow not triggering:** Verify workflow files are committed to the default branch and triggers match your branching strategy. - **Deploy fails with auth error:** The `auth` command is deprecated. Ensure you are using OAuth S2S credentials, not JWT. Verify all 14 secrets are set correctly with the right workspace suffix. - **"I/O Management API not found":** Add the I/O Management API service to the workspace in Developer Console before extracting secrets. - **Environment secrets not working:** App Builder does NOT support GitHub environment secrets. Move all secrets to repository-level secrets. - **Missing secrets:** Run `fetch-secrets.sh` and compare output against the 14-secret table in `references/github-actions-guide.md`. Each value must be present and correctly suffixed. - **Custom env vars not available in action:** Add custom secrets under the `env` key in the Deploy step of the workflow, not just in GitHub secrets. ## Chaining - Chains FROM `appbuilder-action-scaffolder` (after actions are implemented) - Chains FROM `appbuilder-testing` (automated test execution in CI) - Standalone after setup (workflows run automatically on push/PR/release)
© adobe · Apache-2.0 · adobe/skills