deployment-composer
Compose deployment workflows from smaller skills and repo signals, including release PR promotion, CI quality gates, provider deployment, post-deploy verification, rollback, and failed-check diagnosis. Use when the user asks for a deployment plan, release workflow, ship-to-staging/production flow, or a smart deploy process across GitHub, Vercel, EC2, Docker, or custom CI.
What this skill does
# Deployment Composer Compose the smallest safe deployment workflow from the repository's actual branching model, CI setup, deploy provider, and release risk. ## Purpose Use this as the deployment meta-skill. It routes work to focused skills instead of treating every deploy as the same checklist. ## Contract Inputs: - Repository root - Desired release/deploy goal - Optional target environment, source branch, target branch, PR number, or provider Outputs: - Deployment route: release PR, provider deploy, CI setup, or repair - Selected delegated skills - Quality gate state - Confirmation gates still required Creates/Modifies: - Nothing during discovery - May create local release notes or PR body files - May create GitHub PRs only through `release-pr-gates` after confirmation rules are satisfied External Side Effects: - Reads git/GitHub metadata and workflow status - May trigger provider deployment commands through delegated skills Confirmation Required: - Before production deploys or merges - Before creating GitHub PRs when the user did not explicitly request PR creation - Before running provider commands with production flags Delegates To: - `release-pr-gates` - `deploy` - `gh-fix-ci` - `ec2-backend-deployer` - `testing-cicd-init` - `changelog-generator` ## Composed Skills | Stage | Use | |-------|-----| | `release-pr-gates` | GitHub release PRs, branch discovery, staging/master/main promotion, waiting for checks | | `deploy` | General staging/production deploy checklist, local quality gates, post-deploy monitoring | | `gh-fix-ci` | Failed GitHub Actions checks on release or deploy PRs | | `ec2-backend-deployer` | Docker + GitHub Actions + EC2 backend deployment setup | | `testing-cicd-init` | Missing or weak GitHub Actions/test infrastructure | | `changelog-generator` | Release notes from commit history | | Provider-specific skills | Vercel, Docker, Turborepo, monitoring, or app-specific deployment when present | ## Discovery Phase Always inspect before choosing a path: ```bash git status -sb git remote -v git branch -r find . -maxdepth 3 -type f \( -name 'package.json' -o -name 'vercel.json' -o -name 'Dockerfile' -o -name 'docker-compose.yml' -o -name 'docker-compose.yaml' -o -name 'turbo.json' \) find .github/workflows -maxdepth 1 -type f 2>/dev/null ``` For GitHub repos: ```bash gh repo view --json nameWithOwner,defaultBranchRef gh workflow list ``` Capture: - Current branch and dirty worktree state - Remote branches: `develop`, `staging`, `main`, `master` - Default branch - CI provider and required checks - Deploy provider: Vercel, EC2/Docker, GitHub Actions, custom scripts, or unknown - Package manager and quality commands - Environment targets: preview, staging, production ## Routing Rules ### Release Promotion If the user wants to promote code between long-lived branches: 1. Use `release-pr-gates`. 2. Prefer `develop` -> `staging` when `staging` exists. 3. Fall back to `develop` -> `master/main` when `staging` is absent. 4. Wait for quality gates before calling the release ready. 5. Use `gh-fix-ci` if checks fail. ### Direct Provider Deploy If the user wants to deploy the current branch/app to an environment: 1. Use `deploy` for local pre-deploy checks and post-deploy verification. 2. Route provider setup or execution: - Vercel project: use Vercel-specific guidance or CLI. - EC2/Docker backend: use `ec2-backend-deployer`. - Turborepo: inspect `turbo.json` and use affected builds where appropriate. - Unknown provider: inspect scripts and workflow files before acting. 3. Do not deploy production without explicit confirmation. ### CI Setup or Repair If the repo has no CI or weak gates: 1. Use `testing-cicd-init` to add baseline checks. 2. Use `deploy` after CI exists. 3. For failing existing checks, use `gh-fix-ci`. ### Release Notes If the release needs user-facing notes or a PR body: 1. Use `changelog-generator` for commit summaries. 2. Include migrations, env changes, and rollback notes when visible. ## Deployment Workflow 1. Discover repo topology and deployment provider. 2. Choose the narrowest route from the routing rules. 3. Run local gates before every release PR or deployment. Format, lint, and type-check are mandatory because they mirror the GitHub Actions gates and are cheap to run locally: ```bash bun run format || npm run format || npx biome check --write . bun run lint || npm run lint || bunx turbo lint bun run typecheck || bun run type-check || npm run typecheck || npm run type-check || npx tsc --noEmit bun run test || npm test bun run build || npm run build ``` Fix format, lint, and type-check failures before pushing or deploying. Tests and build should run when configured; report absent scripts as coverage gaps. 4. Execute the selected release or deploy path. 5. Wait for remote checks or deployment status. 6. Verify the deployed environment: - health endpoint - critical page/API path - logs or monitoring when available 7. Report final status and blockers. ## Safety Rules - Never hide a dirty worktree; identify whether local changes are part of the deploy. - Never bypass branch protection or required checks. - Never merge or deploy production without explicit confirmation. - Never assume `staging` exists; verify remote branches. - Never call skipped or absent checks green. - Prefer existing repo scripts and workflows over inventing new deploy commands. - If a provider cannot be identified, stop after discovery and report what is missing. ## Output Shape Return a compact deployment state: ```markdown Deployment route: [release PR / provider deploy / CI setup / repair] Repository: [owner/repo] Branches: [source] -> [target] or [current branch] Provider: [Vercel/EC2/Docker/GitHub Actions/custom/unknown] Checks: [passing/failing/pending/not configured] Deployment: [not started/in progress/succeeded/failed] Verification: [passed/failed/not available] Needs confirmation: [production merge/deploy, if applicable] ```
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.