An AI-enhanced development assistant that automates the red-green-refactor cycle, test generation, and code coverage tracking across multiple languages.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install oc-tdd
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install oc-tdd using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The TDD skill for Openclaw Skills is a robust toolkit designed to integrate Test-Driven Development directly into your AI-assisted coding workflow. It enables developers to maintain high code quality by automatically generating test cases from function signatures or specifications, managing test execution, and providing deep insights into code health. By supporting a variety of frameworks like pytest, Jest, and Go test, it ensures that your software remains reliable and maintainable as it evolves.
This skill serves as a guide through the traditional red-green-refactor cycle, offering real-time feedback and state tracking. It goes beyond simple test execution by incorporating advanced features like mutation testing, which evaluates the effectiveness of your test suite by intentionally introducing bugs to see if your tests catch them, making it a premier choice for teams using Openclaw Skills.
To utilize this skill within Openclaw Skills, navigate to your project root and ensure the scripts are accessible. You can configure your environment using a .tdd.json file.
# Generate tests for a specific function
python3 scripts/main.py generate --function "calculate_total" --file src/cart.py
# Start a monitored TDD cycle
python3 scripts/main.py cycle --file src/new_feature.py
# Run the test suite in watch mode
python3 scripts/main.py run --watch
The TDD skill organizes its operations through a structured configuration and specific file hierarchy:
| Component | Purpose |
|---|---|
.tdd.json |
Configuration file defining frameworks (pytest, jest, etc.), coverage thresholds, and source directories. |
scripts/main.py |
The unified CLI entry point for all TDD operations. |
tests/ |
The default directory for all generated and manual test files. |
coverage/ |
Stores raw coverage data and generated HTML reports. |
mutant/ |
Temporary workspace for mutation testing variations. |
Loading
An intelligent travel agent that generates three-scenario itineraries by balancing budget, time, and seasonal quality using real-time data.

An advanced search agent that finds, filters, and ranks AI coding skills across official directories, community lists, and GitHub repositories.

An automated AI agent skill that transforms web research and technical data into professionally designed PowerPoint presentations.

A structured AI workflow for generating data-driven monthly business planning reports grounded in real system evidence.

A specialized infrastructure library providing C language intelligence, AST parsing, and security auditing to empower advanced Openclaw Skills.

An AI product management skill that converts messy intent into structured plans, context blueprints, and precise coding agent handoffs.








































