Back to prompts
The Bug Hunter
Explore codebase with fresh eyes to find and fix obvious bugs and issues
Jeffrey Emanuelv1.0.0~400 tokens
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 suggestionsPeer Code Reviewer
Cross-agent code review to catch issues from parallel work
reviewqualitycross-agent
System Weaknesses Analyzer
Identify the weakest parts of the system that need fresh ideas and improvements
analysisimprovementreview
Deep Project Primer
Essential first step to fully understand a project before any work
onboardingunderstandingexploration
The Premortem Planner
Imagine failure 6 months out and revise the plan to prevent it
planningriskpremortem
Deployment Verifier
Verify live deployment works with automated browser testing
deploymentverificationplaywright