Files
claudekit/.claude/commands/deploy.md
T

970 B

/deploy - Deployment Command

Purpose

Deploy the application to a specified environment with proper checks.

Usage

/deploy [environment: staging | production]

Deploy to: $ARGUMENTS

Workflow

Pre-Deploy Checks

  1. Verify Build

    pnpm build
    
  2. Run Tests

    pnpm test
    
  3. Security Scan

    npm audit --audit-level=high
    

Deploy

  1. Staging

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

    # Deploy to production environment
    

Post-Deploy

  1. Verify Deployment

    • Health checks
    • Smoke tests
  2. Monitor

    • Check logs
    • Watch metrics

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 passed