/deploy
Deploy the application to a target environment with pre/post checks.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/deploy
Context preview
What this command does when you run it.
Deploy the application to a target environment with pre/post checks.
Command definition
deploy.mdDeploy the application to a target environment with pre/post checks.
Steps
1. Determine the target environment from the argument (staging, production, preview). 2. Run pre-deployment checks:
- All tests pass: run the test suite.
- No uncommitted changes: `git status --porcelain`.
- Branch is up to date: `git fetch && git status -uno`.
- Build succeeds: run the build command.
- No critical vulnerabilities: run dependency audit.
3. Detect the deployment method:
- **Vercel/Netlify**: `vercel --prod` or `netlify deploy --prod`.
- **Docker**: Build image, push to registry, update deployment.
- **Kubernetes**: Apply manifests with `kubectl apply`.
- **SSH**: rsync build artifacts and restart service.
- **GitHub Pages**: Push to `gh-pages` branch.
4. Execute the deployment:
- Tag the deployment: `git tag deploy-<env>-<timestamp>`.
- Run the deployment command.
- Wait for health check confirmation.
5. Run post-deployment verification:
- Hit the health endpoint and verify 200 response.
- Run smoke tests if available.
- Check error rates in monitoring if accessible.
6. Report deployment status with rollback instructions.
Format
Deployment: <environment>
Version: <git-sha-short>
Status: <success/failed>
Pre-checks:
- [x] Tests passing
- [x] Build successful
- [x] No uncommitted changes
Deployed at: <timestamp>
URL: <deployment-url>
Health: <healthy/unhealthy>
Rollback: <rollback-command>
Rules
- Never deploy to production from a non-default branch without explicit confirmation.
- Always run pre-deployment checks; abort on any failure.
- Create a deployment tag for every production deployment.
- Include rollback instructions in every deployment output.
- Verify the health endpoint responds within 60 seconds after deployment.
Read more
Deploy the application to a target environment with pre/post checks.
Steps
1. Determine the target environment from the argument (staging, production, preview). 2. Run pre-deployment checks:
- All tests pass: run the test suite.
- No uncommitted changes: `git status --porcelain`.
- Branch is up to date: `git fetch && git status -uno`.
- Build succeeds: run the build command.
- No critical vulnerabilities: run dependency audit.
3. Detect the deployment method:
- **Vercel/Netlify**: `vercel --prod` or `netlify deploy --prod`.
- **Docker**: Build image, push to registry, update deployment.
- **Kubernetes**: Apply manifests with `kubectl apply`.
- **SSH**: rsync build artifacts and restart service.
- **GitHub Pages**: Push to `gh-pages` branch.
4. Execute the deployment:
- Tag the deployment: `git tag deploy-<env>-<timestamp>`.
- Run the deployment command.
- Wait for health check confirmation.
5. Run post-deployment verification:
- Hit the health endpoint and verify 200 response.
- Run smoke tests if available.
- Check error rates in monitoring if accessible.
6. Report deployment status with rollback instructions.
Format
Deployment: <environment> Version: <git-sha-short> Status: <success/failed> Pre-checks: - [x] Tests passing - [x] Build successful - [x] No uncommitted changes Deployed at: <timestamp> URL: <deployment-url> Health: <healthy/unhealthy> Rollback: <rollback-command>
Rules
- Never deploy to production from a non-default branch without explicit confirmation.
- Always run pre-deployment checks; abort on any failure.
- Create a deployment tag for every production deployment.
- Include rollback instructions in every deployment output.
- Verify the health endpoint responds within 60 seconds after deployment.
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

