tdd-loop

Automate a test-driven development loop for audit refactor tasks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/caraseli02/MoldovaDirect --skill tdd-loop-caraseli02
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-loop
Source: https://github.com/caraseli02/MoldovaDirect/tree/main/.claude/skills/tdd-loop
Command: npx skills add https://github.com/caraseli02/MoldovaDirect --skill tdd-loop-caraseli02

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated Test-Driven Development loop for audit refactor tasks. Ensures tests exist before changes, picks the next high-priority task, and validates outcomes automatically, reducing manual coordination and rework.

Core Features & Use Cases

  • Automatic task selection based on priority and test existence
  • Enforces test-first development with automated test creation and execution
  • Executes red/green/visual validation phases and updates task status
  • Includes pre/post hooks to guard edits and ensure quality
  • Suitable for iterative audit refactor workflows and compliance-driven projects

Quick Start

Start the loop by issuing /tdd-loop to begin the next audit-refactor task.

Frequently Asked Questions about tdd-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate test-driven development for audit refactor tasks?

Automating test-driven development for audit refactor tasks involves running a loop that enforces test creation before code edits and validates outcomes. The loop selects high-priority tasks, executes pre-test and post-test hooks, and updates task status automatically.

What is a test-first enforcement loop for refactoring?

A test-first enforcement loop for refactoring is an automated process requiring tests to exist before any code changes are made. It executes red, green, and visual validation phases while applying pre-test and post-test hooks to guard edits and ensure quality during each cycle.

How do I prioritize and pick audit refactor tasks automatically?

To prioritize and pick audit refactor tasks automatically, use a task-picking strategy based on priority and test existence. This ensures the highest priority tasks lacking tests are selected first, automatically enforcing a test-first development workflow.

Does automated TDD work for compliance-driven refactoring projects?

Automated TDD works for compliance-driven refactoring projects by enforcing strict test-first development and running guarded edits across multiple phases. It automatically validates outcomes and updates task state, reducing manual coordination and rework in iterative audit workflows.

How do I start an automated TDD loop for my current task list?

To start an automated TDD loop for your current task list, issue the /tdd-loop command. This initiates the next audit-refactor task, applying test-first enforcement and automatic validation to update the task state after each cycle.