What problem does it solve?
This Skill provides expert guidance and solutions for complex challenges encountered during Nest.js application development, ensuring robust, scalable, and maintainable code.
Core Features & Use Cases
- Dependency Injection & Module Architecture: Resolve circular dependencies, optimize module imports, and configure provider scopes.
- Request Handling & Security: Implement guards, interceptors, pipes, and authentication strategies (JWT, Passport).
- Database Integration: Troubleshoot TypeORM and Mongoose connections, entity configurations, and migrations.
- Testing & Debugging: Guide through effective testing strategies with Jest and Supertest, and debug common runtime errors.
- Use Case: A developer is struggling with a "Nest can't resolve dependencies" error in a complex module. This Skill analyzes the module structure, identifies the missing provider, and suggests the correct way to import or export it, ensuring the application starts correctly.
Quick Start
Use the nestjs-expert skill to help resolve a circular dependency issue in the user-auth module.