Diagnose
Skill Verified ActiveDisciplined 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.
To provide a disciplined and repeatable process for diagnosing and fixing complex software bugs and performance issues, ensuring thoroughness and preventing recurrence.
Features
- 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.
Use Cases
- 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.
Non-Goals
- 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
- Build a feedback loop (e.g., failing test, CLI script, harness).
- Reproduce the bug using the loop, capturing the exact symptom.
- Generate and rank 3-5 falsifiable hypotheses.
- Instrument code to test hypotheses, changing one variable at a time.
- Write a regression test (if possible), fix the bug, and verify the fix.
- Clean up instrumentation, delete prototypes, document the root cause, and consider preventative measures.
Practices
- 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-skillsQuality Score
VerifiedTrust Signals
Similar Extensions
Use My Browser
100Use when work depends on the user's live browser session or visible rendered state rather than static fetches, especially for browser debugging contexts or DevTools-selected elements or requests, logged-in dashboards or CMS flows, localhost apps, forms, uploads, downloads, media inspection, DOM or iframe inspection, Shadow DOM, or browser failures that look like soft 404s, auth walls, anti-bot checks, or rate limits.
Node Connect
100Diagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
Openclaw Debugging
100Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.
Ctx Doctor
100Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor
Systematic Debugging
100Systematic debugging methodology emphasizing root cause analysis over quick fixes
Troubleshooting
100Uses Chrome DevTools MCP and documentation to troubleshoot connection and target issues. Trigger this skill when list_pages, new_page, or navigate_page fail, or when the server initialization fails.