Skip to content
Documentation
Skill

/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.

From plugin
claude-best-practice
41 skill3 agents8 commands
Install
$ npx -y skills add vignesh2027/claude-best-practice --skill deploy --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/deploy

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

deploy.SKILL.md
name: production-deploy
description: 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.

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

Ships withclaude-best-practice

The most comprehensive, production-ready guide to mastering Claude Code From vibe coding → agentic engineering → autonomous AI development teams Built for engineers who treat Claude Code as infrastructure, not a toy.

Get the whole plugin
Stats
4
Stars
1
Forks
Active
Maintenance
Shell
Language
17d ago
Last commit
4mo ago
Created

Repo: vignesh2027/claude-best-practice