deploy
/deploy - Deployment Command
Section titled “/deploy - Deployment Command”Purpose
Section titled “Purpose”Deploy the application to a specified environment with proper checks.
/deploy [environment: staging | production]Deploy to: $ARGUMENTS
Workflow
Section titled “Workflow”Pre-Deploy Checks
Section titled “Pre-Deploy Checks”-
Verify Build
Terminal window pnpm build -
Run Tests
Terminal window pnpm test -
Security Scan
Terminal window npm audit --audit-level=high
Deploy
Section titled “Deploy”-
Staging
Terminal window # Deploy to staging environment -
Production (requires confirmation)
Terminal window # Deploy to production environment
Post-Deploy
Section titled “Post-Deploy”-
Verify Deployment
- Health checks
- Smoke tests
-
Monitor
- Check logs
- Watch metrics
Output
Section titled “Output”## 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 passedGap Analysis Rule
Section titled “Gap Analysis Rule”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.