diagnose

Diagnose intermittent failures and performance regressions through reproduction loops and hypothesis testing.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/meisijiya/ohMeisijiyaCode --skill diagnose-meisijiya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose
Source: https://github.com/meisijiya/ohMeisijiyaCode/tree/main/skills/diagnosing-bugs
Command: npx skills add https://github.com/meisijiya/ohMeisijiyaCode --skill diagnose-meisijiya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you systematically track down hard bugs and performance regressions when the cause is unclear, the failure is intermittent, or the system only breaks under realistic conditions.

Core Features & Use Cases

  • Build a feedback loop: Create a fast, deterministic way to reproduce the issue so every hypothesis can be tested against the same failure signal.
  • Reproduce and isolate: Narrow the problem with failing tests, CLI checks, HTTP requests, browser automation, replay harnesses, or minimal throwaway setups.
  • Test hypotheses methodically: Rank likely causes, probe them one variable at a time, and use targeted instrumentation instead of noisy logging.
  • Lock in the fix: Add or validate a regression test, confirm the original bug no longer reproduces, and clean up all temporary debug work.

Quick Start

Use diagnose to reproduce this bug, identify the most likely cause, and confirm the fix with a regression test.

Frequently Asked Questions about diagnose

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

FAQPage Schema
How do I debug intermittent software failures when the cause is unclear?

To debug intermittent failures, you build a deterministic reproduction loop, rank likely causes, probe variables one at a time with targeted instrumentation, and verify the fix with a regression test.

What is the best way to find the root cause of a performance regression?

Root cause analysis for a performance regression involves creating a minimized reproduction harness, testing hypotheses methodically using bisection, and confirming the slowdown is eliminated through deterministic verification.

How do I isolate a hard bug that only breaks under realistic system conditions?

Isolate hard bugs by narrowing the problem space with replay harnesses, CLI checks, or HTTP requests, applying targeted probing instead of noisy logging to capture the exact failure signal.

When do I need targeted instrumentation instead of standard logging for debugging?

You need targeted instrumentation when debugging hard bugs requiring hypothesis testing, allowing you to probe specific variables one at a time and capture deterministic failure signals without noisy log output.

Can I use bisection to track down slowdowns in software systems?

Yes, bisection is applied to track down slowdowns and regressions by systematically narrowing the problem space, testing hypotheses against a fast reproduction loop, and isolating the specific change causing the failure.

How do I clean up temporary debug artifacts after fixing a bug?

After locking in the fix with a regression test and confirming the original bug no longer reproduces, you clean up all temporary debug work and instrumentation to restore the system to its original state.