tdd

Installation
SKILL.md

Test-Driven Development

Red-green-refactor. Write the test, watch it fail, make it pass, clean up.

Workflow

1. Red — Write a Failing Test

Write the simplest test that describes the desired behavior:

def test_user_can_login_with_valid_credentials():
    result = login("alice", "correct-password")
    assert result.success is True
    assert result.user.name == "alice"

Run it. Confirm it fails for the right reason (missing function, not syntax error).

Installs
1
First Seen
Apr 7, 2026