/devops-skills:root-cause-analysisfrom devops-skills
Turns an incident into a blameless postmortem that actually changes something — a factual timeline, multiple contributing factors instead of one scapegoat cause, and action items with real owners and dates that get tracked to completion. Use this whenever the user is writing a postmortem, doing a retro after an outage, asking "why did this really happen," or an incident has been mitigated and needs a writeup. For running the incident itself use `incident-response`, and for turning findings into a tested procedure use `runbooks`.
Ships in devops-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.
None: SKILL.md is the whole skill.
The phrase "root cause" is misleading — most real incidents don't have one cause, they have a chain of contributing factors that each individually looked reasonable, and only in combination produced an outage. A postmortem that names a single root cause almost always stops digging too early, usually at "the engineer who pushed the change" or "the alert that didn't fire," and misses the systemic conditions that let that trigger become an outage.
The only postmortem worth writing is one that changes something. A document that accurately describes what happened but produces no action items is a historical record, not an analysis — write it as an artifact for future action, not a ritual for closure.
Find the contributing factors, not a scapegoat — and change something as a result.
Postmortems written days later from memory drift toward whoever tells the most coherent story, which is rarely the most accurate one. Reconstruct the timeline from logs, metrics, deploy history, and the incident channel transcript — actual timestamps, not "around then" — before anyone starts interpreting what it means.
Done when: the timeline is built entirely from cited sources and would be the same regardless of who wrote it.
"Blameless" is not a tone, it's a structural choice: you assume every person in the timeline made a reasonable decision given what they knew at the time, and the investigation's job is to find out what made that decision look reasonable — a missing alert, a confusing runbook, an untested assumption. The moment a postmortem asks "who did this," people stop giving the honest details that make the analysis useful, and every future postmortem in that organization gets thinner.
Done when: the postmortem describes every human decision in terms of what information was available, not in terms of individual fault.
Real incidents are usually a stack: a code change that introduced a bug, a test suite that didn't cover the case, a review process that approved it anyway, an alert threshold set too loose to catch it early, and an on-call engineer unfamiliar with the service because of a recent reorg. Each of those is independently fixable, and fixing only the first one — reverting the bad code — leaves the other four in place for the next incident.
Done when: the postmortem lists multiple independent contributing factors, spanning more than one layer of the system or process.
An action item like "improve monitoring" with no owner and no date is a wish, not a commitment, and it will still be open — unstarted — at the next incident review. Every action item needs a specific owner, a specific deliverable, and a date, or it doesn't go in the document.
- [ ] Add alert on queue depth > 8k (currently only alerts on consumer lag)
Owner: @data-platform, Due: 2026-08-17
- [ ] Add integration test for partial-config deploy path
Owner: @backend-team, Due: 2026-08-24
Done when: every action item has a named owner, a due date, and lives in the same tracker as regular work, not a separate postmortem graveyard.
The postmortem's real failure mode isn't a bad document — it's a good document whose action items never ship because nobody revisits them. Review open action items on a recurring cadence, separate from writing new postmortems, and treat a stale one as a finding in itself.
Done when: there's a recurring review of open postmortem action items, separate from the postmortem meeting itself, with a visible completion rate.
State the timeline's key events with sources, the contributing factors identified across the stack, and the action items with owners and dates. Name explicitly which contributing factors did not get an action item and why — a postmortem that lists five factors and acts on only two, without saying so, quietly signals that the other three are accepted risk, which should be a deliberate call, not an omission.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`./artifact-managementVersions, stores, and promotes build outputs — registries, immutability, build-once-promote-many, retention and garbage collection, and provenance metadata. Use this whenever the user sets up an artifact or container registry, asks how to promote a build between environments without rebuilding, needs a retention or cleanup policy, or wants to trace where an artifact came from. For an image's contents and size use `image-optimization`; for vulnerability scanning use `image-scanning`./autoscalingCovers scaling Kubernetes workloads and nodes to demand — HPA on the right metric, VPA, cluster autoscaler, custom/external metrics, avoiding thrash with stabilization windows, and requests as the foundation underneath it all. Use this whenever the user is configuring an HPA, deciding between HPA and VPA, debugging autoscaling that flaps, or sizing a cluster autoscaler. For the requests/limits autoscaling depends on use `kubernetes-operations`; for cost tradeoffs use `cost-optimization`./backup-and-restoreDefines the discipline of building backups you can actually restore under pressure — RPO-driven frequency, restores rehearsed on a schedule, offsite immutable copies, encryption, and treating a backup that has never been restored as equivalent to no backup at all. Use this whenever the user sets up a backup job, chooses a retention policy, argues about RPO or RTO, asks whether current backups are enough, or plans for ransomware or accidental deletion. For the wider recovery plan use `disaster-recovery`, and for stateful platform durability use `stateful-workloads`.