What problem does it solve?
This Skill enforces a rigorous Test-Driven Development (TDD) workflow, ensuring code quality, maintainability, and robustness across all Prowler components by mandating a "Red-Green-Refactor" cycle.
Core Features & Use Cases
- Mandatory TDD Workflow: Guides developers through the essential TDD steps for new features, bug fixes, and refactoring.
- Stack Detection: Automatically identifies the development stack (UI, SDK, API) to apply relevant testing strategies and commands.
- Phase-by-Phase Guidance: Provides clear instructions for Assessment, Writing Failing Tests (Red), Writing Minimum Code (Green), Triangulation, and Refactoring.
- Anti-Pattern Avoidance: Highlights common TDD pitfalls to prevent them.
- Use Case: When implementing a new security check for an AWS service, this Skill ensures you first write a failing test, then the minimal code to pass it, and finally refactor, guaranteeing the new check is well-tested and reliable.
Quick Start
Follow the TDD cycle to implement the new behavior.