Test driven development

From J-Pster/Psters_AI_Workflow · View interactive version

Test driven development is an AI agent skill from the GitHub repository J-Pster/Psters_AI_Workflow. Optional TDD workflow; use only when user explicitly requests TDD/tests (red-green-refactor with minimal scope).

How to use this skill

Skill file

Test-Driven Development (Optional)

This skill is opt-in.

Activation rule

Apply only when the user explicitly asks for TDD/tests (e.g., "use TDD", "write tests first", "test-first").

Core loop

  1. Red: write a failing test for the target behavior.
  2. Green: implement minimal code to pass.
  3. Refactor: clean implementation while keeping tests green.

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.