Production Deploy

Use when deploying to production, releasing a version, shipping to users, going live, or rolling back a deployment. Also handles deployment failures and health checks.

vignesh2027 fcc74e8 3 files · 2.8 KB Updated

File contents

Production Deployment Skill

Pre-Deploy Gate

All must pass before deploying:

npm test          # tests must pass
npm run lint      # no lint errors
npm run typecheck # no type errors

If any fail: STOP. Do not deploy. Fix first.

Build

npm run build

Verify build output exists and looks correct.

Deploy

npm run deploy:prod
# or
# vercel --prod
# or your deployment command

Post-Deploy Verification

Wait 60 seconds, then verify:

  1. Health check endpoint responds
  2. Key user flows work (login, core action)
  3. Error rate in monitoring is normal
  4. Response times are normal

If issues found → see @references/rollback.md

Monitoring

For post-deploy monitoring setup: @references/monitoring.md

Rollback

For rollback procedures: @references/rollback.md

vignesh2027/claude-best-practice/tree/main/.claude/skills/deploy commit fcc74e8f52

Frequently asked questions

npx skillmds@latest add vignesh2027/production-deploy