Test-First Bug Fix Workflow

De Wikiprompt, a enciclopédia livre de prompts

Ilker Ulusoy
Contribuído porIlker UlusoyFonte

21 de fev. de 2026

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.

Conteúdo do PromptSalvar

Este prompt está em inglês - funciona com todos os modelos de IA.

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...

Entre para ver o prompt completo

Entrar para Continuar

Uso

Este prompt foi projetado para uso com coding. Copie o conteúdo acima e cole na sua ferramenta de IA preferida.

Para melhores resultados, personalize os marcadores (indicados por colchetes ou maiúsculas) com seus requisitos específicos.

Referências

Categorias:coding| prompts.chat| test-first| debugging

Discussão

0 comentários