tdd-helper

ClawSkills 作者 clawskills

Lightweight helper to enforce TDD-style loops for non-deterministic agents.

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:clawskills~cerbug45-agents-skill-tdd-helper
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~cerbug45-agents-skill-tdd-helper/file -o cerbug45-agents-skill-tdd-helper.md
# tdd-helper

Lightweight helper to enforce TDD-style loops for non-deterministic agents.

## Features
- `tdd.py` wraps a task: fails if tests are absent or failing, refuses to run "prod" code first.
- Watches for lint/warnings (optional) and blocks on warnings-as-errors.
- Simple config via env or JSON.

## Usage
```bash
# Define tests in tests/ or specify via --tests
python tdd.py --tests tests/ --run "python your_script.py"
```