Agent Skillsmohitagw15856/pm-claude-skills › debugging-log-analyser

debugging-log-analyser

GitHub

将原始错误日志、堆栈跟踪和崩溃报告解析为结构化的根因诊断。适用于应用抛出异常、崩溃或产生意外错误时,提供错误分类、堆栈分析、根因评估、受影响代码路径、具体代码修复建议及后续调试步骤。

plugins/pm-engineering/skills/debugging-log-analyser/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

应用程序抛出异常 应用程序崩溃 产生意外错误日志 需要理解错误原因并确定修复方案

Install

npx skills add mohitagw15856/pm-claude-skills --skill debugging-log-analyser -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/plugins/pm-engineering/skills/debugging-log-analyser -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@debugging-log-analyser

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill debugging-log-analyser -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "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.

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?"

Version History

  • a38bc30 Current 2026-07-05 11:18

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
fdd94e7c
Indexed
2026-07-05 11:18

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 11:14
浙ICP备14020137号-1 $방문자$