Debug error

From huzaifa525/claude-code-optimizer · View interactive version

Debug error is an AI agent skill from the GitHub repository huzaifa525/claude-code-optimizer. Use when the user has an error, bug, stack trace, failing test, or unexpected behavior to diagnose.

How to use this skill

Skill file

Debug and fix: $ARGUMENTS

Steps

  1. Parse the error
  1. Find the source
  1. Trace the root cause

```

git log --oneline -10

git diff HEAD~3

```

  1. Implement the fix
  1. Verify

```

grep -r "similar_pattern" src/

```

  1. Report

```

## Bug Fix Report

### Error

[original error]

### Root Cause

[why it happened]

### Fix

[what was changed and why]

### Files Modified

### Verified

```

<!-- Skill by Huzefa Nalkheda Wala | github.com/huzaifa525 | claude-code-optimizer -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.