What problem does it solve? Writing comprehensive tests across unit, integration, and E2E layers is time-consuming and often inconsistent with project conventions. This Skill generates tests that follow established patterns for NestJS command handlers, query handlers, repositories, and API endpoints, then runs test suites and analyzes failures. ## Core Features & Use Cases - Multi-Level Test Generation: Creates unit tests for command/query handlers with mocked unit-of-work patterns, integration tests for TypeORM repositories, and E2E tests for API endpoints using supertest. - Test Infrastructure Patterns: Provides factory, faker, and mock organization conventions under __tests__/ for reusable test data. - Failure Analysis & Escalation: Runs test suites via Nx commands, verifies results, and escalates persistent failures to a debugging workflow. - Use Case: After implementing a new CreateUserHandler, ask the Skill to generate unit tests covering the success path and the ConflictException edge case, then run them with coverage to verify they pass. ## Quick Start Ask the AI to write unit and integration tests for your new NestJS handler and run the test suite to confirm everything passes.