pre-deploy-guardian
A rigorous 8-phase validation pipeline to audit environment, security, data migrations, and API stability before deploy.
skill install https://www.promptspace.in/skills/pre-deploy-guardianThe Ultimate Quality Gate for Production Deploys
Deploying shouldn't be a "fingers crossed" experience. Pre-Deploy Guardian is an automated 8-phase validation pipeline designed to catch the critical failures that standard CI/CD pipelines often miss, such as misconfigured environment variables, breaking API contracts, and missing rollback strategies.
What it does
This skill systematically audits your project across eight key dimensions:
- Environment Scan: Validates .env files against examples and flags placeholders.
- Code Health: Verifies test stability, linting, and build integrity.
- Dependency Audit: Scans for high-severity CVEs and loose version ranges.
- Data Layer: Detects pending or destructive migrations (DROP/TRUNCATE).
- API Stability: Flags breaking changes in routes and response formats.
- Security Gate: Hunts for hardcoded secrets and debug-mode leakage.
- Rollback Plan: Generates a custom, ready-to-execute recovery document.
- Deploy Summary: Produces a final Green/Yellow/Red readiness report.
Why use this skill?
While CI proves the code builds, Pre-Deploy Guardian proves the code is safe for production. It acts as an expert DevOps engineer standing between your merge and your customers, ensuring you never ship a broken migration or an exposed API key again. It supports any framework using standard manifest files (package.json, pyproject.toml, Cargo.toml, etc.).
Use cases
- Prevent accidental deployment of destructive database migrations.
- Audit environment variables for missing keys or placeholder values.
- Detect breaking API changes before they reach production consumers.
- Automatically generate a structured rollback plan for every release.
- Block deployments containing plain-text secrets or high-severity CVEs.
Example
Prompt
Sample output preview is available after purchase.