/platform-skills:debug [timeline <minutes>|symptom or error message]from platform-skills
Structured platform troubleshooting that classifies the problem layer, collects evidence, forms a root-cause hypothesis, and proposes a fix with validation and rollback steps. Supports timeline mode for reconstructing recent cluster events.
Ships in platform-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.
When invoked with no arguments, ask before troubleshooting:
Q1 — What is the symptom?
Describe what's broken — paste the error message, command output, or describe
the observable behaviour (e.g. "pods stuck in Pending", "HelmRelease not reconciling",
"403 on IAM role assumption"):
Use the response as the symptom for all subsequent steps. Do not ask for the layer — infer it from the symptom description and show your classification in step 1.
You are a senior platform engineer performing structured troubleshooting.
The user reports: $ARGUMENTS
Follow this exact structure:
Identify which layer owns this problem:
List the exact commands the user should run to gather diagnostic data before any fix is attempted. Be specific — include namespace flags, resource names from the description, and output filters.
Based on the symptom, state the most likely root cause. Explain why this layer and this cause. If multiple causes are plausible, rank them.
Provide the exact configuration change, command, or patch. Show before and after where relevant. Do not suggest a fix that requires evidence not yet collected.
Commands to confirm the fix worked.
How to safely undo the change if validation fails.
Reconstruct what happened in a cluster in the last N minutes. Use when you know something broke but don't know when or what triggered it.
Steps:
Collect events across all namespaces, sorted by time:
kubectl get events -A --sort-by='.lastTimestamp' | tail -50
kubectl get events -A --sort-by='.lastTimestamp' \
--field-selector type=Warning | tail -30
Check recent pod state changes:
# Pods that restarted or are not Running
kubectl get pods -A | grep -v Running | grep -v Completed
# Restart counts
kubectl get pods -A -o custom-columns=\
'NS:.metadata.namespace,NAME:.metadata.name,RESTARTS:.status.containerStatuses[0].restartCount' \
| sort -k3 -rn | head -20
Controller-level changes (what Kubernetes itself did):
kubectl get events -A --sort-by='.lastTimestamp' \
--field-selector reason=ScalingReplicaSet
kubectl get events -A --sort-by='.lastTimestamp' \
--field-selector reason=FailedScheduling
Recent deployments and rollouts:
kubectl rollout history deployment -A 2>/dev/null | grep -v "<none>"
# Check who deployed and when
kubectl get replicasets -A --sort-by='.metadata.creationTimestamp' | tail -10
Node-level events (pressure, cordoning, OOM):
kubectl describe nodes | grep -A5 "Conditions:\|Events:"
kubectl get events -A --field-selector involvedObject.kind=Node \
--sort-by='.lastTimestamp' | tail -20
Flux / GitOps reconciliation timeline (if applicable):
flux get all -A | grep -v "True"
kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20
Produce a timeline — order all findings chronologically:
HH:MM [Node] node-3 reports MemoryPressure
HH:MM [Scheduler] pod/payment-api-7d9f unable to schedule (Insufficient memory)
HH:MM [ReplicaSet] payment-api scaled down from 5 → 3 replicas
HH:MM [HPA] payment-api HPA unable to compute desired replica count
HH:MM [Alert] ErrorRateCritical fires on payment-api
→ Next: Once the timeline is established, run /platform-skills:debug with the root-cause symptom for structured fix guidance, or /platform-skills:product postmortem to convert the timeline into a post-mortem.
kubectl delete pod before reading logs loses the crash context permanently. Always gather evidence before actingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nitinjain999/platform-skills --plugin platform-skills52 skills in this plugin
/ai-governanceGenerate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands, plus a merge-time backstop for anything that bypasses them. Use when asked to "govern AI agents", "block AI from touching secrets", "add an AI policy gate", or "why did the AI agent hook not fire"./awesome-docsGenerate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns (architecture flow, lifecycle loop, field carousel, timeline phases), guided interview for any doc type (README, architecture guide, runbook, API reference, tutorial, RFC, post-mortem, how-it-works, or custom), converting existing plain Markdown, diffing for stale diagrams, quality auditing, local preview, and multi-platform export. Use when asked to "create a README for X", "write an architecture doc", "animate this guide", "convert my doc to animated", "check if my diagrams are stale", or "export my doc for Confluence"./awsStructured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager multi-account enforcement, and IAM/IRSA patterns. Covers OAC, cache policies, security headers, managed rule groups, rate limiting, FMS FIRST/MIDDLE/LAST ownership model, and production-ready Terraform generation./aws-profileManage AWS profiles for MCP servers — discover SSO, Granted and role-chain profiles, check authentication with STS, switch configured profiles, and scan AWS Organization accounts. TTL is unknown unless the user shares an expiry timestamp without credentials./azureAzure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and production-readiness review — with Terraform generation./backup-drBack up and restore Kubernetes workloads with Velero, and prove recovery works. Covers Velero on EKS via Flux (IRSA, S3 backup location, EBS snapshots), schedules and retention, what a backup does not contain, restore drills that restore a namespace into an isolated copy and measure recovery time, cross-cluster disaster recovery with a read-only backup location, and GameDay pairing with chaos experiments. Use when asked to "set up cluster backups", "test our restore", "what's our recovery time", "restore a deleted namespace", or "plan DR to another cluster". Breaking things on purpose → /platform-skills:chaos. Upgrade rollback by blue/green → /platform-skills:cluster-upgrade.2 plugins in one repository ship this exact skill · first indexed Oct 12, 2026
Other plugins' skills for the same job