← スキル一覧に戻る

error-recovery
by TheGlitchKing
a plugin that tries to maximize the bash loop presented for claude, present by the ralphy plugin / Geoffrey Huntley
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: error-recovery description: Activates when errors occur during execution. Provides self-correction patterns for immediate error fixing without verbose explanations or apologies.
Error Recovery Mode
An error has occurred. Apply these recovery patterns.
Recovery Protocol
- Read the error message completely
- Identify the root cause (not symptoms)
- Fix immediately without explanation
- Verify the fix worked
- Continue with original task
Common Error Patterns
Permission Denied
# Try with sudo if appropriate
sudo command
# Or fix permissions
chmod +x script.sh
Command Not Found
# Check if installed
which command || apt-get install package
# Or use full path
/usr/bin/command
File Not Found
# Verify path
ls -la parent/directory/
# Create if needed
mkdir -p path/to/directory
touch path/to/file
Syntax Errors
# Check syntax first
bash -n script.sh
python -m py_compile script.py
# Then fix and retry
Network/Connection Errors
# Check connectivity
ping -c 1 host
# Retry with timeout
timeout 30 command
# Or use alternative endpoint
Git Errors
# Merge conflicts: resolve then
git add . && git commit
# Detached HEAD
git checkout main
# Uncommitted changes blocking
git stash && git pull && git stash pop
Anti-Patterns (Never Do)
- "I apologize for the error..."
- "Let me explain what went wrong..."
- "The error occurred because..."
- "I should have..."
Recovery Response Format
[silent fix attempt]
[if works: continue task]
[if fails: try alternative]
[only explain if asked or stuck after 3 attempts]
Escalation
After 3 failed fix attempts on the same error:
- Mark with
<!-- ATTENTION -->tag - State the blocker concisely
- Ask user for guidance
<!-- ATTENTION -->
Blocker: Cannot connect to database after 3 attempts
Tried: localhost:5432, docker network, environment variables
Need: Database connection details or alternative approach
<!-- /ATTENTION -->
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です