From clarc
Guides deployment strategy selection and execution for Kubernetes, serverless, Docker targets. Performs pre-deploy checks, runs deployment, verifies health, supports rollback.
How this command is triggered — by the user, by Claude, or both
Slash command
/clarc:deployThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /deploy Route to the right deployment pattern based on your target environment and strategy. ## Usage ## Steps Claude Should Follow ### 1. Identify Target and Environment If not specified via `$ARGUMENTS`, ask: - Deployment target: Kubernetes, serverless (Lambda/Cloud Run/Vercel), Docker Compose, bare metal? - Target environment: dev / staging / production? ### 2. Load the Right Skill Load skill `deployment-patterns` for strategy selection and execution steps. For pipeline setup, additionally load skill `ci-cd-patterns`. ### 3. Recommend Strategy by Target | Target | Environmen...
Route to the right deployment pattern based on your target environment and strategy.
/deploy — interactive deployment strategy guide
/deploy k8s — Kubernetes deployment (blue-green, canary, rolling)
/deploy serverless — serverless deployment (Lambda, Cloud Run, Vercel)
/deploy docker — Docker Compose or Swarm deployment
/deploy rollback — roll back a failed deployment
If not specified via $ARGUMENTS, ask:
Load skill deployment-patterns for strategy selection and execution steps.
For pipeline setup, additionally load skill ci-cd-patterns.
| Target | Environment | Recommended Strategy |
|---|---|---|
| Kubernetes | production | Argo Rollouts canary (5% → 25% → 100%) |
| Kubernetes | staging | Rolling update |
| Serverless | production | Traffic splitting via weighted aliases/revisions |
| Serverless | staging | Direct deploy |
| Docker | production | Blue-green with nginx upstream switch |
| Docker | staging | Recreate or rolling update |
Before executing, verify all of the following are in place:
If any item is missing, surface it and offer to add it before proceeding.
For automated targets: run the deployment commands step by step, showing output. For manual targets: provide exact commands with explanations.
After deployment completes:
/deploy rollback)deployment-patterns — Rollback Strategies section/resilience-review — validate health checks and failure modes post-deploy/add-observability — ensure deploy metrics and alerts are in place/slo — define or update error budget after a new deploymentnpx claudepluginhub marvinrichter/clarc --plugin clarc/deployGenerates GitHub Actions workflow to build and deploy VitePress wiki site to GitHub Pages after checking for wiki directory and existing workflows.
/deployForwards to /portaljs-deploy for one minor release, then removed. Invoke /portaljs-deploy instead.
/deployDeploys app to staging/production/preview with pre/post checks. Auto-detects method (Vercel/Netlify/Docker/Kubernetes/SSH/GitHub Pages), tags deploys, verifies health, outputs status and rollback.
/deployDeploys current project to Vercel via CLI with preflight checks. Defaults to preview; pass 'prod' or 'production' for production with explicit confirmation.
/deployRuns pre-flight checks (env validation, migrations, bundle size, ship audit), deploys the project, and performs production health check.
/deployGuides deployment of Kotlin/Next.js services to Railway (default), AWS, or GCP with pre-flight checks, config templates, and step-by-step instructions.