Skip to content

Identifying Potential Bugs

Prompt 1: Code Review for Bug Prevention

Use Case: To help developers identify potential bugs during code reviews.

Prompt: You are reviewing code for potential bugs. The code details are as follows:

Code_snippet: {code_snippet}
Programming_language: {programming_language}

Generate a list of potential bugs or issues, including:
- Logic errors.
- Edge cases.
- Error handling concerns.