Skip to content

deploy

Deploy the application to a specified environment with proper checks.

/deploy [environment: staging | production]

Deploy to: $ARGUMENTS

  1. Verify Build

    Terminal window
    pnpm build
  2. Run Tests

    Terminal window
    pnpm test
  3. Security Scan

    Terminal window
    npm audit --audit-level=high
  1. Staging

    Terminal window
    # Deploy to staging environment
  2. Production (requires confirmation)

    Terminal window
    # Deploy to production environment
  1. Verify Deployment

    • Health checks
    • Smoke tests
  2. Monitor

    • Check logs
    • Watch metrics
## Deployment Complete
**Environment**: staging
**Version**: v1.2.3
**URL**: https://staging.example.com
### Checks
- [x] Build successful
- [x] Tests passing
- [x] Security scan clean
- [x] Health check passed

Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.