bundles/dev-workflow/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
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo monorepo build system guidance. Triggers on: `turbo.json`, task pipelines, `dependsOn`, caching, remote cache, the `turbo` CLI, `--filter`, `--affected`, CI optimization, environment variables, internal packages, monorepo structure, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.