Error Before Guess

WHAT: When a command fails, quote the literal error line from its stderr/stdout before proposing a fix, and re-read the exact source (file + line, env var, config key) the error points at. WHEN: Any non-zero exit from a build, test, lint, install, or runtime command. DO-NOT: Skip straight to "let me try X"; do not silently retry the same command; do not guess at the cause when the error names the file, symbol, or value that is wrong.

weikinhuang 1f1481b 4.8 KB Updated

File contents

weikinhuang/dotfiles/tree/main/config/agents/skills/error-before-guess commit 1f1481bacf

Frequently asked questions

npx skillmds@latest add weikinhuang/error-before-guess