skills/nodejs-skills/nestjs/SKILL.md
Provides comprehensive guidance for NestJS using the official documentation. Use when the user asks about NestJS architecture, controllers, providers, modules, middleware, guards, pipes, interceptors, dependency injection, GraphQL, WebSockets, microservices, OpenAPI/Swagger, security, or testing.
npx skillsauth add partme-ai/full-stack-skills nestjsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
Identify the topic from the user's request and find the corresponding example file in the mapping below
Load the appropriate example file from the examples/ directory
Follow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
Use templates from the templates/ directory to speed up common scaffolding
Overview (概览)
examples/overview/introduction.md → https://docs.nestjs.com/examples/fundamentals/first-steps.md → https://docs.nestjs.com/first-stepsexamples/fundamentals/controllers.md → https://docs.nestjs.com/controllersexamples/fundamentals/providers.md → https://docs.nestjs.com/providersexamples/fundamentals/modules.md → https://docs.nestjs.com/modulesexamples/fundamentals/middleware.md → https://docs.nestjs.com/middlewareexamples/fundamentals/exception-filters.md → https://docs.nestjs.com/exception-filtersexamples/fundamentals/pipes.md → https://docs.nestjs.com/pipesexamples/fundamentals/guards.md → https://docs.nestjs.com/guardsexamples/fundamentals/interceptors.md → https://docs.nestjs.com/interceptorsexamples/overview/custom-decorators.md → https://docs.nestjs.com/custom-decoratorsFundamentals (基础)
examples/fundamentals/custom-providers.md → https://docs.nestjs.com/fundamentals/custom-providersexamples/fundamentals/async-providers.md → https://docs.nestjs.com/fundamentals/async-providersexamples/fundamentals/dynamic-modules.md → https://docs.nestjs.com/fundamentals/dynamic-modulesexamples/fundamentals/module-ref.md → https://docs.nestjs.com/fundamentals/module-refexamples/fundamentals/execution-context.md → https://docs.nestjs.com/fundamentals/execution-contextexamples/fundamentals/lifecycle-events.md → https://docs.nestjs.com/fundamentals/lifecycle-eventsexamples/fundamentals/injection-scopes.md → https://docs.nestjs.com/fundamentals/injection-scopesexamples/fundamentals/request-scoped.md → https://docs.nestjs.com/fundamentals/request-scopedexamples/fundamentals/circular-dependency.md → https://docs.nestjs.com/fundamentals/circular-dependencyTechniques (技巧)
examples/techniques/configuration.md → https://docs.nestjs.com/techniques/configurationexamples/techniques/validation.md → https://docs.nestjs.com/techniques/validationexamples/techniques/serialization.md → https://docs.nestjs.com/techniques/serializationexamples/techniques/caching.md → https://docs.nestjs.com/techniques/cachingexamples/techniques/logger.md → https://docs.nestjs.com/techniques/loggerexamples/techniques/events.md → https://docs.nestjs.com/techniques/eventsexamples/techniques/task-scheduling.md → https://docs.nestjs.com/techniques/task-schedulingexamples/techniques/queues.md → https://docs.nestjs.com/techniques/queuesexamples/techniques/file-upload.md → https://docs.nestjs.com/techniques/file-uploadexamples/techniques/streaming-files.md → https://docs.nestjs.com/techniques/streaming-filesexamples/techniques/database.md → https://docs.nestjs.com/techniques/databaseexamples/techniques/mongodb.md → https://docs.nestjs.com/techniques/mongodbexamples/techniques/mongoose.md → https://docs.nestjs.com/techniques/mongooseexamples/techniques/sequelize.md → https://docs.nestjs.com/techniques/sequelizeexamples/techniques/prisma.md → https://docs.nestjs.com/recipes/prismaSecurity (安全)
examples/security/authentication.md → https://docs.nestjs.com/security/authenticationexamples/security/authorization.md → https://docs.nestjs.com/security/authorizationexamples/security/helmet.md → https://docs.nestjs.com/security/helmetexamples/security/cors.md → https://docs.nestjs.com/security/corsexamples/security/rate-limiting.md → https://docs.nestjs.com/security/rate-limitingGraphQL
examples/graphql/quick-start.md → https://docs.nestjs.com/graphql/quick-startexamples/graphql/resolvers.md → https://docs.nestjs.com/graphql/resolversexamples/graphql/scalars.md → https://docs.nestjs.com/graphql/scalarsexamples/graphql/interfaces.md → https://docs.nestjs.com/graphql/interfacesexamples/graphql/unions.md → https://docs.nestjs.com/graphql/unionsexamples/graphql/directives.md → https://docs.nestjs.com/graphql/directivesexamples/graphql/plugins.md → https://docs.nestjs.com/graphql/pluginsexamples/graphql/subscriptions.md → https://docs.nestjs.com/graphql/subscriptionsexamples/graphql/federation.md → https://docs.nestjs.com/graphql/federationexamples/graphql/migration.md → https://docs.nestjs.com/graphql/migrationWebSockets
examples/websockets/gateways.md → https://docs.nestjs.com/websockets/gatewaysexamples/websockets/exception-filters.md → https://docs.nestjs.com/websockets/exception-filtersexamples/websockets/guards.md → https://docs.nestjs.com/websockets/guardsexamples/websockets/interceptors.md → https://docs.nestjs.com/websockets/interceptorsexamples/websockets/adapters.md → https://docs.nestjs.com/websockets/adaptersMicroservices
examples/microservices/basics.md → https://docs.nestjs.com/microservices/basicsexamples/microservices/redis.md → https://docs.nestjs.com/microservices/redisexamples/microservices/mqtt.md → https://docs.nestjs.com/microservices/mqttexamples/microservices/nats.md → https://docs.nestjs.com/microservices/natsexamples/microservices/kafka.md → https://docs.nestjs.com/microservices/kafkaexamples/microservices/grpc.md → https://docs.nestjs.com/microservices/grpcexamples/microservices/rabbitmq.md → https://docs.nestjs.com/microservices/rabbitmqexamples/microservices/custom-transport.md → https://docs.nestjs.com/microservices/custom-transportexamples/microservices/hybrid-application.md → https://docs.nestjs.com/microservices/hybrid-applicationOpenAPI (Swagger)
examples/openapi/introduction.md → https://docs.nestjs.com/openapi/introductionexamples/openapi/operations.md → https://docs.nestjs.com/openapi/operationsexamples/openapi/types-and-parameters.md → https://docs.nestjs.com/openapi/types-and-parametersexamples/openapi/security.md → https://docs.nestjs.com/openapi/securityexamples/openapi/mapped-types.md → https://docs.nestjs.com/openapi/mapped-typesCLI & Testing & Recipes
examples/cli/overview.md → https://docs.nestjs.com/cli/overviewexamples/testing/unit-testing.md → https://docs.nestjs.com/fundamentals/testingexamples/testing/e2e-testing.md → https://docs.nestjs.com/fundamentals/testingexamples/recipes/cqrs.md → https://docs.nestjs.com/recipes/cqrsexamples/recipes/mikroorm.md → https://docs.nestjs.com/recipes/mikroormexamples/recipes/terminus.md → https://docs.nestjs.com/recipes/terminusexamples/faq.md → https://docs.nestjs.com/faqThis skill includes detailed examples organized to match the NestJS official documentation structure (https://docs.nestjs.com/). All examples are in the examples/ directory, organized by topic (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffoldingNestJS, Node.js, framework, controller, provider, module, middleware, exception filter, pipe, guard, interceptor, dependency injection, GraphQL, WebSocket, microservice, OpenAPI, Swagger, testing, validation, caching, logging, TypeScript, decorator, DI, IoC, 控制器, 提供者, 模块, 中间件, 守卫, 管道, 拦截器, 依赖注入
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.