bug-diagnosis

Create a structured BugDiagnosis artifact documenting symptoms, reproduction steps, evidence, and causes.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/bennybennison/agent-toolkit --skill bug-diagnosis-bennybennison
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bug-diagnosis
Source: https://github.com/bennybennison/agent-toolkit/tree/main/skills/bug-diagnosis
Command: npx skills add https://github.com/bennybennison/agent-toolkit --skill bug-diagnosis-bennybennison

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill formalizes the diagnosis phase for software bugs and unstable behavior, ensuring that symptoms are captured, reproduced, and analyzed before any fix is attempted.

Core Features & Use Cases

  • Structured Artifact: Generates a comprehensive BugDiagnosis report covering symptoms, reproduction steps, evidence, likely causes, and verification plans.
  • Guided Process: Walks users through a step‑by‑step workflow to narrow the affected area, gather concrete evidence, and rank plausible causes.
  • Use Case: When a flaky test or runtime error appears, employ this Skill to document the issue systematically before engineering a solution.

Quick Start

Ask the bug‑diagnosis skill to produce a BugDiagnosis report for the reported issue.

Frequently Asked Questions about bug-diagnosis

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

FAQPage Schema
How do I document software debugging evidence before fixing a bug?

To document debugging evidence, create a structured BugDiagnosis artifact capturing symptoms, reproduction steps, affected components, and probable causes before attempting a fix. This approach ensures you analyze evidence systematically rather than jumping straight into patching code.

What is root-cause analysis for software bugs and when do I need it?

Root-cause analysis for software bugs is a structured diagnosis process that identifies the underlying source of unstable behavior. You need it when symptoms are unclear, reproduction is flaky, or when you must document evidence and probable causes before engineering a solution.

How do I troubleshoot a flaky test by finding its probable causes?

To troubleshoot a flaky test, follow a guided workflow to narrow the affected area, gather concrete evidence, and rank plausible root causes. This systematic diagnosis generates a verification plan to ensure the identified cause is accurate before fixing.

Does this bug diagnosis process work without integrating external debugging tools?

Yes, this bug diagnosis process works without external dependencies. It formalizes the diagnosis phase by guiding you through capturing symptoms and reproduction steps natively, generating a comprehensive artifact that ranks plausible causes and outlines a verification plan.

What is the best way to structure a bug report for runtime errors?

The best way to structure a bug report for runtime errors is using a comprehensive BugDiagnosis format. It covers symptoms, reproduction status, affected components, gathered evidence, likely causes, next fix direction, and a verification plan to ensure thorough troubleshooting.

Why should I diagnose a bug thoroughly before attempting a code fix?

You should diagnose a bug thoroughly before fixing to ensure symptoms are captured, reproduced, and analyzed. This prevents patching incorrect probable causes, providing a structured artifact with evidence and a verification plan to guide the actual fix direction.