Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Diagnose

Skill Verifiziert Aktiv

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

Zweck

To provide a disciplined and repeatable process for diagnosing and fixing complex software bugs and performance issues, ensuring thoroughness and preventing recurrence.

Funktionen

  • Structured debugging loop: Reproduce, minimize, hypothesize, instrument, fix, regression-test.
  • Emphasis on building reliable feedback loops for testing hypotheses.
  • Guidance on handling non-deterministic bugs and performance regressions.
  • Clear steps for cleanup and post-mortem analysis.

Anwendungsfälle

  • Use when a user reports a bug or performance issue that is difficult to reproduce.
  • Use when a system is broken, throwing errors, or exhibiting unexpected behavior.
  • Use to systematically investigate and resolve complex, intermittent bugs.
  • Use to proactively identify and fix performance regressions.

Nicht-Ziele

  • Identifying the root cause without a reproducible feedback loop.
  • Simply fixing a bug without understanding the underlying cause.
  • Performing code reviews or architectural improvements (though it may identify needs for them).

Workflow

  1. Build a feedback loop (e.g., failing test, CLI script, harness).
  2. Reproduce the bug using the loop, capturing the exact symptom.
  3. Generate and rank 3-5 falsifiable hypotheses.
  4. Instrument code to test hypotheses, changing one variable at a time.
  5. Write a regression test (if possible), fix the bug, and verify the fix.
  6. Clean up instrumentation, delete prototypes, document the root cause, and consider preventative measures.

Praktiken

  • Debugging methodology
  • Hypothesis testing
  • Feedback loops
  • Regression testing

Practical Utility

  • info:Usage examplesWhile the skill outlines a process and includes a template script for HITL scenarios, it lacks concrete end-to-end examples demonstrating specific inputs and their claimed outputs.

Installation

/plugin install skills@mattpocock-skills

Qualitätspunktzahl

Verifiziert
95 /100
Analysiert about 23 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne78.5k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen