| name | project-deploy |
| description | Deploy the current project to a preview or production environment. Runs pre-deploy checks, deploys (with Vercel integration if available), and verifies the deployment with browser automation. Use when someone says 'deploy', 'ship it', 'push to production', 'create a preview', or 'let me see it live'. |
Project Deploy
I'll perform a complete deployment workflow: pre-deploy checks, environment setup, deployment execution, post-deploy verification, and a summary report.
Pre-Deployment Checks
1. Test Suite Validation
I'll run the full test suite to ensure code quality before deploy:
- Read MASTER_BLUEPRINT.md for the configured test command
- Execute tests with:
[test-command]
- Report pass/fail count
- Block deployment if tests fail (unless explicitly overridden)
2. Source Control Status
I'll check for uncommitted changes:
- Run
git status
- Warn if any untracked or modified files exist
- Request confirmation before deploying with dirty state
3. Environment Validation
I'll verify deployment readiness:
- Check for
.env or .env.local files (flag if missing)
- Verify required environment variables are set for deployment target
- Warn about any secrets that might be exposed or missing
- Check deployment configuration (vercel.json, netlify.toml, etc.)
4. Code Quality Checks
I'll validate code quality:
- Run type checker (tsc, mypy, etc.) if configured
- Run linter (eslint, ruff, etc.) if configured
- Report any blocking issues
If pre-deploy checks fail, I'll stop and provide remediation steps.
Deployment Execution
For Vercel Projects