/rsturla-skills:openshift-troubleshootfrom 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."
Ships in rsturla-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
# 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.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (rsturla/skills) — no native marketplace selected
npx claudepluginhub p/rsturla-rsturla-skills13 skills in this plugin
/build-agentBuild TypeScript AI agents with eval framework, provider abstraction, and production guardrails. Uses Vercel AI SDK for model-agnostic tool-use loops, Zod for structured outputs, Vitest for evals, and OpenTelemetry for observability. Covers prompt caching, extended thinking, RAG pipelines, structured output enforcement, tool annotations, seed tool calls, toolcall regression evals, and duplicate call detection. Use when the user wants to build an agent, create an AI assistant, implement tool-use, or scaffold an agentic system — even if they just say "build a bot", "add AI to this", or "make it agentic."
/code-reviewComprehensive code review using multiple specialized agents. Checks architecture, error handling, naming, testing, and style against project conventions. Use when the user asks for a code review, says "review this", "check my code", or wants feedback on changes — even if they just say "what do you think?" about a diff.
Other plugins' skills for the same job
/commit-message