skills/amia-tdd-enforcement/SKILL.md
Use when enforcing TDD via RED-GREEN-REFACTOR. No production code without a failing test first. Trigger with /enforce-tdd. Loaded by ai-maestro-integrator-agent-main-agent.
npx skillsauth add emasoft/ai-maestro-integrator-agent amia-tdd-enforcementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enforces Test-Driven Development discipline through the RED-GREEN-REFACTOR cycle. The Iron Law: no production code without a failing test first. The coordinator verifies compliance on remote agents — it delegates, not implements.
RED:/GREEN:/REFACTOR: prefixes.Critical Rule: Never write production code without a failing test first.
Copy this checklist and track your progress:
RED: ... messageRED| Output Type | Description |
|-------------|-------------|
| TDD Status Report | Phase status (pending/RED/GREEN/refactor) per feature |
| Git Commits | Pattern: RED: test for [feature], GREEN: implement [feature], REFACTOR: improve [aspect] |
| Test Results | Pass/fail status after each phase transition |
| Enforcement Decisions | Allow/deny based on TDD compliance |
| Violation Reports | TDD violations with recovery procedures |
Output discipline: All scripts support
--output-file <path>.
Script failures return non-zero exit codes. Check stderr for details. See the detailed guide in Resources for common error scenarios.
# Red phase: write failing test
python -m pytest tests/test_auth.py::test_login -x
# Output: FAILED (1 error) — test_login not implemented
# Green phase: implement minimum code, run tests
python -m pytest tests/test_auth.py::test_login -x
# Output: PASSED (1 passed)
# Refactor phase: improve code, verify tests still pass
python -m pytest tests/ -x
# Output: PASSED (12 passed)
See the detailed guide in Resources for extended examples.
Full reference: detailed-guide:
data-ai
Use when resuming sessions. Trigger with session resumption. Loaded by ai-maestro-integrator-agent-main-agent.
devops
Software release management and coordination. Use when creating releases, bumping versions, or rolling back deployments. Trigger with release tasks or /amia-create-release. Loaded by ai-maestro-integrator-agent-main-agent.
testing
Use when enforcing quality gates. Trigger with /amia-enforce-gates. Loaded by ai-maestro-integrator-agent-main-agent.
testing
Use when reviewing PRs in multilanguage repositories. Routes reviews to appropriate language checkers. Trigger with /review-multilang [PR_NUMBER]. Loaded by ai-maestro-integrator-agent-main-agent.