Skip to main content

bisect-regression

Find the exact commit that introduced a bug. Use when something worked before and broke, and you don't know which change did it.

ソース情報

リポジトリ
Archive228/loopkit
ソースの最終更新活動
2026年6月29日 21:52
検出された SKILL.md の言語
英語
スター
757
フォーク
124

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
bisect-regression
description
Find the exact commit that introduced a bug. Use when something worked before and broke, and you don't know which change did it.
# Bisect the Regression 1. Find a known-good commit and a known-bad one. Confirm both by actually checking out and testing. 2. `git bisect start; git bisect bad <bad>; git bisect good <good>`. 3. At each step, run the SMALLEST test that distinguishes good from bad. Mark `git bisect good/bad`. 4. When git names the first bad commit, read its diff. The bug is in those lines — don't guess elsewhere. 5. `git bisect reset`. Report: the commit, the line, the one-sentence cause. Automate it: `git bisect run ./repro.sh` if you have a script that exits non-zero on the bug.
GitHubで見る