Tdd

From jtenner/starshine-mb · View interactive version

Tdd is an AI agent skill from the GitHub repository jtenner/starshine-mb. Practice strict test-driven development with tiny loops, clear interfaces, and refactoring only after green tests. Use when user asks for TDD or wants work done test-first.

How to use this skill

Skill file

TDD

Follow strict red-green-refactor.

Core loop

  1. Write the smallest failing test.
  2. Make it pass with the smallest sensible change.
  3. Refactor only while tests stay green.
  4. Repeat in tiny steps.

Rules

See deep-modules.md, interface-design.md, mocking.md, refactoring.md, and tests.md.

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.