Diagnose Before Retry

When an operation fails, form a hypothesis from the logs/evidence before retrying — never retry blindly. Distinguish op-caused failures from self-caused artifacts (your own stops/kills), state the hypothesis with supporting context and appropriate uncertainty, and retry in the foreground with a timeout and observability so the retry is also a test of the hypothesis. Use when a long command (migrate, build, install, deploy, fetch) fails and you're tempted to just re-run it.

jcdavis131 Updated

File contents

jcdavis131/cursor-agent-skills/tree/main/skills/diagnose-before-retry commit f556daeded

Frequently asked questions

npx skillmds@latest add jcdavis131/diagnose-before-retry