Skip to main content
Back to prompts
debuggingFeaturedintermediate

The Bug Hunter

Explore codebase with fresh eyes to find and fix obvious bugs and issues

Jeffrey Emanuelv1.0.0~400 tokens
debuggingbugsreviewfresh-eyesexploration

Additional Context

Prompt

I want you to sort of randomly explore the code files in this project, choosing code files to deeply investigate and understand and trace their functionality and execution flows through the related code files which they import or which they are imported by. Once you understand the purpose of the code in the larger context of the workflows, I want you to do a super careful, methodical, and critical check with "fresh eyes" to find any obvious bugs, problems, errors, issues, silly mistakes, etc. and then systematically and meticulously and intelligently correct them. Be sure to comply with ALL rules in the AGENTS md file and ensure that any code you write or revise conforms to the best practice guides referenced in the AGENTS md file.

When to Use

  • After writing a lot of new code
  • When you suspect there might be bugs lurking
  • As a general code quality check
  • To keep agents productively busy exploring and improving code

Tips

  • Great for keeping agents busy with useful work
  • Follow up with 'OK, now fix ALL of them' for execution
  • Works well after the agent has explored different parts of the codebase

Related Prompts

5 suggestions