Skip to content

syahiidkamil/Software-Engineer-AI-Agent-Atlas / .claude/skills/deploy

deploy

Flagged

Take a project from working locally to running in production, provider-agnostic — write the DEPLOY.md runbook, gate a release, deploy through the existing CI/CD pipeline, the provider's CLI or API, or exact printed steps, then health-check, smoke-test, and log it. Use when deploying, shipping, releasing, setting up hosting, rolling back, or reading production logs.

FileKindSize
SKILL.mdskill md7.8 KB
providers/coolify.mdmarkdown2.3 KB
providers/docker-compose-ssh.mdmarkdown1.2 KB
providers/fly.mdmarkdown1.2 KB
providers/netlify.mdmarkdown1.1 KB
providers/railway.mdmarkdown950 B
providers/vercel.mdmarkdown1.4 KB

providers/docker-compose-ssh.md

View on GitHub
# Docker Compose over SSH

For a server you manage. No provider token: access is your SSH key. The host goes in `DEPLOY.md`
(user@host, or an SSH config alias), never in shipped files.

## One-time setup
```
docker context create <name> --docker "host=ssh://<user>@<host>"
```
The remote user needs access to the Docker socket. An SSH `ControlMaster` entry in
`~/.ssh/config` keeps repeated calls fast.

## Deploy
```
docker --context <name> compose -f compose.yaml -f compose.production.yaml pull
docker --context <name> compose -f compose.yaml -f compose.production.yaml up -d --wait --remove-orphans
```
Pin image tags (not `latest`) so a rollback has something to go back to. Migrations: run the
migration service or one-off command (`compose run --rm <app> <migrate>`) before `up`.

## Logs
`docker --context <name> compose logs -f -n 200 --since 30m <service>`.

## Rollback
Set the previous image tag (in the env file or compose override) and run `up -d` again.

## Secrets
Compose reads `env_file` / `.env` on the machine running the command, and `secrets:` mounts files
at `/run/secrets/<name>`. Keep server-side secret files on the server (created by the user), not in
the repo. Bind-mount paths resolve on the remote host.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall