git-history-diagnostic

Locate the regression-causing commit via git bisection and output its diff.

6|Updated May 29, 2026
One-click install
npx skills add https://github.com/fusebase-dev/fusebase-flow --skill git-history-diagnostic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-history-diagnostic
Source: https://github.com/fusebase-dev/fusebase-flow/tree/main/flow-skills/git-history-diagnostic
Command: npx skills add https://github.com/fusebase-dev/fusebase-flow --skill git-history-diagnostic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When previously working code suddenly breaks, manually searching through git history to find the culprit commit is slow and error-prone. This skill automates the process of bisecting commit history to pinpoint the exact change that introduced the regression, eliminating guesswork and speeding up fixes.

Core Features & Use Cases

  • Automated Git Bisection: Narrows down the first bad commit using a deterministic pass/fail test signal, no manual commit checking required.
  • Causal Change Identification: Extracts the exact diff of the regression-causing commit, so you know precisely what code change to address.
  • Use Case: If your test suite passed in version 2.1 but fails in the current HEAD, use this skill to find the exact commit that broke the test in minutes instead of hours.

Quick Start

Use the git-history-diagnostic skill to find the commit that caused the payment processing feature to stop working after the last deployment.

Frequently Asked Questions about git-history-diagnostic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the exact commit that introduced a regression in git?

To find a git regression, you can use automated commit bisection to compare known-good and known-bad code states. This pinpoints the exact software regression commit automatically, eliminating manual searching through git history.

What is git bisection and how does it identify a broken commit?

Git bisection is a diagnostic process that repeatedly halves the commit history between known-good and known-bad states. By applying a deterministic pass/fail test signal, it narrows down the exact commit diff that introduced the regression.

How do I trace when a failing test suite first started breaking in my git history?

You can trace a failing test suite by bisecting the code history between a passing version and the current HEAD. The diagnostic process requires a deterministic pass/fail signal to reliably identify the exact commit that broke the tests.

Do I need a deterministic test signal to successfully bisect git commit history?

Yes, a deterministic pass/fail test signal is required to ensure reliable bisection results. Without a consistent signal, the automated bisection cannot accurately narrow down the exact commit diff that introduced the regression.

What's the best way to pinpoint root cause when previously working code suddenly breaks?

The best way to pinpoint root cause is automating git bisection to locate the exact commit that introduced the regression. Once identified, it outputs the causal commit diff along with handoff instructions for root cause analysis and fix validation.

Can I use git bisection for operator requests to trace when a specific issue first appeared?

Yes, git bisection applies to scenarios including operator requests to trace when a specific issue first appeared. By comparing known-good and known-bad states, it locates the exact commit that introduced the unexpected feature regression.