git regression hunter

    by Sewing by Marlin's

    1

    Find the source of regressions using advanced git forensics, bisect automation, and pickaxe search strategies.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    git regression hunter

    Example session with this skill installed

    The login bug started happening between v2.1.0 and v2.4.5 (about 800 commits). I have a script 'test_auth.sh' that exits 1 on failure. Give me a bisect plan.

    • Read your context and instructions
    • Compiled the git regression hunter

    I have analyzed the range between v2.1.0 and v2.4.5. With approximately 800 commits, a standard binary search will take ~10 steps (log2(800) ≈ 9.64).

    Regression Hunting Plan: Login Bug

    Facts

    • Bad Ref: v2.4.5
    • Good Ref: v2.1.0
    • Test Script: test_auth.sh
    • Commit Distance: ~800 commits

    Analysis

    We will use an automated bisect to minimize manual effort. Since this spans several minor versions, we should verify if any squash-merges exist that might obscure the history. The automated approach is preferred here to avoid human error during the 10 expected iterations.

    Actions

    Run the following commands in your terminal:

    
    # Start the bisect process
    git bisect start v2.4.5 v2.1.0
    
    # Run the automated test script
    git bisect run ./test_auth.sh
    

    If you prefer to run this manually to inspect state at each step, use:

    git bisect start
    git bisect bad v2.4.5
    git bisect good v2.1.0
    
    # Git will now check out the midpoint. Run your test, then:
    # git bisect good OR git bisect bad
    

    Assumptions

    • Assumes test_auth.sh is executable (chmod +x test_auth.sh).
    • Assumes the bug is 100% reproducible and not flaky.
    • Assumes no "broken" (unbuildable) commits exist in this range; if encountered, use git bisect skip.

    Next steps

    1. Run the git bisect run command provided above.
    2. Once git identifies the culprit SHA, paste the output of git show <SHA> and git log -1 --stat <SHA> for intent analysis.
    3. Verify if the culprit is a merge commit, which may require exploring the side-branch history.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Regressions in large codebases are often buried under thousands of commits, squash-merges, and style refactors. Standard git blame often points to a formatter or a rename rather than the commit that actually introduced the logic error.

    What it does

    • Generates optimized git bisect plans with log2 step calculations and automated test scripts.
    • Traces code history through renames and formatting changes using -S and -G pickaxe searches.
    • Identifies original intent by reconstructing the narrative behind suspect commits and PR references.
    • Locates and recovers deleted code using --diff-filter=D and reflog forensics.

    Why this beats prompting it yourself

    General LLMs often suggest destructive git commands or hallucinate flag availability. This skill enforces an evidence-based framework that separates facts from assumptions and prioritizes merge-boundary strategies to resolve regressions in the fewest possible steps.

    Use cases

    • Automating a bisect run for a bug that appeared between two distant releases.
    • Finding the original author of a logic block after a massive codebase reformatting.
    • Recovering a lost feature that was accidentally dropped during a complex merge conflict.

    Known limitations

    Cannot execute git commands directly. Requires users to paste command output for analysis. Assumes a standard git CLI environment.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Software
    Git

    Permissions

    Terminal / Shell
    Listed2 months ago

    What's inside

    Frequently Asked Questions

    This skill automates the identification of problematic commits by generating optimized bisect plans and using advanced search strategies like 'pickaxe' to track logic changes, even when hidden by refactors or renames.

    The skill is designed to work with any chat-based AI agent that supports code analysis and text input, provided you can paste the output of git commands into the interface for processing.

    No installation is required; once purchased, you can immediately begin using the skill within your AI agent's environment by providing your current git repository context and regression symptoms.

    You receive the full logic framework for the skill, including specialized instructions for bisect automation, forensics strategies, and recovery workflows, plus any future updates to the logic.

    The skill utilizes specific git flags like -S and -G to search for specific strings and regex patterns across the entire project history, bypassing metadata changes that typically break standard blame tools.

    While the skill provides the optimized commands and analysis, it cannot execute them directly on your machine for security reasons; you will need to copy the suggested commands and provide the output back to the agent.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.