From rsturla-skills
Diagnose and troubleshoot OpenShift cluster and workload issues. Pod failures, networking, storage, operators, SCCs, and node problems. Use when the user has an OpenShift issue, mentions oc commands, pod crashes, CrashLoopBackOff, ImagePullBackOff, routes not working, or cluster problems — even if they just say "my pod won't start" or "the app is broken."
How this skill is triggered — by the user, by Claude, or both
Slash command
/rsturla-skills:openshift-troubleshootThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
# What's happening right now?
oc get events -n <ns> --sort-by=.metadata.creationTimestamp
oc describe pod <pod> -n <ns> # check Events section at bottom
oc logs <pod> --previous -n <ns> # logs from last crashed container
oc get events -n <ns> --sort-by=.metadata.creationTimestampoc describe pod/svc/route/pvc <name>oc logs <pod> --previous (for crashes), oc logs <pod> -f (live)oc debug deployment/<name> or oc debug node/<node>oc get clusteroperators — look for Degraded=Trueoc adm must-gather for support cases| Status | Likely Cause | Diagnostic Command |
|---|---|---|
| CrashLoopBackOff | App error, SCC, bad probes | oc logs <pod> --previous |
| ImagePullBackOff | Bad image ref, missing pull secret | oc describe pod <pod> Events |
| Pending | No capacity or PVC unbound | oc describe pod <pod> Events; oc get pvc |
| OOMKilled | Memory limit too low (exit 137) | oc adm top pod -n <ns> vs resource limits |
| CreateContainerConfigError | Missing ConfigMap/Secret ref | oc describe pod <pod> Events |
Rule of thumb: "If it doesn't work, it's RBAC. If not, it's SCC. If not, it's DNS."
restricted-v2 drops ALL capabilities, assigns random UID from namespace rangeanyuid to a service account, not a user:oc adm policy add-scc-to-user anyuid -z <sa-name> -n <ns>
oc get pod <pod> -o jsonpath='{.metadata.annotations.openshift\.io/scc}'openshift-ingress:apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-from-openshift-ingress
spec:
ingress:
- from:
- namespaceSelector:
matchLabels:
policy-group.network.openshift.io/ingress: ""
podSelector: {}
oc debug + curl/dig to test connectivity from inside the cluster.See REFERENCE.md for node troubleshooting, storage, operators, builds, must-gather, and log collection.
npx claudepluginhub rsturla/skillsGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.