Blink
Tool
Blink

AI支援デバッグワークフロー

推測をやめて、見つけ始めましょう。バグをより速く診断して修正するための繰り返し可能なAI支援ワークフロー。

3 steps
codingdeveloper-toolsproductivity
1

まず正確なバグレポートを書く

AIに何かを尋ねる前に、期待したこと、実際に起きたこと、完全なエラーメッセージを正確に書き留めます。

Example prompt
Help me debug this issue. Expected behavior: [WHAT SHOULD HAPPEN]. Actual behavior: [WHAT IS HAPPENING]. Error message: [FULL ERROR/STACK TRACE]. Relevant code: [PASTE CODE]. Environment: [LANGUAGE/FRAMEWORK/VERSION]. What are the most likely causes and how do I diagnose each one?
2

AIにエラーを説明して原因を追跡させる

スタックトレースを貼り付け、AIに平易な言葉で説明してもらい、どの行がそれを引き起こしたかを追跡してもらいます。

Example prompt
Explain this stack trace in plain English. Identify: the root error (not the symptom), which function/line actually caused it, the chain of calls that led there, and what state the program was in when it crashed. Stack trace:

[PASTE STACK TRACE]
3

最小限の再現とフィックスを生成する

AIにバグを再現する最小限のテストケースを書いてもらいます。再現したら、説明付きの修正を依頼します。

Example prompt
Based on this bug description, write: 1) A minimal code snippet that reproduces the issue (no dependencies beyond what's needed). 2) The fix with a clear explanation of why the original code was wrong. 3) A unit test that would have caught this bug. Bug: [DESCRIBE THE BUG]. Relevant code: [PASTE CODE]
Ready to try Blink?
Follow this playbook with the actual tool
View Tool