anton-abyzov/vskill-test-public-skills-826/git-bisect-detective
Claude Code and agent skill by anton-abyzov/vskill-test-public-skills-826
- vendor
Checking that the SKILL.md file is still in the repository.
Drive git bisect to find the exact commit that introduced a regression, including automated test scripts and merge-commit handling.
Install
npx vskill@latest install anton-abyzov/vskill-test-public-skills-826/git-bisect-detectiveSKILL.md
The same SKILL.md was published earlier as anton-abyzov/vskill-test-public-skills-826/git-bisect-detective.
git-bisect-detective
Find the precise commit that introduced a bug using git bisect. This skill turns a vague "it worked last week" report into a single offending SHA, then explains the change.
When to use
- A test that used to pass now fails and nobody knows which commit broke it.
- A performance regression appeared somewhere in a range of commits.
- You can describe "good" and "bad" states with a repeatable check.
Core workflow
- Confirm a reliable reproduction. You need a command that exits
0when the
code is good and non-zero when it is bad.
- Identify a known-good commit (often a release tag) and a known-bad commit
(usually HEAD).
- Start the bisect session, then let git binary-search the range.
git checks out the midpoint. Test it, then mark the result:
Repeat until git prints <sha> is the first bad commit. Always finish with:
Automate with a test script
Manual marking is slow and error-prone. Provide a script and let git run it:
repro.sh must follow the bisect exit-code contract:
| Exit code | Meaning | git interprets as | |
|---|---|---|---|
0 | commit is good | git bisect good | |
1–124 | commit is bad | git bisect bad | |
125 | cannot test | git bisect skip | |
>=128 | abort the bisect | stop immediately |
Example script:
Handling tricky ranges
- Untestable commits (broken build, missing deps): return
125so git runs
git bisect skip instead of mislabeling them.
- Merge commits: bisect already understands the DAG; you do not linearize
history. If a first-bad-commit is a merge, inspect both parents.
- Flaky tests: stabilize the repro first. A flaky check makes bisect chase
noise. Run the test several times locally before trusting a single result.
- Large ranges: bisect is
O(log n). Even 4,096 commits resolve in ~12
steps, so do not hand-pick midpoints.
After you find it
git show <sha>to read the diff.- Summarize why the change caused the regression, not just what changed.
- Propose the minimal fix or a revert, and add a regression test so the same
commit class cannot slip through again.
Agent guidance
- Never guess the bad commit by reading diffs first — let bisect prove it.
- Always pair a found commit with a new automated test.
- Clean up with
git bisect reseteven when the run fails.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 10 Jun 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/git-bisect-detective/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- 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/anton-abyzov/vskill-test-public-skills-826/git-bisect-detective)