/debugging-diagnostics:regression-bisectingfrom debugging-diagnostics
Uses git bisect to find the exact commit that introduced a regression. Requires a deterministic test command and known-good/bad refs.
Ships in debugging-diagnostics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When a feature used to work but is now broken, do not guess what broke it. Use binary search through git history to find the exact commit, then read the root cause out of that commit's diff.
0 if good and non-zero if bad (e.g., npm run test:repro or node repro.js)HEAD)Define the test. You must have a single command that returns exit code 0 if good, and non-zero if bad. If none exists, build one first (see minimal-reproduction).
Find a known good state. Ask the user or search git history for a commit where you are certain the feature worked (a release tag is a good candidate). Verify it by running the test on it.
Find the known bad state. Typically HEAD.
Bisect automatically:
git bisect start <bad> <good>
git bisect run npm run test:repro # or: git bisect run node repro.js
git bisect log # record of the search
git bisect reset # always return to the original ref
git bisect run checks out each midpoint and runs the command until it isolates the first bad commit. Use git bisect skip for midpoints that fail to build. For workflows where bisect run is not viable, manually check out the midpoint commit, run the test, and narrow the window with git bisect good / git bisect bad.
Analyze the offending commit. Once the exact commit is found, use git show <commit> to analyze the diff. The root cause is contained entirely within that diff.
git bisect reset run afterward — repo back on the original refflaky-test-investigation).git bisect reset — leaves the repo detached on a bisect commit.git bisect skip and the result is corrupted.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yeaight7/agent-powerups --plugin debugging-diagnostics8 skills in this plugin
/bug-huntUse when reproducing, isolating, and fixing a bug with the smallest safe change./failure-triageUse when confronted with an unknown failure in CI or production, before committing to a deep debugging approach./flaky-test-investigationUse when tests pass and fail intermittently without code changes, or a test passes alone but fails in the full suite.Other plugins' skills for the same job