Debugging Assistant

intermediatedevelopmentMin 32K context

Systematic debugging workflow that helps identify, isolate, and fix bugs. Follows a structured approach: reproduce, localize, reduce, fix, guard. Analyzes error messages, stack traces, and logs to pinpoint root causes rather than symptoms.

Use Cases

  • Analyzing stack traces and error messages
  • Identifying race conditions and concurrency bugs
  • Debugging memory leaks and performance issues
  • Resolving dependency conflicts
  • Fixing flaky tests

Example Prompt

Help me debug this issue.

Error message:
```
[paste error/stack trace here]
```

Relevant code:
```
[paste code here]
```

Context:
- When does it happen? [always / intermittent / specific conditions]
- What changed recently? [recent commits / dependency updates / config changes]
- Environment: [OS, runtime version, relevant tools]

Please:
1. Analyze the error and identify likely root causes
2. Suggest specific debugging steps to confirm the cause
3. Provide a fix with explanation
4. Recommend a regression test to prevent recurrence

Recommended Models

Compatible Tools

claude-codecursorgithub-copilotkiroany

Modalities

Input: code, text
Output: text, code

Related Skills

Author

OpenModels Community

@openmodelsrun