skills/deployment-composer/SKILL.md
Compose deployment workflows from smaller skills and repo signals, including trunk-based releases, 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 environments, or a smart deploy process across GitHub, Vercel, EC2, Docker, or custom CI.
npx skillsauth add shipshitdev/library deployment-composerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Compose the smallest safe deployment workflow from the repository's actual branching model, CI setup, deploy provider, and release risk. Routes work to focused skills instead of treating every deploy as the same checklist.
Inputs:
Outputs:
Creates/Modifies:
release-pr-gates after confirmation rules are satisfiedExternal Side Effects:
Confirmation Required:
Delegates To:
release-pr-gatesdeploygh-fix-ciec2-backend-deployertesting-cicd-initchangelog-generator| Stage | Use |
|-------|-----|
| release-pr-gates | GitHub release PRs, branch discovery, gate + cut releases on the trunk, 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 |
Always inspect before choosing a path:
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:
gh repo view --json nameWithOwner,defaultBranchRef
gh workflow list
Capture:
If the user wants to cut a release:
release-pr-gates to gate the release on the trunk (default branch).staging and production are deployment environments driven by CI/tags — not git branches.gh-fix-ci if checks fail.If the user wants to deploy the current branch/app to an environment:
deploy for local pre-deploy checks and post-deploy verification.ec2-backend-deployer.turbo.json and use affected builds where appropriate.If the repo has no CI or weak gates:
testing-cicd-init to add baseline checks.deploy after CI exists.gh-fix-ci.If the release needs user-facing notes or a PR body:
changelog-generator for commit summaries.Discover repo topology and deployment provider.
Choose the narrowest route from the routing rules.
Run local gates before every release PR or deployment. Format, lint, and type-check are mandatory:
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.
Execute the selected release or deploy path.
Wait for remote checks or deployment status.
Verify the deployed environment:
Report final status and blockers.
staging environment is configured; verify CI/deployment settings.Return a compact deployment state:
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]
development
Coordinates a weekly engineering review of board accuracy, recent code changes, operational health, and scoped cleanup. Use for a recurring repository health review or a review of the last several days.
testing
Audits project board configuration and prepares explicitly requested setup, copy, or normalization changes while preserving the existing workflow and provider boundaries. Use when inspecting a board's fields, columns, scope, or configuration.
testing
Reconciles a project board with current work and delivery evidence, reports incomplete coverage and metadata gaps, and applies only approved provider-supported field changes. Use when auditing board drift, reviewing blocked work, or assessing upcoming delivery.
development
Walk through how a subsystem works. Use for "how does X work", code walkthroughs before changing something, and placement or ownership questions. Explains architecture, runtime flow, and onboarding mental models. Can critique architecture. Use why for motivation.