mcpField
N
nest

nest

github.com/hairyfDevelopment26138 installsUpdated 2w ago
Repository

About nest

nest is a reference skill for developing server-side applications with NestJS. It gives developers organized guidance across framework fundamentals, security, integrations, and application patterns.

Key features

  1. 01NestJS CLI and monorepo guidance
  2. 02Controllers, modules, and providers
  3. 03Validation and dependency injection
  4. 04Security and authentication topics
  5. 05GraphQL, WebSockets, and microservices
  6. 06Database and deployment techniques

Use cases

  1. 01Scaffolding a NestJS application
  2. 02Implementing authentication and authorization
  3. 03Adding GraphQL or WebSocket features
  4. 04Configuring database and background jobs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hairyf/skills --skill nest

After installing, type/nestin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
references/
best-practices-request-lifecycle.md
cli-monorepo.md
cli-overview.md
core-controllers.md
core-dependency-injection.md
core-middleware.md
core-modules.md
core-providers.md
faq-raw-body-hybrid.md
fundamentals-circular-dependency.md
fundamentals-custom-decorators.md
fundamentals-dynamic-modules.md
fundamentals-exception-filters.md
fundamentals-execution-context.md
fundamentals-guards.md
fundamentals-interceptors.md
fundamentals-lazy-loading.md
fundamentals-lifecycle-events.md
fundamentals-module-reference.md
fundamentals-pipes.md
fundamentals-provider-scopes.md
fundamentals-testing.md
graphql-overview.md
graphql-resolvers-mutations.md
graphql-scalars-unions-enums.md
graphql-subscriptions.md
microservices-grpc.md
microservices-overview.md
microservices-transports.md

Details

From the project README

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

Comments

Markdown supported