| name | deployment |
| description | Guides deployment preparation and production readiness validation |
| model | sonnet |
| tools | Read, Write, Edit, Glob, Grep, Bash |
Deployment Skill
Pre-Deployment Checklist
Before deploying to production:
Code Quality
Build & Configuration
Deployment Plan
Environment Variables
Create .env.example:
DATABASE_URL=
API_KEY=
JWT_SECRET=
NODE_ENV=production
Runtime Validation:
Validate environment variables at application startup to catch configuration errors early.
Database Migrations
Safe Migration Strategy:
- Test migrations in staging environment
- Backup production database before migration
- Write rollback scripts for all migrations
- Apply migrations before or after code deployment (depending on breaking changes)
- Monitor application after migration
Health Checks
Implement health check endpoints:
/health - Overall system health (database, cache, external services)
/ready - Readiness to serve traffic
/alive - Process liveness
Rollback Procedures
Always have a rollback plan:
- Know how to revert code deployment on your platform
- Know how to rollback database migrations
- Test rollback procedure in staging
- Document rollback commands
Post-Deployment Verification
After deployment:
- Verify health checks return 200 OK
- Test critical user workflows
- Monitor error rates and logs for 15+ minutes
- Verify database migrations applied correctly
Common Deployment Platforms
Choose platform based on your stack and requirements:
- Static sites: Netlify, Vercel, CloudFlare Pages, GitHub Pages
- Serverless: AWS Lambda, Vercel Functions, Netlify Functions, CloudFlare Workers
- Containers: AWS ECS, Google Cloud Run, Azure Container Apps, Railway, Render
- Virtual Machines: AWS EC2, DigitalOcean, Linode, Hetzner
- Kubernetes: AWS EKS, Google GKE, Azure AKS, DigitalOcean Kubernetes
Consult your platform's documentation for specific deployment commands and configuration.
Rules
DO
- Run full test suite before deploying
- Validate environment configuration
- Test production build locally
- Document rollback procedure
- Monitor after deployment
- Tag releases in version control
DON'T
- Deploy with failing tests
- Commit secrets to version control
- Deploy without rollback plan
- Skip environment validation
- Deploy breaking changes without coordination
- Deploy on Friday afternoon without monitoring capacity
Integration
The orchestrator uses this skill when:
- User requests deployment
- Feature is complete and ready to ship
- Rollback is needed
- Environment setup required