What problem does it solve?
This skill enforces final quality validation in a TDD workflow by running tests, checking coverage, and performing static analysis.
Core Features & Use Cases
- Orchestrates the REVIEW phase for PHP and Python projects, executing tests, verifying coverage thresholds, and running static analysis.
- Enforces a mandatory quality gate and guides the user to proceed to COMMIT only after all checks pass.
- Supports language-specific tooling and formatters, enabling consistent quality across multi-language projects (e.g., PHPStan, mypy, pint, black).
Quick Start
Activate the tdd-review skill during the REVIEW phase, then perform the following steps:
- Run tests: php artisan test # PHP / pytest # Python
- Check coverage: php artisan test --coverage --min=80 # PHP / pytest --cov=src --cov-fail-under=80 # Python
- Run static analysis: ./vendor/bin/phpstan analyse --level=8 # PHP / mypy --strict src/ # Python
- Run formatters: ./vendor/bin/pint # PHP / black . && isort . # Python
- If all checks pass, proceed to COMMIT with user confirmation.