One-click install
npx skills add https://github.com/roanbrasil/engineer-grade-agent-skills --skill debugging-production
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-production
Source: https://github.com/roanbrasil/engineer-grade-agent-skills/tree/main/skills/debugging-production
Command: npx skills add https://github.com/roanbrasil/engineer-grade-agent-skills --skill debugging-production

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Production incidents like JVM memory leaks, Kubernetes pod crashes, slow database queries, and distributed service failures are high-stakes, time-sensitive, and often require deep platform-specific expertise to diagnose without introducing further downtime or worsening the issue.

Core Features & Use Cases

  • Multi-platform debugging tooling: Step-by-step guidance for JVM diagnostics (thread dumps, heap dumps, Java Flight Recorder, async-profiler, Arthas), Python debugging (py-spy, faulthandler, memray), Kubernetes incident response (pod logs, crash analysis, ephemeral debug containers), network traffic capture, and PostgreSQL/MySQL query optimization.
  • Structured incident investigation workflow: Hypothesis-driven debugging methodology, pre-change checklists, and pattern recognition for common production issues including sudden latency spikes, memory leaks, cascading failures, and CrashLoopBackOff loops.
  • Real-world use case: If your e-commerce order service is experiencing intermittent OOM crashes, use this skill to capture and analyze heap dumps to identify unbounded static caches, implement a fix, and verify resolution without unplanned downtime.

Quick Start

Use the debugging-production skill to investigate the root cause of the 10x latency spike affecting your payment processing service, including reviewing recent deployments, analyzing distributed traces, and checking database query performance.

Frequently Asked Questions about debugging-production

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a Kubernetes pod stuck in CrashLoopBackOff?

Debug a Kubernetes pod stuck in CrashLoopBackOff by collecting pod logs, analyzing crash patterns, and deploying ephemeral debug containers for direct filesystem and process inspection within the cluster.

What is the best way to diagnose a JVM memory leak in production?

Diagnose a JVM memory leak in production by capturing heap dumps, analyzing thread dumps, and using Java Flight Recorder or async-profiler to identify unbounded caches without causing downtime or disrupting live services.

How do I troubleshoot slow database queries causing latency spikes?

Troubleshoot slow database queries causing latency spikes by capturing network traffic and executing query optimization analysis on PostgreSQL or MySQL platforms to isolate bottleneck execution plans and restore service throughput.

Can I use low-overhead profiling on a live production system?

You can use low-overhead continuous profiling on a live production system by leveraging non-disruptive diagnostic tooling like async-profiler for JVMs or py-spy for Python applications to monitor performance safely.

How does distributed tracing help resolve cascading service failures?

Distributed tracing resolves cascading service failures by applying hypothesis-driven investigation to track requests across microservices, pinpointing exact network boundaries or endpoints where latency originates and propagates.

What tools do I need for Python production debugging?

Python production debugging requires tools like py-spy for sampling profiler visibility, faulthandler for traceback dumps, and memray for tracking memory allocation and leak detection in live environments.