Use PROACTIVELY to guide automated git bisect sessions for finding regression commits with smart test execution
npx claude-code-templates@latest --skill β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’Unlock this skill to run and inspect the interactive installation sequence.
Automated git bisect session to find regression commits: $ARGUMENTS
git branch --show-currentgit log --oneline -10git status --porcelaingit bisect log 2>/dev/null || echo "No active bisect session"git tag --sort=-version:refname | head -10Set up and manage an intelligent git bisect session to identify the exact commit that introduced a regression or bug.
--auto [test-command])# Automatically bisect using test command /git-bisect-helper --auto "npm test" /git-bisect-helper --auto "python -m pytest tests/test_regression.py" /git-bisect-helper --auto "./scripts/check-performance.sh"
Process:
# Interactive bisect with guidance /git-bisect-helper v1.2.0 HEAD /git-bisect-helper abc123 def456
Process:
--continue)# Resume interrupted bisect session /git-bisect-helper --continue
Process:
--reset)# Clean up and reset bisect session /git-bisect-helper --reset
Process:
# Analyze current bisect commit Files changed: !`git show --name-only --pretty="" HEAD` Commit message: !`git log -1 --pretty=format:"%s"` Author and date: !`git log -1 --pretty=format:"%an (%ar)"`
Bisect Progress: π― Target: Find regression in user authentication π Commits remaining: ~4 (out of 127) β±οΈ Estimated time: 8 minutes π Current commit: abc123 - "refactor auth middleware"
π Regression Found! Bad Commit: def456 Author: John Doe Date: 2024-01-15 14:30:00 Message: "optimize database queries" Files Changed: - src/auth/database.js - src/middleware/auth.js - tests/auth.test.js Bisect Log: 15 steps, 3 manual verifications Total Time: 12 minutes Recovery Commands: git revert def456 # Revert the problematic commit git cherry-pick def456^..def456~1 # Cherry-pick the good parts
# Find when tests became slower /git-bisect-helper --auto "timeout 30s npm test"
# Find when feature X broke /git-bisect-helper --auto "./test-feature-x.sh"
# Find when build started failing /git-bisect-helper --auto "npm run build"
# Interactive bisect for complex issues /git-bisect-helper v2.1.0 HEAD
The bisect helper provides intelligent automation while maintaining full control over the debugging process, making regression hunting efficient and systematic.
# Step 1: Initialize skill agent setup
npx skills add Git Bisect Helper --install-production
python -m pip install -r requirements.txt
codex plugin install Git Bisect Helper@latest
export API_KEY=secret_token_key_here
Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.
Get instant access to complete setup guides, repository source code, and integration assets.
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Multi-framework structured analysis: surfaces hidden assumptions, generates competing solutions, stress-tests each with adversarial reasoning, and delivers confidence-calibrated recommendations
Generate comprehensive architecture documentation with diagrams, ADRs, and interactive visualization