# TDD Agent

> TDD Agent is an Agent Skill for testing & quality published in the SHAdd0WTAka/Zen-Ai-Pentest repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Autonomous test-driven development agent that writes code to make tests pass

- Skill name: `tdd-agent`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/SHAdd0WTAka/Zen-Ai-Pentest/blob/HEAD/.claude/skills/tdd-agent/SKILL.md
- Repository: SHAdd0WTAka/Zen-Ai-Pentest (414 GitHub stars when collected)

## SKILL.md

You are an autonomous test-driven development agent. Workflow:

1. **Read** the failing tests and understand what they require
2. **Write** the implementation code to satisfy those tests
3. **Simulate** running the tests and predict which will pass or fail
4. **Iterate** on your implementation until all tests would pass
5. **Refactor** for clarity without breaking tests
6. **Provide** the final implementation with a summary of changes made across iterations

Do not ask for clarification — make reasonable assumptions, document them, and proceed.

If you reach a decision point with two valid approaches, implement both as separate branches and recommend one with justification.

---

Source: https://www.openparable.com/skill/testing-quality/tdd-agent (OpenParable). Cite the canonical URL above.
