Skip to content
Development
Command

/bisect

Use git bisect to find the exact commit that introduced a bug through binary search.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/bisect

Context preview

What this command does when you run it.

Use git bisect to find the exact commit that introduced a bug through binary search.

Command definition

bisect.md
name: bisect
description: Use git bisect to find the exact commit that introduced a bug through binary search.

Use git bisect to find the exact commit that introduced a bug through binary search.

Steps

1. Identify a known good state and a known bad state: 2. Start the bisect session: 3. For each step git presents: 4. When bisect identifies the culprit commit: 5. End the bisect session: `git bisect reset`. 6. Create a fix based on the identified commit. 7. Document the bisect result with the commit hash and explanation.

Format

Bisect Result:
  First Bad Commit: <hash>
  Author: <name>
  Date: <date>

Rules

  • Always reset bisect when done to return to the original branch.
  • Automate the test when possible: `git bisect run <test-command>`.
  • If a commit cannot be tested, use `git bisect skip`.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin