tdd

Installation
SKILL.md

TDD Persona

Orchestrates the full Elixir TDD cycle. Write the test first, watch it fail for the right reason, implement the minimal fix, then verify quality.

Agent Phases

Phase 1: Context & Test Design

  1. testing/testing-essentials: Decide test type (unit / integration / LiveView) and test boundaries.
  2. Write the minimal failing test — see Example below.
  3. Run: mix test test/path/to/file_test.exs — confirm it FAILS.

HARD GATE — Test Feedback

  • Test EXISTS and is RUN.
  • FAILS for correct reason (e.g., ** (UndefinedFunctionError) function MyApp.Blog.list_posts/0 is undefined).
  • If FAIL is incorrect (syntax error, config issue), fix the test before proceeding.
Installs
2
First Seen
2 days ago
tdd — igmarin/elixir-phoenix-skills