git-bisect-detective
Drive git bisect to find the exact commit that introduced a regression, including automated test scripts and merge-commit handling.
Skill by anton-abyzov
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/anton-abyzov-git-bisect-detective
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-bisect-detective
What's inside
- Skill name
git-bisect-detective- Description
- Drive git bisect to find the exact commit that introduced a regression, including automated test scripts and merge-commit handling.
- License
- MIT
- Instructions
- 91 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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 1. Confirm a reliable reproduction. You need a command that exits `0` when the code is good and non-zero when it is bad. 2. Identify a known-good commit (often a release tag) and a known-bad commit (usually `HEAD`). 3. Start the bisect session, then let git binary-search the range. ```bash git bisect start git bisect bad HEAD git bisect good v2.4.0 # last release known to work ``` git checks out the midpoint. Test it, then mark the result: ```bash git bisect good # the checked-out commit is fine # or git bisect bad # the checked-out commit shows the bug ``` Repeat until git prints `<sha> is the first bad commit`. Always finish with: ```bash git bisect reset ``` ## Automate with a test script Manual marking is slow and error-prone. Provide a script and let git run it: ```bash git bisect start HEAD v2.4.0 git bisect run ./scripts/repro.sh ``` `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: ```bash #!/usr/bin/env bash set -euo pipefail make build || exit 125 # skip commits that don't compile npm test -- --run regression.spec.ts ``` ## Handling tricky ranges - **Untestable commits** (broken build, missing deps): return `125` so 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 1. `git show <sha>` to read the diff. 2. Summarize *why* the change caused the regression, not just *what* changed. 3. 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 reset` even when the run fails.
From anton-abyzov/vskill-test-public-skills-826, MIT.
More from anton-abyzov/vskill-test-public-skills-826
- 0.551score
private-skill-sharing-review
anton-abyzov
Review a proposed sharing or publishing workflow for a private AI skill using supplied repository visibility and authorization details.
SkillAFreshness: AClaude Code +9 - 0.551score
skill-inventory-drift
anton-abyzov
Compare supplied AI skill inventories from two machines or agents by source identity, version, content hash and installation scope.
SkillAFreshness: AClaude Code +9 - 0.551score
release-evidence-review
anton-abyzov
Review supplied software release receipts and state exactly which source, test, deployment, installation and runtime claims they support.
SkillAFreshness: AClaude Code +9 - 0.471score
conventional-commits-gatekeeper
anton-abyzov
Enforce and author Conventional Commits messages, validate commit history, and map commit types to semantic-version bumps.
SkillCFreshness: CClaude Code +9 - 0.471score
dockerfile-hardening-guide
anton-abyzov
Harden Dockerfiles for security and size — non-root users, pinned bases, multi-stage builds, minimal layers, and supply-chain hygiene.
SkillCFreshness: CClaude Code +9 - 0.471score
http-api-mock-forge
anton-abyzov
Stand up deterministic HTTP API mocks for tests and local dev using MSW, Nock, or Prism — request matching, stateful handlers, and contract fidelity.
SkillCFreshness: CClaude Code +9 - 0.471score
scanner-tripwire-fixture
anton-abyzov
DELIBERATE security-scanner test fixture — contains intentionally dangerous patterns (curl-pipe-bash, env-var exfiltration).
SkillCFreshness: CClaude Code +9 - 0.471score
oss-dependency-triage
anton-abyzov
Triage third-party dependencies before adoption — maintenance health, security advisories, supply-chain risk, and a go/no-go scoring rubric.
SkillCFreshness: CClaude Code +9 - 0.471score
sql-query-review-lens
anton-abyzov
Review SQL queries for correctness, performance, and safety — index usage, N+1 patterns, injection risk, and EXPLAIN-driven tuning.
SkillCFreshness: CClaude Code +9 - 0.471score
oss-license-auditor
anton-abyzov
Audit a project's dependency licenses for compatibility and obligations — copyleft detection, license allowlists, and SPDX-based reporting.
SkillCFreshness: CClaude Code +9 - 0.471score
changelog-scribe
anton-abyzov
Generate and maintain a Keep a Changelog style CHANGELOG.md from Conventional Commits, grouped by type with correct semver headings.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 10, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from anton-abyzov
- 0.783score
glossary
anton-abyzov
Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI.
SkillAFreshness: A★ 167Claude Code +9 - 0.783score
sw-grill-me
anton-abyzov
Interview the user relentlessly, in rounds, until every decision in a plan is settled; facts are your job, decisions are theirs.
SkillAFreshness: A★ 167Claude Code +9 - 0.783score
grill-me
anton-abyzov
Interview the user relentlessly, in rounds, until every decision in a plan is settled; facts are your job, decisions are theirs.
SkillAFreshness: A★ 167Claude Code +9 - 0.783score
sw-glossary
anton-abyzov
Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI.
SkillAFreshness: A★ 167Claude Code +9 - 0.781score
handoff
anton-abyzov
Hand work to another tool, account or machine and pick it up there, in two words.
SkillAFreshness: A★ 167Claude Code +9 - 0.781score
sw-handoff
anton-abyzov
Hand work to another tool, account or machine and pick it up there, in two words.
SkillAFreshness: A★ 167Claude Code +9
Cite this page
git-bisect-detective skill. Agent Mart. https://agentmart.dev/skills/anton-abyzov-git-bisect-detective (last updated 2026-10-24)