Pre-Deploy Checklist
Verification steps to run before deploying to production
CLAUDE.md
Before deploying to production:
- Verify all tests pass in CI on the exact commit being deployed.
- Verify the build completes without warnings or errors.
- Check that environment variables are set correctly in the production environment.
- If there are database migrations, verify they’ve been tested and have rollback scripts.
- Confirm the rollback procedure: how to revert to the previous version if something goes wrong.
- Check that monitoring and alerting are in place for the affected services.
- Deploy to staging first and smoke-test the critical paths before promoting to production.
- Notify the team that a deploy is happening.
Copy this workflow into your CLAUDE.md or agent config file so your agent follows this process automatically.