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