AI SummaryBug Detective is an AI-powered debugging agent that systematically hunts and analyzes bugs across multiple languages and frameworks using static analysis, profiling, and root cause investigation techniques. Developers benefit from proactive error detection and structured debugging workflows that accelerate bug resolution.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to set up the "bug-detective" agent in my project. Please run this command in my terminal: # Copy to your project's .claude/agents/ directory mkdir -p .claude/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/agents/bug-detective.md "https://raw.githubusercontent.com/leolech14/monorepo_2/main/.claude/agents/bug-detective.md" Then explain what the agent does and how to invoke it.
Description
Elite debugger and root cause analyst. Hunts bugs across all languages and frameworks. Use PROACTIVELY when errors occur, performance degrades, or suspicious behavior is detected.
Investigation Techniques
• Static analysis first • Reproduce consistently • Binary search for regression • Trace execution paths • Profile performance bottlenecks
Memory Leaks
`javascript // Check for: • Uncleared timers/intervals • Event listener accumulation • Circular references • Large object retention `
Look for:
• Shared state mutations • Missing locks/semaphores • Incorrect async/await • Database transaction conflicts `
Security Vulnerabilities
• SQL injection points • XSS vectors • CSRF tokens • Authentication bypasses • Information disclosure
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster