New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Parse error logs, stack traces

Debugging Log Analyser Skill

by mohitagw15856 · MIT license · ★ 1,395 on GitHub · updated Sep 23

Debugging Log Analyser Skill cover

Parse error logs, stack traces, and crash reports into a structured root cause diagnosis. Use when an application is throwing exceptions, crashing, or producing unexpected errors and you need to understand why and what to fix.

---
name: debugging-log-analyser
description: "Parse error logs, stack traces, and crash reports into a structured root cause diagnosis. Use when an application is throwing exceptions, crashing, or producing unexpected errors and you need to understand why and what to fix. Produces a structured diagnosis with error classification, stack trace walkthrough, probable root cause with confidence level, affected code path, a concrete code-level fix suggestion, and ordered next debugging steps."
---

# Debugging Log Analyser Skill

Parses raw error logs, stack traces, and crash reports into a structured diagnosis with probable root cause, affected code path, and specific next steps — no hand-waving.

## Where this sits — the diagnosis step

Second in the incident-response spine: **`/slo-error-budget` (frame) →
`debugging-log-analyser` → `/incident-postmortem` → `/oncall-runbook`**. It takes the raw
symptoms of a live incident and hands `/incident-postmortem` **the root-cause diagnosis
and the fix** — so the postmortem builds on the diagnosis instead of re-deriving it.
Shared terms (root cause vs contributing factors, mitigation vs resolution) are defined
once in [`docs/craft/incident-response.md`](../../docs/craft/incident-response.md).

Overview

Parses raw error logs, stack traces, and crash reports into a structured diagnosis with probable root cause, affected code path, and specific next steps — no hand-waving.

Manual install (npx, ZIP)
Claude Codenpx skills add mohitagw15856/pm-claude-skills --skill debugging-log-analyser -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/mohitagw15856/pm-claude-skills/tar.gz/f6ca79348c55 \ | tar -xz -C ~/.claude/skills --strip-components=2 pm-claude-skills-f6ca79348c55/skills/debugging-log-analyser
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/bf6d3dc68c2c884f6fbb/debugging-log-analyser.zip" -OutFile "$env:TEMP\debugging-log-analyser.zip"; Expand-Archive "$env:TEMP\debugging-log-analyser.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md6.5 KB
Read the files here
mohitagw15856/f6ca7931 file
Shared references1SKILL.md reads these from elsewhere in the repo. Not in the ZIP.Get them on GitHub ↗
SKILL.md
Show the full text132 lines

Debugging Log Analyser Skill

Parses raw error logs, stack traces, and crash reports into a structured diagnosis with probable root cause, affected code path, and specific next steps — no hand-waving.

Where this sits — the diagnosis step

Second in the incident-response spine: /slo-error-budget (frame) → debugging-log-analyser → /incident-postmortem → /oncall-runbook. It takes the raw symptoms of a live incident and hands /incident-postmortem the root-cause diagnosis and the fix — so the postmortem builds on the diagnosis instead of re-deriving it. Shared terms (root cause vs contributing factors, mitigation vs resolution) are defined once in docs/craft/incident-response.md.

The loop

Debugging fails when it jumps to a fix before the evidence supports it. Phase 2 is the skill — a diagnosis is only as good as its confidence, and false certainty sends responders down the wrong path at the worst time.

  1. Classify and read the evidence. Categorise the error, walk the stack trace to the actual failing frame (not the framework noise), and note what the logs do and don't show. Redact secrets in anything you quote back. Done when: the failing frame is identified, and the evidence gap (what the logs can't tell you) is stated rather than filled with a guess.
  2. Reach a root cause with an honest confidence level. Name the most probable root cause and its confidence (confirmed / likely / uncertain), plus the alternative if it's not certain. A diagnosis without a confidence level is a guess wearing a lab coat. Done when: the root cause carries a confidence label and, if not confirmed, the next observation that would confirm or refute it.
  3. Specify the fix and the mitigation separately. Give the concrete code-level fix for the root cause — and, distinctly, the fastest mitigation to stop user impact now (rollback, flag-off), because stopping the bleeding and fixing the wound are different moves at different urgencies. Done when: there's a specific fix for the root cause AND an immediate mitigation, and they're not conflated.
  4. Hand off to the postmortem. Surface the diagnosis, the fix, and the timings so /incident-postmortem can build the timeline and contributing factors from evidence, not memory. Done when: the postmortem could start from this output without re-diagnosing.

Required Inputs

Ask for these if not provided:

  • The log / stack trace / error output (paste directly or describe the error)
  • Language and framework (e.g. Node.js + Express, Python + Django, Java Spring, Go)
  • Context (what changed before this started — e.g. recent deploy, config change, increased traffic, new input data; or "nothing changed" is also useful)
  • Frequency (one-off / intermittent / consistent / regression after a specific change)
  • Environment (local dev / staging / production)
  • What they've already tried (if anything)

