diagnose

Guide structured debugging from reproduction to regression testing.

1|1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/arxxyr/dotfiles --skill diagnose-arxxyr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose
Source: https://github.com/arxxyr/dotfiles/tree/main/dot_agents/skills/diagnose
Command: npx skills add https://github.com/arxxyr/dotfiles --skill diagnose-arxxyr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps users systematically diagnose and fix bugs, improving the efficiency and effectiveness of the debugging process.

Core Features & Use Cases

  • Structured Diagnosis Loop: Guides users through a disciplined approach to debugging, from reproducing the bug to fixing and regression testing.
  • Feedback Loop Construction: Offers various methods to construct a feedback loop for reproducible bugs, including failing tests, scripts, and harnesses.
  • Hypothesis Testing: Encourages the generation of falsifiable hypotheses to narrow down the root cause of the bug.
  • Instrumentation: Provides guidance on effective debugging and performance analysis techniques, including targeted logging and profiling.
  • Regression Testing: Ensures that the fix does not introduce new bugs and maintains system stability.

Quick Start

Use the diagnose skill to start diagnosing a bug in your codebase.

Frequently Asked Questions about diagnose

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

FAQPage Schema
What is the best way to systematically diagnose software bugs?

Systematically diagnose software bugs by applying a structured debugging loop: reproduce the bug, construct feedback loops using failing tests, generate falsifiable hypotheses, and verify fixes through regression testing.

How do I construct a feedback loop for reproducible bugs?

Construct a feedback loop for reproducible bugs by creating failing tests, scripts, or harnesses that reliably trigger the defect, allowing you to systematically test hypotheses and verify fixes.

How does hypothesis testing improve bug diagnosis?

Hypothesis testing improves bug diagnosis by encouraging the generation of falsifiable hypotheses, systematically narrowing down the root cause of the bug instead of relying on trial and error.

Do I need a deep understanding of my codebase to use structured debugging?

Yes, structured debugging requires a clear understanding of the codebase and debugging tools to effectively guide the process from reproducing the bug to regression testing.

What instrumentation techniques help with performance analysis during debugging?

Effective instrumentation techniques for performance analysis and debugging include implementing targeted logging and profiling to monitor application behavior and isolate defects.

When should I perform regression testing during bug fixing?

Perform regression testing immediately after applying a fix to ensure the bug is resolved, verify the fix does not introduce new bugs, and maintains overall system stability.