What problem does it solve?
Provides a clear, repeatable workflow to add application-layer operations while ensuring correctness through strict Test-Driven Development, removing uncertainty about test order, DI registration, and minimal implementation steps.
Core Features & Use Cases
- TDD-first scaffolding: Create failing unit tests, implement the minimal use case, and refactor in a disciplined RED-GREEN-REFACTOR loop.
- DI registration guidance: Add required tsyringe decorators and register the new use case in the project's dependency injection container.
- Standardized conventions: Enforces file, class, and test naming conventions and verification steps like typechecking and linting for consistent developer workflows.
- Use Case Example: Add a CreateFeature use case that validates input, guards against duplicates via repository ports, and is covered by unit tests.
Quick Start
Ask the assistant to "Scaffold a new TypeScript use case named CreateFeature with a failing unit test, minimal implementation using tsyringe DI decorators, and DI container registration".