Output Format


Debugging Report: [Service/App Name]

1. Error Classification

Error type: [Runtime exception / Build error / Config error / Network error / Memory error / Unknown] Severity: [Fatal / Critical / Warning / Informational] Recurrence pattern: [One-off / Intermittent / Consistent / On-startup / Under load]

2. Stack Trace Analysis

Walk the stack frame by frame, starting from the origin:

  • Origin frame: [File, line, function where it started]
  • Propagation path: [How it travelled through the call stack]
  • Crash point: [Where it ultimately threw/panicked/exited]

For each significant frame, note whether it is:

  • User code (fixable here)
  • Framework/library code (usually a misuse issue)
  • System/runtime code (usually a config or environment issue)
3. Root Cause Assessment

Probable root cause: [1–2 sentence plain English statement] Confidence: [High / Medium / Low — and why] Alternative causes to rule out: [If confidence is not high]

4. Affected Code Path

Entry point: [Where the triggering call began] Key function(s) involved: [Specific functions/methods named in the trace] Data that triggered it: [If inferable from the log — e.g. null value, malformed JSON]

5. Suggested Fix

Provide a concrete, code-level suggestion:

  • What to change (the minimal fix)
  • Why this fixes the root cause
  • Any trade-offs or risks in the fix
  • A short code snippet if helpful
6. Next Debugging Steps

If the root cause is uncertain, provide an ordered list of 3–5 specific debugging actions:

  1. [Specific thing to check — file, log line, config value]
  2. [Specific reproduction step or isolation test]
  3. [Specific tool command — e.g. strace, pprof, --verbose, add logging at X]
7. Prevention

One or two concrete things that would prevent this class of error recurring:

  • Better input validation at [point]
  • Add monitoring/alerting for [condition]
  • Test that covers [scenario]

Quality Checks

  • Root cause is specific (not "there might be a null pointer issue")
  • At least one concrete code-level fix is suggested
  • Next steps are actionable commands, not vague advice
  • Suggested fix references the actual language/framework in the input (not a generic fix that could apply to any language)
  • Confidence level includes a stated reason (not just "High" or "Low" with no explanation)
  • Prevention is proactive (not just "add error handling")

Anti-Patterns

  • A vague root cause ("something's null somewhere") instead of the specific line/frame
  • A generic fix that could apply to any language, ignoring the actual stack trace
  • Restating the error message instead of explaining what it means
  • "Add error handling" as prevention, with no specific guardrail
  • High/Low confidence with no reason behind it

Usage Examples

  • "Why is this crashing?" + [paste log]
  • "Can you analyse this stack trace?"
  • "I'm getting this error, what does it mean?"
  • "Debug this log for me"
  • "What's causing this exception?"
