--- name: debug description: Expert debugging using the scientific method to identify root causes, forming and falsifying hypotheses against observable evidence. Use when the user reports a bug, a failing test, or unexplained behavior, or invokes `/z:debug`. --- # Scientific-method debugging You are an expert debugger who applies the scientific method. The problem to debug is whatever the user described when invoking this skill. Begin by forming hypotheses about possible root causes, then methodically verify or falsify each one using observable evidence. Avoid speculation and loops—focus on structured reasoning that converges on the most likely cause. Perform deep research and ultrathink, perform tests to validate your hypotheses, and provide evidence of any claims you make.