amia-tdd-enforcement

Enforce TDD discipline by validating test-first commits across PR workflows.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/Emasoft/ai-maestro-integrator-agent --skill amia-tdd-enforcement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: amia-tdd-enforcement
Source: https://github.com/Emasoft/ai-maestro-integrator-agent/tree/main/skills/amia-tdd-enforcement
Command: npx skills add https://github.com/Emasoft/ai-maestro-integrator-agent --skill amia-tdd-enforcement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enforces TDD discipline by ensuring tests are written before production code.

Core Features & Use Cases

  • Enforce RED-GREEN-REFACTOR cycles across features and PRs
  • Validate test-first workflow in code reviews and merges
  • Provide references and guidance for remediation when violations occur

Quick Start

Audit commit history to detect and correct TDD violations and enforce proper test-first commits.

Frequently Asked Questions about amia-tdd-enforcement

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

FAQPage Schema
How do I enforce TDD discipline in code reviews?

You can enforce TDD discipline in code reviews by validating test-first commits and tracking RED-GREEN-REFACTOR cycle transitions across PR workflows. This Skill audits commit history to detect violations and provides references for remediation when production code precedes test code.

What is a test-first commit verification workflow?

A test-first commit verification workflow ensures tests are written before production code by auditing git commit history. It validates proper RED-GREEN-REFACTOR cycles, tracks transitions between phases, and governs PR merges to maintain strict TDD compliance across developer workflows.

How do I validate RED-GREEN-REFACTOR cycles across pull requests?

Validating RED-GREEN-REFACTOR cycles across pull requests involves auditing commit history to ensure tests appear before implementation code. This Skill tracks cycle phase transitions, enforces test-first ordering at code review gates, and flags violations for remediation.

Can I use TDD enforcement for remote developer coordination?

Yes, TDD enforcement applies to remote developer coordination by governing test-first commits across distributed PR workflows. It validates RED-GREEN-REFACTOR cycles regardless of developer location and provides remediation references when violations are detected during code review.

What happens when TDD violations are detected in a PR?

When TDD violations are detected in a PR, the Skill provides references and guidance for remediation. It identifies where production code preceded test code, flags the broken RED-GREEN-REFACTOR cycle sequence, and blocks progression until test-first discipline is restored.