nest

v2026.09.24

NestJS framework for building efficient, scalable Node.js server-side applications. Use when working with NestJS apps, controllers, modules, providers, dependency injection, pipes, guards, interceptors, or building REST/GraphQL APIs.

GitHub
Install command
npx skhub add hairyf/nest
Markdown
SKILL.md

NestJS is a progressive Node.js framework for building efficient and scalable server-side applications. It uses TypeScript by default, supports both Express and Fastify, and provides an out-of-the-box application architecture inspired by Angular. NestJS combines elements of OOP, FP, and FRP, making it ideal for building enterprise-grade applications.

The skill is based on NestJS documentation, generated at 2026-02-01.

CLI

TopicDescriptionReference
CLI OverviewScaffolding, building, and running applicationscli-overview
Monorepo & LibrariesWorkspaces, apps, shared librariescli-monorepo

Core References

TopicDescriptionReference
ControllersRoute handlers, HTTP methods, request/response handlingcore-controllers
ModulesApplication structure, feature modules, shared modules, dynamic modulescore-modules
ProvidersServices, dependency injection, custom providerscore-providers
Dependency InjectionDI fundamentals, custom providers, scopescore-dependency-injection
MiddlewareRequest/response middleware, functional middlewarecore-middleware

Fundamentals

TopicDescriptionReference
PipesData transformation and validation pipesfundamentals-pipes
GuardsAuthorization guards, role-based access controlfundamentals-guards
InterceptorsAspect-oriented programming, response transformationfundamentals-interceptors
Exception FiltersError handling, custom exception filtersfundamentals-exception-filters
Custom DecoratorsCreating custom parameter decoratorsfundamentals-custom-decorators
Dynamic ModulesConfigurable modules, module configurationfundamentals-dynamic-modules
Execution ContextAccessing request context, metadata reflectionfundamentals-execution-context
Provider ScopesSingleton, request-scoped, transient providersfundamentals-provider-scopes
Lifecycle EventsApplication and provider lifecycle hooksfundamentals-lifecycle-events
Lazy LoadingLoading modules on-demand for serverlessfundamentals-lazy-loading
Circular DependencyResolving circular dependencies with forwardReffundamentals-circular-dependency
Module ReferenceAccessing providers dynamically with ModuleReffundamentals-module-reference
TestingUnit testing and e2e testing with @nestjs/testingfundamentals-testing

Techniques

TopicDescriptionReference
ValidationValidationPipe, class-validator, DTO validationtechniques-validation
ConfigurationEnvironment variables, ConfigModule, configuration managementtechniques-configuration
DatabaseTypeORM, Prisma, MongoDB integrationtechniques-database
CachingCache manager, Redis integration, auto-cachingtechniques-caching
LoggingBuilt-in logger, custom loggers, JSON loggingtechniques-logging
File UploadFile upload handling with multer, validationtechniques-file-upload
VersioningURI, header, and media type API versioningtechniques-versioning
SerializationResponse serialization with class-transformertechniques-serialization
QueuesBackground job processing with BullMQtechniques-queues
Task SchedulingCron jobs, intervals, and timeoutstechniques-task-scheduling
EventsEvent-driven architecture with EventEmittertechniques-events
HTTP ModuleMaking HTTP requests with Axiostechniques-http-module
FastifyUsing Fastify for better performancetechniques-fastify
Sessions & CookiesHTTP sessions and cookies for stateful appstechniques-sessions-cookies
Streaming & SSECompression, file streaming, Server-Sent Eventstechniques-compression-streaming-sse
MVC & Serve StaticTemplate rendering (Handlebars) and SPA static servingtechniques-mvc-serve-static

Security

TopicDescriptionReference
AuthenticationPassport integration, JWT authenticationrecipes-authentication
AuthorizationRBAC, claims-based, CASL integrationsecurity-authorization
CORS & Rate LimitingCORS, Helmet, ThrottlerModulesecurity-cors-helmet-rate-limiting
Encryption & Hashingbcrypt, argon2, password hashingsecurity-encryption-hashing

OpenAPI

TopicDescriptionReference
SwaggerOpenAPI documentation generationopenapi-swagger

WebSockets

TopicDescriptionReference
GatewaysReal-time communication with Socket.IO/wswebsockets-gateways
Guards & Exception FiltersWsException, BaseWsExceptionFilter, interceptors, pipeswebsockets-advanced

Microservices

TopicDescriptionReference
OverviewTransport layers, message patterns, eventsmicroservices-overview
gRPCProtocol Buffers, streaming, metadata, reflectionmicroservices-grpc
TransportsRedis, Kafka, NATS, RabbitMQ configurationmicroservices-transports

GraphQL

TopicDescriptionReference
OverviewCode-first and schema-first approachesgraphql-overview
Resolvers & MutationsQueries, mutations, field resolversgraphql-resolvers-mutations
SubscriptionsReal-time subscriptions with PubSubgraphql-subscriptions
Scalars, Unions & EnumsInterfaces, scalars, union types, enumsgraphql-scalars-unions-enums

Recipes

TopicDescriptionReference
CRUD GeneratorNest CLI resource generatorrecipes-crud-generator
DocumentationOpenAPI/Swagger integrationrecipes-documentation
TypeORMTypeORM integration and usagerecipes-typeorm
PrismaPrisma ORM integrationrecipes-prisma
MongooseMongoDB with Mongoose ODMrecipes-mongoose
CQRSCommand Query Responsibility Segregationrecipes-cqrs
TerminusHealth checks and readiness/liveness probesrecipes-terminus

FAQ

TopicDescriptionReference
Raw Body & HybridWebhook signature verification, HTTP + microservicesfaq-raw-body-hybrid

Best Practices

TopicDescriptionReference
Request LifecycleUnderstanding execution order and flowbest-practices-request-lifecycle
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/nest

Default branch

main

Latest commit

4f463c7

Tree SHA

73bcd03