Standard for an agent harness with objective evaluation (ground truth) and verifiable reinforcement (routes.jsonl). ACTIVATE this skill when you are going to: (1) define, review or fix an eval, (2) write or audit a case in evaluations/, (3) route a task by…
OpenAPI/Swagger documentation patterns for NestJS. Covers decorator-based documentation, schema generation, and client code generation. Use when documenting APIs, generating clients, or setting up API documentation.
API versioning patterns for NestJS. Covers URL versioning, header versioning, and API evolution strategies. Use when supporting multiple API versions, evolving APIs, or managing breaking changes.
Constants pattern for NestJS. Covers DI tokens, controller maps, topic constants, and single source of truth for service communication. Use when organizing constants, creating DI tokens, or defining message patterns.
NestJS controller patterns for TCP microservices and REST gateways. Covers @MessagePattern for TCP, @Controller for REST, Swagger decorators, DTOs, and ClientProxy patterns. Use when creating controllers, API endpoints, or microservice message handlers.
CQRS Command patterns for NestJS. Covers command definitions, command handlers, transaction execution, parallel operations, and write operation patterns. Use when implementing create/update/delete operations, command handlers, or any write-side CQRS patterns.
CQRS Query patterns for NestJS. Covers query definitions, query handlers, pagination, parallel execution, and read operation patterns. Use when implementing read operations, query handlers, list endpoints, or any read-side CQRS patterns.
Domain-Driven Design patterns for NestJS microservices. Covers aggregates, value objects, entities, domain events, and bounded contexts. Use when creating domain models, implementing DDD patterns, designing bounded contexts, or working with DDD aggregates.
Event-driven architecture for NestJS. Covers domain event publishing, event handlers, Kafka integration, and asynchronous communication patterns. Use when implementing event publishing, queue consumers, or cross-service communication.
Guards, filters, interceptors, and decorators for NestJS. Covers AuthGuard, RolesGuard, ExceptionFilters, logging interceptors, and webhook signature verification. Use when implementing authentication, authorization, error handling, or request/response…
Handlebars template patterns for NestJS. Covers email templates, server-side rendering, and template organization. Use when creating email templates, password reset flows, or server-side HTML rendering.
Hexagonal (ports and adapters) architecture patterns for NestJS. Covers port interfaces, adapter implementations, and dependency injection. Use when implementing hexagonal architecture, port interfaces, or adapter patterns.
Shared library pattern for NestJS. Covers common_core structure, domain-specific libraries, and reusable module organization. Use when creating shared libraries, organizing common code, or building domain integrations.
Structured logging patterns for NestJS microservices. Covers correlation ID propagation, Winston configuration, log levels per environment, HTTP middleware vs TCP interceptor patterns, and centralized logging in common_core. Use when setting up logging…
Mapper pattern for NestJS. Covers entity-to-domain mapping, domain-to-DTO transformation, and bidirectional mapping. Use when implementing data mappers, DTO transformations, or object conversion.
Database migration patterns for NestJS. Covers TypeORM migrations, schema-per-bounded-context, soft-delete patterns, and index design. Use when creating database migrations, modifying schema, or managing database versioning.
Repository pattern implementation for NestJS. Covers repository interfaces (ports) in domain layer, TypeORM implementations in infrastructure, and DI configuration. Use when implementing data access, repository pattern, or database queries.
Saga pattern for NestJS. Covers choreography vs orchestration, saga steps, compensation logic, and multi-step process coordination. Use when implementing multi-step processes, compensation logic, or saga orchestration.
Third-party integration patterns for NestJS. Covers AWS services (S3, SNS, SES), payment providers, and external API integration. Use when integrating external services, implementing AWS patterns, or connecting to payment processors.
NestJS implementation guide for production-grade microservices. Covers DDD+CQRS+Hexagonal+EDA architecture with patterns for building scalable, maintainable NestJS applications. Use when building NestJS microservices, creating decorators/routes/validations,…