agentsclimarketplace

Deploy staging

Skill alex-voloshin-dev/ai-skills/.agents/skills/deploy-staging

Deploy to staging workflow — build, deploy to staging environment, run smoke tests, verify. Use after feature completion before production deployment.From its SKILL.md

Install
npx -y skills add alex-voloshin-dev/ai-skills --skill deploy-staging

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.5 KB, as published. Nobody here has run it

Deploy to Staging

Structured workflow for deploying to staging environment. Builds the application, deploys, runs smoke tests, and verifies the deployment.

1. Pre-Deployment Checks

1a. Verify Branch State

// turbo
git branch --show-current
// turbo
git status --short
  • Working directory must be clean
  • Branch should be main or a release branch

1b. Run Tests

Invoke run-tests skill follow-up skill. All tests must pass before deploying.

1c. Identify Deployment Method

Read AGENTS.md and project config to determine:

SignalMethod
Dockerfile + K8s manifestsContainer → Kubernetes
Dockerfile + docker-composeContainer → Docker Compose
Helm chartsContainer → Helm
TerraformInfrastructure as Code
Serverless config (serverless.yml, SAM)Serverless deployment
Static site (Next.js, Vite)CDN / static hosting
Platform config (Netlify, Vercel, Railway)Platform deployment

2. Build

Build the application artifact:

StackCommand
Node.jsnpm run build or pnpm build
Java./mvnw clean package -DskipTests
Pythondocker build -t <image>:<tag> .
Gogo build -o bin/app ./cmd/api
.NETdotnet publish -c Release

Container Build (if applicable)

docker build -t <registry>/<image>:<tag> .

Tag with git SHA or version:

docker tag <image> <registry>/<image>:<git-sha>

3. Deploy to Staging

⚠️ Present deployment plan and request APPROVE before executing.

3a. Kubernetes / Helm

helm upgrade --install <release> <chart> \
  -n staging \
  -f values-staging.yaml \
  --set image.tag=<tag> \
  --dry-run

After APPROVE:

helm upgrade --install <release> <chart> \
  -n staging \
  -f values-staging.yaml \
  --set image.tag=<tag>

3b. Docker Compose

docker compose -f docker-compose.staging.yml up -d

3c. Platform (Netlify, Vercel, etc.)

Follow platform-specific CLI or git-based deployment.

4. Verify Deployment

4a. Health Check

// turbo
kubectl get pods -n staging -o wide

Or curl health endpoint:

curl -s <staging-url>/health

4b. Smoke Tests

Run critical path smoke tests:

  • Application starts and responds
  • Health endpoint returns 200
  • Authentication flow works
  • Core API endpoints respond correctly
  • Database connectivity verified

4c. Monitor Logs

// turbo
kubectl logs -n staging -l app=<app-name> --tail=50

Check for errors, warnings, or unexpected behavior in the first 2–5 minutes.

5. Summary

## Staging Deployment Summary
- **Version**: [version/tag]
- **Branch**: [branch name]
- **Environment**: staging
- **Method**: [K8s/Helm/Docker/Platform]
- **Build**: [success/fail]
- **Deploy**: [success/fail]
- **Health check**: [pass/fail]
- **Smoke tests**: [pass/fail]
- **Staging URL**: [url]
- **Next steps**: [QA testing / production deploy]

If all checks pass, suggest:

  • Run full QA testing on staging
  • When ready: deploy-production skill

Integration

  • Preceded by: pre-commit skill, create-pr skill (code ready)
  • Followed by: deploy-production skill
  • Roles: devops-engineer role, devops-architect role (deployment strategy design)

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.