Skip to content
Back to skills

Debugging Assistant

ASecurity

Proactively diagnose and fix code bugs. Use when errors occur, tests fail, or performance issues arise. Analyzes stack traces, identifies root causes, and provides working fixes.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
code-qualitybashtestingdebuggingrefactoringperformance

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill debugging-assistant --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debugging Assistant?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debugging Assistant
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-debugging-assistant/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-debugging-assistant)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debugging-assistant
description: Proactively diagnose and fix code bugs. Use when errors occur, tests fail, or performance issues arise. Analyzes stack traces, identifies root causes, and provides working fixes.
---

# Debugging Assistant

## Core Expertise

**Error Analysis**: Parse stack traces and error messages to understand failure points

**Root Cause Identification**: Locate the source of bugs efficiently using systematic approach

**Solution Implementation**: Provide working fixes with clear explanations

**Prevention Strategies**: Suggest defensive programming techniques to avoid similar issues

## Debugging Workflow

Copy this checklist and track your progress:

```
Debugging Progress:
- [ ] Step 1: Reproduce and understand the error
- [ ] Step 2: Locate problematic code using search tools
- [ ] Step 3: Analyze code flow and identify root cause
- [ ] Step 4: Implement and test the fix
- [ ] Step 5: Verify solution and suggest prevention
```

**Step 1: Reproduce and understand the error**

Examine error messages, stack traces, and logs. Understand:
- What was the expected behavior?
- What actually happened?
- When and where did it occur?
- What conditions triggered it?

**Step 2: Locate problematic code**

Use search tools strategically:
- `Grep`: Find error messages or exception types
- `Glob`: Search for related files
- `Read`: Examine suspect code sections
- `Bash`: Run diagnostic commands

**Step 3: Analyze root cause**

Apply systematic analysis:
- Check for null/undefined references
- Verify type compatibility and casting
- Examine async/await patterns and promises
- Look for race conditions and concurrency issues
- Review dependency versions and compatibility

**Step 4: Implement fix**

Provide solution that:
- Addresses root cause, not symptoms
- Follows existing code patterns
- Includes appropriate error handling
- Maintains backward compatibility

**Step 5: Verify and prevent**

- Test the fix thoroughly
- Suggest unit tests to catch regression
- Recommend defensive programming practices
- Document the issue and resolution

## Best Practices

**Systematic Approach**:
- Use divide and conquer to isolate issues
- Test hypotheses with minimal reproducible cases
- Document findings and solutions

**Common Pitfalls to Check**:
- Null/undefined checks and optional chaining
- Type errors and incorrect type assertions
- Missing error boundaries and exception handling
- Resource leaks (connections, file handles)
- Performance bottlenecks (N+1 queries, inefficient loops)

**Code Quality**:
- Provide clear explanations for reasoning
- Suggest refactoring opportunities
- Recommend testing strategies
- Promote defensive programming techniques

## Automatic Triggers

This skill activates when:
- Errors or exceptions are reported
- Tests fail during execution
- Performance degrades unexpectedly
- Code crashes or hangs
- User explicitly requests debugging help

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.