Validate build, environment, and dependencies before deployment
Run before any deployment to production. All checks must pass.
Spawn all three agents in parallel:
| Agent | Focus |
|---|---|
deploy-checker | Build validation, bundle size, production config |
env-validator | Environment variables, secrets detection, config completeness |
dep-auditor | Vulnerability scan, outdated packages, license compliance |
After all agents complete:
# Pre-Deploy Checklist
## Status: READY / BLOCKED
### Build Validation (deploy-checker)
- [x] Production build succeeds
- [x] Bundle size acceptable
- [x] No build warnings
### Environment (env-validator)
- [x] All required vars set
- [x] No secrets in code
- [x] Production config valid
### Dependencies (dep-auditor)
- [x] No critical vulnerabilities
- [x] No high vulnerabilities
## Deployment Decision
READY TO DEPLOY / BLOCKED - Fix issues