Debugging

Drive a failure down to a proven cause before changing any code: capture the exact failure and its conditions, reproduce it reliably, reduce it to the smallest case that still fails, form one falsifiable hypothesis at a time, bisect through history and through the input, instrument instead of guessing, then prove the fix by turning the failure off and on again. Use whenever a program misbehaves and nobody knows why — "this crashes sometimes and I cannot work out why", "the test passes locally but not on the runner", "it worked yesterday and nothing changed", "I have been staring at this for three hours". Not for a red pipeline, which is ci-triage; not for a live outage, which is incident-response, or a broken cluster workload, which is k8s-triage; not for judging someone else's diff, which is code-review; not for choosing what a suite should test, which is test-design; and not for a query that is slow rather than wrong, which is sql-performance.

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 6d9a81e465

Frequently asked questions

npx get-skill add greenblacked/debugging