From harumi-devops-plugin
Roll back a Kubernetes deployment to a previous revision with safety checks. Use when: user wants to rollback, revert, or undo a deployment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/harumi-devops-plugin:rollback-deploymentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Roll back a deployment to a previous revision.
Roll back a deployment to a previous revision.
Ask for these if not provided:
kubernetes.clusters[] list# Current rollout status
kubectl rollout status deployment/<deployment-name> -n <namespace> --context <context>
# Current replica set
kubectl get replicaset -n <namespace> --context <context> -l app.kubernetes.io/name=<deployment-name>
# Revision history
kubectl rollout history deployment/<deployment-name> -n <namespace> --context <context>
If the user hasn't specified a target revision, show the last 5 revisions with their details:
kubectl rollout history deployment/<deployment-name> -n <namespace> --context <context> --revision=<N>
Ask the user which revision to roll back to.
# Compare current vs target revision
kubectl rollout history deployment/<deployment-name> -n <namespace> --context <context> --revision=<current>
kubectl rollout history deployment/<deployment-name> -n <namespace> --context <context> --revision=<target>
Present a clear diff of what changes (image tag, env vars, resource limits, etc.).
Rollback ready!
Execute:
kubectl rollout undo deployment/<deployment-name> -n <namespace> --context <context> --to-revision=<target>
What this will do:
- Roll back <deployment-name> from revision <current> to revision <target>
- [Specific changes: image tag, env vars, etc.]
Verification:
kubectl rollout status deployment/<deployment-name> -n <namespace> --context <context>
kubectl get pods -n <namespace> --context <context> -l app.kubernetes.io/name=<deployment-name>
npx claudepluginhub harumi-io/harumi-devops-plugin --plugin harumi-devops-pluginProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.