Test-Driven Development
Siga vermelho-verde-refatorar: escreva primeiro o teste que falha e depois o código mínimo que passa.
O que é
Test-Driven Development from Superpowers makes the agent write the test before the implementation. It keeps scope small, prefers one failing assertion at a time, and refuses large untested dumps of code.
Prompt de exemplo
Escrever o teste primeiro
Adicione limite de taxa com TDD. Mostre primeiro o teste que falha e depois a implementação.
Fonte: Superpowers
Ler o guia de instalação