← Back to Skills Marketplace
drumrobot

TDD Workflow

by es6kr · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
183
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install tdd
Description
Test-Driven Development for coding and bug fixing. cycle - Red→Green→Refactor cycle, defining expected behavior, bug-fix TDD, anti-patterns [cycle.md], run -...
README (SKILL.md)

TDD (Test-Driven Development)

Test-Driven Development: define expected behavior first, then make it pass with implementation.

Topics

Topic Description Guide
cycle Red→Green→Refactor cycle, bug-fix TDD, anti-patterns cycle.md
run Test execution workflow (environment detection→impact scope→execution→result reporting) run.md
test-strategies Boundary value·equivalence partitioning·decision table·error guessing·path coverage test-strategies.md

Quick Reference

TDD Cycle

Define expected behavior → natural failure → implement → pass → refactor. See cycle.md.

Test Execution

Environment detection → impact scope → execution (unit→integration→e2e) → result reporting. See run.md.

Test Design Techniques

Decide which test cases to write (boundary value, equivalence partitioning, etc.). See test-strategies.md.

Usage Guidance
This skill is a documentation-only TDD workflow and appears internally consistent. Before installing: (1) review the 'skill-toolkit' dependency—it may grant additional capabilities; (2) be aware that following the run instructions will read your repo files and may run test commands that execute code in that repository—do this only on trusted code or in an isolated environment; (3) the skill does not request secrets, but if you let an agent run tests in a repo that uses CI credentials or local service credentials, ensure those secrets are not exposed; (4) if you want to prevent automatic execution, disable autonomous invocation for the agent or require manual approval before running tests.
Capability Analysis
Type: OpenClaw Skill Name: tdd Version: 0.1.0 The 'tdd' skill bundle provides a comprehensive and standard set of instructions for an AI agent to perform Test-Driven Development. It includes workflows for environment detection, impact analysis using 'git diff', and test execution using common frameworks like Vitest and Pytest. The instructions emphasize best practices such as avoiding hardcoded paths, protecting personal data, and ensuring tests are platform-agnostic, with no evidence of malicious intent or unauthorized data access.
Capability Assessment
Purpose & Capability
Name/description, included documents (cycle.md, run.md, test-strategies.md), and declared dependencies align with a TDD guidance skill. It requests no env vars, binaries, or config paths. The only external declaration is depends-on: [skill-toolkit], which is plausible (tooling helpers) but should be reviewed separately.
Instruction Scope
SKILL.md and the included docs instruct the agent to read project files (package.json, pyproject.toml, .github/workflows), run shell commands (ls, grep, git diff, pnpm/test commands), and execute tests. Those steps are expected for a test-run workflow, but running a project's test suite can execute arbitrary code in that repository—so the instructions are coherent but carry the usual operational risk of executing untrusted test code.
Install Mechanism
No install spec and no code files beyond markdown; instruction-only skills do not place binaries on disk. This minimizes install-time risk.
Credentials
No environment variables, credentials, or sensitive config paths are requested. The guidance does mention checking for external services (DB, SSO, Redis) as part of environment detection, which is appropriate for determining test prerequisites but does not itself request secrets.
Persistence & Privilege
always is false and there is no indication the skill modifies other skills or system-wide settings. The skill can be invoked autonomously by the agent (platform default); this is normal but worth noting if you want to restrict autonomous test runs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tdd
  3. After installation, invoke the skill by name or use /tdd
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: Red-Green-Refactor cycle, test runner, test design strategies
Metadata
Slug tdd
Version 0.1.0
License MIT-0
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is TDD Workflow?

Test-Driven Development for coding and bug fixing. cycle - Red→Green→Refactor cycle, defining expected behavior, bug-fix TDD, anti-patterns [cycle.md], run -... It is an AI Agent Skill for Claude Code / OpenClaw, with 183 downloads so far.

How do I install TDD Workflow?

Run "/install tdd" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TDD Workflow free?

Yes, TDD Workflow is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does TDD Workflow support?

TDD Workflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TDD Workflow?

It is built and maintained by es6kr (@drumrobot); the current version is v0.1.0.

💬 Comments