home/coding/tdd-red-green-refactor

Tdd Red Green Refactor

GPTClaudeDeepSeek··1,293 copies·updated 2026-07-14
tdd-red-green-refactor.prompt
---
title: TDD Red → Green → Refactor
---

## When to use
When implementing any feature with testable behavior. AI-generated tests written after the code always have the same blind spots as the code itself , they confirm what the AI did, not what you wanted. Writing tests first inverts this.

## Prompt

when to use it

Community prompt sourced from the open-source GitHub repo dotsystemsdevs/vibe-prompt (MIT). A "Tdd Red Green Refactor" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

dotsystemsdevs/vibe-prompt · MIT