strutlisted
Install: claude install-skill gfargo/skills
# strut — VPS Stack Management
strut is a Bash CLI for managing Docker Compose stacks on VPS infrastructure. Commands follow the shape:
```
strut <stack> <command> [--env <name>] [options]
```
`--env <name>` selects the environment file `.<name>.env` (e.g. `--env prod` reads `.prod.env`). Most commands run against a VPS over SSH; some run locally.
## Command Quick Reference
```bash
# Deploy & release
strut <stack> release --env prod # update repo → migrate → deploy → verify (on VPS)
strut <stack> deploy --env prod # deploy containers (local, or VPS if VPS_HOST set)
strut <stack> rebuild --env prod # build images on target + deploy
strut <stack> stop --env prod # stop containers
strut <stack> rollback --env prod # restore previous deploy snapshot
# Inspect
strut <stack> status --env prod # container status
strut <stack> health --env prod --json # health checks
strut <stack> briefing --env prod # one-call situation report: posture + prioritized actions
strut <stack> preflight --env prod # deploy go/no-go verdict (GO/CAUTION/NO-GO) before releasing
strut <stack> logs <service> --follow --env prod
strut <stack> diff --env prod # preview pending changes vs VPS
strut fleet status # git sync state across all [hosts]
# Data
strut <stack> backup all --env prod # backup all databases
strut <stack> restore <file> --dry-run # rehearse a restore (non-destructive)