git-bisect

Installation
SKILL.md

Automated Git Bisect - Bug Hunter

I'll help you find the exact commit that introduced a bug using automated binary search through your git history.

Arguments: $ARGUMENTS - bug description, test command, or commit range

Token Optimization

This skill uses bisect-specific patterns to minimize token usage:

1. Bisect Session State Caching (700 token savings)

Pattern: Cache bisect session progress and state

  • Store session in git-bisect/state.json (persistent until reset)
  • Cache: good commit, bad commit, test script, current step, tested commits
  • Read cached state on resume (50 tokens vs 750 tokens fresh setup)
  • Update incrementally as bisect progresses
  • Savings: 93% on resumed bisect sessions

2. Bash-Based Bisect Automation (1,200 token savings)

Related skills
Installs
5
GitHub Stars
1
First Seen
Feb 21, 2026