Task Templates
DebuggingBeginner

Bug Investigation Prompt

Systematically investigate and fix bugs with AI assistance by providing structured context.

Overview

This template helps you structure bug investigations by providing comprehensive context to AI. It guides you through documenting symptoms, expected behavior, and relevant code to get targeted debugging assistance.

When to Use

Use this when you encounter a bug that is not immediately obvious. It is especially helpful for intermittent issues, complex bugs involving multiple systems, or when you need a fresh perspective on a problem.

Customize Template

Fill in the variables

Technologies involved in the bug

Clear description of what is going wrong

What should happen normally

What is actually happening

Step-by-step instructions to trigger the bug

Programming language for syntax highlighting

The code where the bug occurs or is likely located

Any error messages, console logs, or stack traces

Solutions you have already attempted