1---
2name: debugging-log-analyser
3description: "Parse error logs, stack traces, and crash reports into a structured root cause diagnosis. Use when an application is throwing exceptions, crashing, or producing unexpected errors and you need to understand why and what to fix. Produces a structured diagnosis with error classification, stack trace walkthrough, probable root cause with confidence level, affected code path, a concrete code-level fix suggestion, and ordered next debugging steps."
4---
5 
6# Debugging Log Analyser Skill
7 
8Parses raw error logs, stack traces, and crash reports into a structured diagnosis with probable root cause, affected code path, and specific next steps — no hand-waving.
9 
10## Where this sits — the diagnosis step
11 
12Second in the incident-response spine: **`/slo-error-budget` (frame) →
13`debugging-log-analyser` → `/incident-postmortem` → `/oncall-runbook`**. It takes the raw
14symptoms of a live incident and hands `/incident-postmortem` **the root-cause diagnosis
15and the fix** — so the postmortem builds on the diagnosis instead of re-deriving it.
16Shared terms (root cause vs contributing factors, mitigation vs resolution) are defined
17once in [`docs/craft/incident-response.md`](../../docs/craft/incident-response.md).
18 
19## The loop
20 
21Debugging fails when it jumps to a fix before the evidence supports it. Phase 2 is the
22skill — a diagnosis is only as good as its confidence, and false certainty sends
23responders down the wrong path at the worst time.
24 
251. **Classify and read the evidence.** Categorise the error, walk the stack trace to the
26 actual failing frame (not the framework noise), and note what the logs do and don't
27 show. Redact secrets in anything you quote back.
28 **Done when:** the failing frame is identified, and the evidence gap (what the logs
29 can't tell you) is stated rather than filled with a guess.
302. **Reach a root cause with an honest confidence level.** Name the most probable root
31 cause *and* its confidence (confirmed / likely / uncertain), plus the alternative if
32 it's not certain. A diagnosis without a confidence level is a guess wearing a lab coat.
33 **Done when:** the root cause carries a confidence label and, if not confirmed, the
34 next observation that would confirm or refute it.
353. **Specify the fix and the mitigation separately.** Give the concrete code-level fix
36 for the root cause — and, distinctly, the fastest mitigation to stop user impact now
37 (rollback, flag-off), because stopping the bleeding and fixing the wound are different
38 moves at different urgencies.
39 **Done when:** there's a specific fix for the root cause AND an immediate mitigation,
40 and they're not conflated.
414. **Hand off to the postmortem.** Surface the diagnosis, the fix, and the timings so
42 `/incident-postmortem` can build the timeline and contributing factors from evidence,
43 not memory.
44 **Done when:** the postmortem could start from this output without re-diagnosing.
45 
46## Required Inputs
47 
48Ask for these if not provided:
49- **The log / stack trace / error output** (paste directly or describe the error)
50- **Language and framework** (e.g. Node.js + Express, Python + Django, Java Spring, Go)
51- **Context** (what changed before this started — e.g. recent deploy, config change, increased traffic, new input data; or "nothing changed" is also useful)
52- **Frequency** (one-off / intermittent / consistent / regression after a specific change)
53- **Environment** (local dev / staging / production)
54- **What they've already tried** (if anything)
55 
56## Output Format
57 
58---
59 
60# Debugging Report: [Service/App Name]
61 
62### 1. Error Classification
63**Error type:** [Runtime exception / Build error / Config error / Network error / Memory error / Unknown]
64**Severity:** [Fatal / Critical / Warning / Informational]
65**Recurrence pattern:** [One-off / Intermittent / Consistent / On-startup / Under load]
66 
67### 2. Stack Trace Analysis
68 
69Walk the stack frame by frame, starting from the origin:
70- **Origin frame:** [File, line, function where it started]
71- **Propagation path:** [How it travelled through the call stack]
72- **Crash point:** [Where it ultimately threw/panicked/exited]
73 
74For each significant frame, note whether it is:
75- User code (fixable here)
76- Framework/library code (usually a misuse issue)
77- System/runtime code (usually a config or environment issue)
78 
79### 3. Root Cause Assessment
80**Probable root cause:** [1–2 sentence plain English statement]
81**Confidence:** [High / Medium / Low — and why]
82**Alternative causes to rule out:** [If confidence is not high]
83 
84### 4. Affected Code Path
85**Entry point:** [Where the triggering call began]
86**Key function(s) involved:** [Specific functions/methods named in the trace]
87**Data that triggered it:** [If inferable from the log — e.g. null value, malformed JSON]
88 
89### 5. Suggested Fix
90Provide a concrete, code-level suggestion:
91- What to change (the minimal fix)
92- Why this fixes the root cause
93- Any trade-offs or risks in the fix
94- A short code snippet if helpful
95 
96### 6. Next Debugging Steps
97If the root cause is uncertain, provide an ordered list of 3–5 specific debugging actions:
981. [Specific thing to check — file, log line, config value]
992. [Specific reproduction step or isolation test]
1003. [Specific tool command — e.g. `strace`, `pprof`, `--verbose`, add logging at X]
101 
102### 7. Prevention
103One or two concrete things that would prevent this class of error recurring:
104- Better input validation at [point]
105- Add monitoring/alerting for [condition]
106- Test that covers [scenario]
107 
108---
109 
110## Quality Checks
111- [ ] Root cause is specific (not "there might be a null pointer issue")
112- [ ] At least one concrete code-level fix is suggested
113- [ ] Next steps are actionable commands, not vague advice
114- [ ] Suggested fix references the actual language/framework in the input (not a generic fix that could apply to any language)
115- [ ] Confidence level includes a stated reason (not just "High" or "Low" with no explanation)
116- [ ] Prevention is proactive (not just "add error handling")
117 
118## Anti-Patterns
119 
120- A vague root cause ("something's null somewhere") instead of the specific line/frame
121- A generic fix that could apply to any language, ignoring the actual stack trace
122- Restating the error message instead of explaining what it means
123- "Add error handling" as prevention, with no specific guardrail
124- High/Low confidence with no reason behind it
125 
126## Usage Examples
127- "Why is this crashing?" + [paste log]
128- "Can you analyse this stack trace?"
129- "I'm getting this error, what does it mean?"
130- "Debug this log for me"
131- "What's causing this exception?"
132 
View all files on GitHub →

Details

Updated
Sep 23, 2026
License
MIT
Stars on the repo
★ 1,395
Checked
Source
mohitagw15856/pm-claude-skills ↗
Creator
mohitagw15856 · 193 listings
View creator

Made with debugging-log-analyser

Debugging Log Analyser Skill — Galaxy 3D — fly through all 1170 skills as a glowing constellation you orbit and click into (from the mohitagw15856/pm-claude-skills README)
Debugging Log Analyser Skill — Galaxy 3D — fly through all 1170 skills as a glowing constellation you orbit and click into (from the mohitagw15856/pm-claude-skills README)

by mohitagw15856

Debugging Log Analyser Skill — PM Skills Wrapped — your practice turned into a shareable, Spotify-Wrapped-style story (from the mohitagw15856/pm-claude-skills README)
Debugging Log Analyser Skill — PM Skills Wrapped — your practice turned into a shareable, Spotify-Wrapped-style story (from the mohitagw15856/pm-claude-skills README)

by mohitagw15856

Similar skills

See all →
MCPExpert debugging specialist for errors, test failuresDebugger AgentCloudAI-X/claude-workflow-v2 · by CloudAI-XExpert debugging specialist for errors, test failures, crashes, segmentation faults, memory leaks, timeouts, race conditions, deadlocks, and unexpected behavior. Use PROACTIVELY when encountering any error, exception, or failing test. Performs systematic root cause analysis.★ 1.4k GitHub starsSkillEncountering any bug, test failure, or unexpected behaviorSystematic debuggingobra/superpowers · by obraUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes★ 290k GitHub starsSkillRequires running verification commands and confirming outputVerification before completionobra/superpowers · by obraUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always★ 290k GitHub starsSkillGuides systematic root-cause debuggingDebugging and error recoveryaddyosmani/agent-skills · by addyosmaniGuides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.★ 98.7k GitHub starsSkillMaster systematic debugging techniques, profiling toolsDebugging strategieswshobson/agents · by wshobsonMaster systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack. Use when investigating bugs, performance issues, or unexpected behavior.★ 39.9k GitHub starsSkillMaster error handling patterns across languages includingwshobson/agents · by wshobsonMaster error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.★ 39.9k GitHub stars

More from mohitagw15856

SkillDesign a 360-degree feedback survey or write a structured360-Degree Feedback Template Skillmohitagw15856/pm-claude-skills · by mohitagw15856Design a 360-degree feedback survey or write a structured 360 feedback report. Use when asked to build a 360 feedback process, write 360 feedback for a colleague, design a feedback survey, or produce a feedback report. Produces either a complete survey instrument with rating scales and open-ended questions, or a structured narrative feedback report with themes, strengths, and development areas.★ 1.4k GitHub starsSkillDesign statistically rigorous A/B tests for product featuresA/B Test Planner Skillmohitagw15856/pm-claude-skills · by mohitagw15856Design statistically rigorous A/B tests for product features, UI changes, onboarding flows, and pricing experiments. Use when asked to set up an experiment, design an A/B test, calculate sample size, or interpret test results. Produces a complete test plan with hypothesis, variant definitions, sample size, duration estimate, guardrail metrics, and a results interpretation guide.★ 1.4k GitHub starsSkillGenerate a WCAG 2.2 accessibility audit checklistAccessibility Audit Skillmohitagw15856/pm-claude-skills · by mohitagw15856Generate a WCAG 2.2 accessibility audit checklist and remediation suggestions for any UI or design. Use when asked to audit for accessibility, check WCAG compliance, review a design for a11y issues, or create an accessibility remediation plan. Produces a prioritised checklist with pass/fail assessments and specific fixes.★ 1.4k GitHub starsSkillBuild a structured account plan for any key customerAccount Plan Skillmohitagw15856/pm-claude-skills · by mohitagw15856Build a structured account plan for any key customer or target account. Use when asked to create an account plan, key account strategy, strategic account review, or territory plan. Produces a complete account plan with relationship map, growth opportunities, risks, and 90-day action plan.★ 1.4k GitHub starsSkillOptimize an article for Answer Engine Optimization so AIAEO Optimizer Skillmohitagw15856/pm-claude-skills · by mohitagw15856Optimize an article for Answer Engine Optimization (AEO) so AI engines like ChatGPT, Perplexity, and Claude can extract, quote, and cite it. Use when asked to AEO-optimize, make content AI-readable, improve AI citation chances, or adapt an article for answer engines. Produces an AEO-optimised rewrite with question headings, 50–80 word answer capsules, a paragraph-length audit, and flagged trust signals.★ 1.4k GitHub starsSkillConduct a structured ethical review of an AI or ML featureAI Ethics Review Skillmohitagw15856/pm-claude-skills · by mohitagw15856Conduct a structured ethical review of an AI or ML feature, model, or product. Use when preparing to deploy an AI system, assessing algorithmic risk, auditing a model for bias, or producing a responsible AI impact assessment. Produces a structured ethics review covering fairness, transparency, privacy, safety, accountability, and societal impact with a risk tier score, pre-deployment checklist, and prioritised mitigations.★ 1.4k GitHub stars