---
name: automated-test-driven-feature-development
description: "Implements repository features using test-driven development by inspecting the target project, running the existing test suite, adding targeted tests, and writing the minimum code to pass them. Use when a feature request needs verified, regression-free code."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/automated-test-driven-feature-development/"
  kind: skill
  hermes:
    tags: ["tdd", "testing", "python", "automation"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Automated test-driven feature development

Implement repository features and verify code against local test suites automatically

## When to use

Turn feature requests into tested code by inspecting the repository, executing existing unit tests, drafting the required implementation along with new test cases, and confirming everything passes cleanly before staging changes.

## Inputs

- `feature_request`: Plain description of the behavior or feature to implement in the repository
- `repository_path`: Location of the target project the agent should inspect and modify
- `test_command` (optional): Optional command used to run the existing unit test suite for the baseline

## Steps

1. When you ask: Receive feature request (A person asks the agent to implement a feature in the target repository.)
2. Run tests and implement code
3. Present passing test diff

## Instructions

When given a task, inspect the target project and run the existing test suite in the terminal to verify the baseline. Follow test-driven development: write targeted tests for the requested behavior, implement the minimum code required to pass them, and re-run the suite to guarantee zero regressions. Never push commits or publish branches without explicit human approval.

## Approvals

- Pushing commits to the repository must wait for explicit human approval.
- Publishing branches must wait for explicit human approval.

## Output

Summary of the drafted code changes and new tests, with confirmation the full suite passes cleanly. (format: markdown)

## Source

Summarized in our own words from [Ask HN: How are you automating your coding work?](https://news.ycombinator.com/item?id=46710108) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/automated-test-driven-feature-development/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
