Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
appbuilder-cicd-pipeline【部署与运维】Set up CI/CD pipelines for Adobe App Builder projects. Generates GitHub Actions workflows using adobe/aio-cli-setup-action@3 and adobe/aio-apps-action@3.3.0, 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 u…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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).
| 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 |
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:
assets/deploy-stage.yml → .github/workflows/deploy_stage.ymlassets/deploy-prod.yml → .github/workflows/deploy_prod.ymlassets/pr-test.yml → .github/workflows/pr_test.ymlreferences/secrets-management.mdIf user specifies Azure DevOps, GitLab CI, or Jenkins → use references/generic-pipeline-guide.md.
.github/workflows/ at repository rootaio app add ci generates starter workflow filesadobe/aio-cli-setup-action@3 (CLI install) + adobe/aio-apps-action@3.3.0 (build/test/deploy)auth command in aio-apps-action is DEPRECATED (JWT). Do not use it._STAGE, _PROD)aio app use <workspace.json> to configure .aio and .env files.github/workflows/ (from aio app add ci or manual). Check if workflows already exist.assets/ to .github/workflows/. Customize triggers, branch names, and environment suffixes as needed.workspace.json from Developer Consolec. Run aio app use <workspace.json> to configure local .aio and .envd. 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 nameenv key in the Deploy stepreferences/checklist.md before mergereferences/debugging.md for common scenarios.github/workflows/references/checklist.md@3, @3.3.0)references/github-actions-guide.md for GitHub Actions workflow patterns and secrets table.references/generic-pipeline-guide.md for Azure DevOps, GitLab CI, and Jenkins patterns.references/secrets-management.md for OAuth S2S credential extraction and GitHub secrets setup.references/debugging.md for troubleshooting deploy failures, CI errors, and workspace promotion issues.references/checklist.md for pre-merge CI readiness validation.assets/deploy-stage.yml, assets/deploy-prod.yml, assets/pr-test.yml as workflow templates.assets/fetch-secrets.sh to extract secret values from workspace configuration.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.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.env key in the Deploy step of the workflow, not just in GitHub secrets.appbuilder-action-scaffolder (after actions are implemented)appbuilder-testing (automated test execution in CI)