卡住時套用系統性除錯流程
何時使用: 你已經猜了一個小時,需要結構化的方法。
步驟
-
觸發技能I'm stuck debugging a flaky test that fails on CI but passes locally. Apply your debug-systematically skill.✓ 已複製→ 技能啟動,詢問重現步驟 + 最近的變更
-
按步驟操作Step through the bisect/log/instrument plan it gives you.✓ 已複製→ 捕獲逐步輸出
-
修復 bugOnce root cause confirmed, apply the fix and add a regression test.✓ 已複製→ Bug 已修復;CI 通過
結果: Bug 已解決,並有記錄的證據鏈。
注意事項
- 對瑣碎 bug 使用技能造成額外開銷 — 對明顯的 bug 跳過技能——在卡超過 30 分鐘的情況下使用它
搭配使用: wshobson-agents-skill