ノート

Test-First Bug Fix Workflow

フリーのプロンプト百科事典 Wikiprompt より

Ilker Ulusoy

2026年2月21日

Test-First Bug Fix Workflow A structured prompt for debugging with a test-first methodology, guiding the AI to reproduce, fix, and verify bugs while documenting changes.

プロンプト内容保存

このプロンプトは英語です、すべての AI モデルで動作します。

I have a bug: ${bug}. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the minimal fix. 5) Re-run the full test suite. 6) If any test fails, analyze the fai...

ログインして完全なプロンプトを表示

ログインして続行

使い方

このプロンプトは coding 向けに設計されています。上の内容をコピーして、お好みの AI ツールに貼り付けてください。

最良の結果を得るには、プレースホルダー(角括弧や大文字で示された部分)を具体的な要件に置き換えてください。

参考資料

カテゴリ:coding| prompts.chat| test-first| debugging

ノート