error-diagnostics-smart-debug

Diagnose software errors using observability data, hypothesis ranking, and root cause analysis.

2|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/monang404/lunawave --skill error-diagnostics-smart-debug-monang404
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: error-diagnostics-smart-debug
Source: https://github.com/monang404/lunawave/tree/main/.agent/skills/error-diagnostics-smart-debug
Command: npx skills add https://github.com/monang404/lunawave --skill error-diagnostics-smart-debug-monang404

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Debugging production issues often involves scattered logs, unclear stack traces, and guesswork about root causes. This Skill provides a structured workflow that triages errors, gathers observability data, ranks hypotheses, and guides fixes through validation. ## Core Features & Use Cases - Structured Triage and Hypothesis Ranking: Parses error messages, stack traces, and failure patterns to generate 3-5 ranked hypotheses with probability scores and falsification criteria. - Observability Integration: Guides collection of data from Sentry, DataDog, Jaeger, ELK, and similar platforms to correlate errors with deployments and performance trends. - Production-Safe Debugging: Covers dynamic instrumentation, feature-flagged logging, canary deployments, and sampling-based profiling for live environments. - Use Case: When intermittent checkout timeouts affect 5% of production traffic, use this Skill to analyze distributed traces, identify an N+1 query pattern, generate a fix, and validate it through canary deployment. ## Quick Start Debug this issue: payment processing timeouts occurring intermittently in production for about 5% of checkout requests.

Frequently Asked Questions about error-diagnostics-smart-debug

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

FAQPage Schema
How do I debug intermittent production errors?▼

Start by gathering observability data from error tracking and APM tools to identify patterns in frequency, affected users, and deployment correlation. Then generate ranked hypotheses, add targeted instrumentation, and validate fixes through canary deployments to a small traffic percentage.

What debugging strategy should I use for different issue types?▼

Use interactive debugging for locally reproducible issues, observability-driven analysis for production incidents, time-travel debugging for complex state problems, chaos engineering for load-dependent failures, and statistical delta debugging for issues affecting a small percentage of cases.

Which observability tools does this debugging workflow support?▼

The workflow references error tracking tools like Sentry, Rollbar, and Bugsnag, APM platforms like DataDog and New Relic, distributed tracing via Jaeger and Zipkin, and log aggregation through ELK, Splunk, and Loki.

Can I debug production systems without disrupting users?▼

Yes, production-safe techniques include dynamic instrumentation with OpenTelemetry spans, feature-flagged debug logging for specific users, sampling-based profiling with minimal overhead, and gradual traffic shifting to canary debug versions.

How do I validate that a bug fix actually works?▼

Run the full test suite, compare performance against the baseline, deploy via canary release while monitoring error rates, and review the fix for new edge cases. Success means tests pass, no performance regression occurs, and error rates stay flat or decrease.