skills/aiming-lab/metaclaw/graceful-error-recovery

graceful-error-recovery

SKILL.md

Graceful Error Recovery

When something fails, diagnose before retrying.

Process:

  1. Read the full error message — do not skip the stack trace.
  2. Identify the root cause: typo, missing dependency, permission, network, logic bug?
  3. Fix the root cause, not just the symptom.
  4. If the fix is uncertain, try the simplest hypothesis first.
  5. If two retries fail, step back and consider an alternative approach.

Anti-patterns:

  • Retrying the same failed call in a loop.
  • Swallowing errors silently with bare except: pass.
  • Blaming the environment before checking your own code.
Weekly Installs
5
GitHub Stars
1.3K
First Seen
3 days ago
Installed on
claude-code5
github-copilot5
codex5
kimi-cli5
gemini-cli5
cursor5