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 Updated 21 repo stars

File contents

weikinhuang/dotfiles commit 1f1481bacf

Frequently asked questions

npx get-skill add weikinhuang/error-before-guess