Deployment workflows, pre-deploy validation, and smoke testing patterns. Use when deploying to staging or production, running smoke tests, or validating deployments.
Route to existing deployment SOPs and provide checklists for safe, validated deployments. This skill does NOT duplicate SOP contentβit links to authoritative sources.
Invoke this skill when:
| Document | Location | Purpose |
|---|---|---|
| Semantic Release SOP | docs/ci-cd/Semantic-Release-Deployment-SOP.md |
Release automation workflow |
| Staging/UAT Release SOP | docs/sop/STAGING-UAT-RELEASE-SOP.md |
UAT validation process |
| Linux Dev Machine Access | docs/deployment/LINUX-DEV-MACHINE-ACCESS-SOP.md |
Pop OS dev server access |
| Production Server Access | docs/deployment/PRODUCTION-SERVER-ACCESS-SOP.md |
Production deployment |
Before ANY deployment:
dev for staging, master for prod)# Validate before deploy
yarn ci:validate
yarn build
After deployment completes:
curl https://{domain}/api/health# Smoke test commands
curl -s https://{domain}/api/health | jq .
# Expected: {"status":"healthy","timestamp":"..."}
For Linear ticket attachment:
## Deployment Evidence - {{TICKET_PREFIX}}-XXX
### Environment
- **Target**: Staging / Production
- **Branch**: `{branch_name}`
- **Commit**: `{commit_sha}`
### Pre-Deployment
- [x] CI checks passed
- [x] PR merged
- [x] Migrations verified
### Post-Deployment
- [x] Health check: PASSED
- [x] Auth flow: PASSED
- [x] Smoke tests: PASSED
### Verification
curl -s https://{domain}/api/health
{"status":"healthy","timestamp":"2025-XX-XXTXX:XX:XX.XXXZ"}
If deployment fails:
git revert {commit_sha}| Branch | Environment | Auto-Deploy |
|---|---|---|
dev |
Staging (Pop OS) | Manual pull |
master |
Production (Coolify) | Automatic |
Note: Merging to dev builds Docker image but requires manual ./scripts/dev-docker.sh pull on Pop OS.