diagnose

Diagnose software bugs through reproduce, hypothesize, instrument, fix, and regression-test steps.

34|4|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/redpanda-data/ui-harness --skill diagnose-redpanda-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose
Source: https://github.com/redpanda-data/ui-harness/tree/main/diagnose
Command: npx skills add https://github.com/redpanda-data/ui-harness --skill diagnose-redpanda-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured approach to diagnose hard bugs and performance regressions, ensuring a systematic and efficient resolution process.

Core Features & Use Cases

  • Disciplined Diagnosis Loop: Follows a disciplined loop for diagnosing bugs: Reproduce -> Minimise -> Hypothesise -> Instrument -> Fix -> Regression-test.
  • Feedback Loop Creation: Assists in building a feedback loop to quickly identify the cause of a bug.
  • Reproduction and Hypothesis: Guides through the process of reproducing bugs and generating falsifiable hypotheses.
  • Instrumentation and Fixing: Offers strategies for instrumenting code and fixing bugs.
  • Regression Testing: Ensures that the bug does not reoccur in future updates.

Quick Start

To diagnose a bug, run the diagnose skill and follow the steps provided to create a feedback loop, reproduce the bug, hypothesise the cause, instrument the code, fix the issue, and perform regression testing.

Frequently Asked Questions about diagnose

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

FAQPage Schema
What is a systematic approach to diagnose hard software bugs?

A systematic approach to diagnose hard software bugs follows a disciplined loop: reproduce the bug, minimise the test case, hypothesise the cause, instrument the code, apply a fix, and run regression tests.

How do I resolve a performance regression in my code?

To resolve a performance regression, establish a feedback loop to reliably reproduce the issue, generate falsifiable hypotheses about the bottleneck, instrument the code to capture metrics, and verify the fix with regression testing.

What is the best way to structure a debugging workflow for complex issues?

The best way to structure a debugging workflow is to create a disciplined feedback loop that moves sequentially from reproducing and minimising the bug to hypothesising, instrumenting, fixing, and regression testing.

Do I need a specific testing framework to run regression tests for bug diagnosis?

No specific testing framework is required, but you need a basic understanding of software development processes and a structured debugging mindset to execute the regression testing phase effectively.

When should I instrument code during the bug diagnosis process?

You should instrument code during the bug diagnosis process after generating falsifiable hypotheses and minimising the reproduction case, using instrumentation to capture data that confirms or denies the suspected cause.

Why does generating falsifiable hypotheses help fix bugs faster?

Generating falsifiable hypotheses helps fix bugs faster by forcing a structured debugging mindset that targets specific causes, allowing instrumentation to quickly validate or eliminate assumptions within the feedback loop.