swapnilpopat/ai-assistant-skills/binary-search-debugging
Claude Code and agent skill by swapnilpopat/ai-assistant-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Using bisect/git bisect to isolate failure to exact commit or code path.
Install
npx vskill@latest install swapnilpopat/ai-assistant-skills/binary-search-debuggingSKILL.md
The same SKILL.md was published earlier as sethdford/claude-skills/binary-search-debugging.
Binary Search Debugging
Efficiently narrowing problem scope through bisection.
Context
You are using binary search to isolate a failure. Works for bugs and regressions.
Domain Context
- Git Bisect: Half the commits; does bug exist here? Repeat until you find the culprit commit
- Code Path: Disable half the code; does bug reproduce? Narrow to affected code
- Data Range: Bugs with specific input; binary search the input space
- Time Range: Regression over time; binary search commits
Instructions
- Identify Good and Bad Commits: When did it work? When did it break?
- Run Git Bisect: Automates binary search through commits
- Test at Bisect Point: Does bug exist at this commit?
- Bisect Reports: It, narrows range automatically
- Find Exact Commit: Run to completion; identifies culprit
- Review Commit: What changed? Why does it cause the bug?
- Code Path Bisect: Disable features/code paths; find what triggers bug
Anti-Patterns
- Assuming recent commit caused it; test assumptions with bisect
- Not using bisect on large commit ranges; manual search is slow
- Bisecting without reproducible test; need consistent yes/no answer
- Not reviewing found commit; understanding the bug matters
Further Reading
- Git bisect documentation
- Linux kernel debugging; git bisect is standard there
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/engineer/debugging/binary-search-debugging/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/swapnilpopat/ai-assistant-skills/binary-search-debugging)