← ClaudeAtlas

nestjslisted

NestJS TypeScript backend development with enterprise patterns, dependency injection, modular architecture, and comprehensive testing support. Use when: (1) Project has @nestjs/core in package.json or nest-cli.json exists, (2) Creating modules, controllers, services, guards, pipes, interceptors, or filters, (3) Implementing JWT authentication or role-based authorization (RBAC/ABAC), (4) Integrating TypeORM, Prisma, or MikroORM for database operations, (5) Writing unit tests with Jest or E2E tests with supertest, (6) Setting up Swagger/OpenAPI documentation, (7) Implementing CQRS, event sourcing, or microservices patterns. Auto-detects: nest-cli.json, *.module.ts, *.controller.ts, *.service.ts, *.guard.ts, @nestjs/* packages in package.json, src/modules/ directory structure. NOT for: Pure Express.js without NestJS, frontend React/Vue/Angular code, non-TypeScript Node.js projects, Fastify without NestJS wrapper.
murtazatouqeer/f5-framework-claude · ★ 0 · API & Backend · score 75
Install: claude install-skill murtazatouqeer/f5-framework-claude
# NestJS Development Skill ## Quick Reference ```bash # Scaffold a new module with CRUD python scripts/scaffold.py user --crud # Generate specific component python scripts/generate.py controller user python scripts/generate.py service user --repository # Run tests with coverage python scripts/test.py --coverage --threshold 80 ``` ## Load Additional Resources | Scenario | Reference | Description | |----------|-----------|-------------| | Architecture decisions | `references/architecture.md` | Clean arch, DDD, CQRS | | Auth/Authorization | `references/security.md` | JWT, Passport, RBAC | | Database integration | `references/database.md` | TypeORM, Prisma | | Testing strategies | `references/testing.md` | Unit, E2E, mocking | | Performance | `references/performance.md` | Caching, queues | ## Core Patterns ### Module Structure ```typescript // REQ-XXX: Feature module @Module({ imports: [TypeOrmModule.forFeature([User]), ConfigModule], controllers: [UserController], providers: [UserService, UserRepository], exports: [UserService], }) export class UserModule {} ``` ### Service Pattern ```typescript @Injectable() export class UserService { constructor( private readonly userRepository: UserRepository, private readonly eventEmitter: EventEmitter2, ) {} async create(dto: CreateUserDto): Promise<User> { const user = await this.userRepository.create(dto); this.eventEmitter.emit('user.created', user); return user; } } ``` ### Controller Patte