Test driven development

From agentic-in/elephant-agent · View interactive version

Test driven development is an AI agent skill from the GitHub repository agentic-in/elephant-agent. Drive behavior changes through a failing test, the smallest working implementation, and then cleanup once the behavior is locked.

How to use this skill

Skill file

Test Driven Development

Use this skill when the behavior can be expressed clearly in tests before the implementation is obvious.

Preferred Flow

  1. Write or identify the failing test first.
  2. Make the minimal change that turns it green.
  3. Refactor only after behavior is protected.
  4. Keep the test focused on one behavior.

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.