- Home
- Skills
- DevOps & Cloud
- deploy guard
Works with the AI Agents you already use
deploy guard
by Mgnlocki
Pre-deploy readiness auditor and runbook generator for Node, Docker, and VPS stacks.
$5
deploy guard
Example session with this skill installed
I need to deploy a new Express feature to my VPS using PM2 and Nginx. It includes a new environment variable for Stripe and a database migration to add a 'status' column to the orders table.
- Read your context and instructions
- Compiled the deploy guard
I have audited your deployment plan for the Express feature. The primary risks identified are the new environment variable parity and the lack of a verified rollback for the schema migration.
Pre-Deploy Audit — Express App → Production VPS
Verdict: 🛑 NO-GO (Blockers identified)
Blockers (must fix before deploy)
- 🔴 Missing Env Var — The code requires
STRIPE_WEBHOOK_SECRETbut it is missing from the server.env.- Fix: Add
STRIPE_WEBHOOK_SECRETto your production.env. - Rollback: Remove the key if the feature is reverted.
- Fix: Add
- 🔴 Migration Safety — Adding a column to
ordersrequires a backup.- Check:
pg_dump -Fc mydb > pre_migrate.dump - Fix: Run backup before migration.
- Check:
Verified OK
- SSL: Certbot expires in 45 days.
- Disk: 62% utilized (18GB free).
- Nginx: Config test passed.
Runbook (est. downtime: ~5 sec at step 4)
- SNAPSHOT:
pg_dump -Fc mydb > backup-$(date +%F).dump. Rollback:pg_restore -d mydb backup.dump. - PULL:
git pull origin main✓ expect: Clean merge. Rollback:git reset --hard HEAD@{1}. - DEPS:
npm ci✓ expect:added X packages. - MIGRATE:
npx knex migrate:latest✓ expect:Batch 5 run. Rollback:npx knex migrate:rollback. - RELOAD:
pm2 reload app --update-env✓ expect: statusonline. Rollback:pm2 revert app. - SMOKE:
curl -f http://localhost:3000/healthand checkpm2 logs --lines 50.
Next steps
- Manually verify the
STRIPE_WEBHOOK_SECRETis added to the server. - Run the backup command listed in step 0.
- Proceed with the numbered runbook steps.
Connects securely to your tools. The creator never sees your data.
About this skill
Ship without the 2AM rollback. Audits what actually breaks launches: env-var parity code↔server, secrets hygiene, lockfile, health endpoint, nginx gaps (websockets/timeouts/body size), pm2 startup persistence, SSL expiry, disk/RAM, and — above all — a tested rollback planned BEFORE the deploy. Outputs GO / NO-GO verdict, numbered copy-paste runbook with a rollback for every step, post-deploy smoke checklist. Built for Node/pm2/nginx/certbot VPS stacks and Docker. Migration safety rules included (expand-then-contract).
Requires manual command output if direct server access is unavailable. Focused on VPS/Docker stacks, not specialized for Kubernetes or serverless PaaS.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.