npx skills add smithery/ngxtm --skill nestjs-microservices
karibulab/skills · Archived
nestjs-microservices
Build microservices using design and architecture best practices. Use when you need to create or modify code for a project developed with NestJS and deployed with Helm.
Installation
npx skills add karibulab/skills --skill nestjs-microservices
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Follow the clean and maintainable code architecture pattern for project structure.
45 installsAnalyze generated code, identify vulnerabilities, and report them to the user.
11 installsFastAPI Secure Engineering
9 installsCreate Helm charts for Kubernetes deployment.
7 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existi…
866.4K installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsAlso in this package
Other skills from karibulab/skills.
npx skills add karibulab/skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,261 B -
docs
SUMMARY.md196 B
History
- First seen on skills.sh
- First recorded snapshot · 6 installs
SKILL.md
NestJS Microservices
Production-ready NestJS microservices deployable on Kubernetes.
Purpose
Create or modify microservice code for a NestJS project following design and architecture best practices, with Kubernetes deployment in mind.
- Follow monitoring and logging best practices using Pino Logger.
- Follow RESTful API design principles.
- Follow SOLID principles using TypeScript and NestJS.
- Input validation using Valibot.
- Use TypedORM for ORM.
- Use Valibot for input validation.
- Use Docker for containerization.
- Use GCP service accounts for GCP integration.
When to Use
- Build API using NestJS.
- Follow SOLID principles using TypeScript and NestJS.
- Use Pino Logger for logging with nestjs-pino.
- Use Valibot for input validation with nestjs-valibot.
- Development environment with NestJS CLI and NestJS Dev Server.
- Use Helm 3 for Kubernetes deployment.
Instructions
- Create the microservice.
- Add default values.
- Add required values.
- Add optional values.
- Add sensitive values.
- Add environment values.
- Add configuration values.
- Secret values must NEVER be in the source code, but they can be loaded into the template at deployment time.
- Always validate that NestJS module configuration is correct and that they are added in
app.module.ts. - Follow NestJS naming conventions.
DTOs
DTOs are objects used to validate API input and output data. Valibot must be used for input validation.
// src/dto/get-access-token.dto.ts
import * as v from 'valibot';
import { createDto } from 'nestjs-valibot';
export const GetAccessTokenInputSchema = v.object({
user_id: v.number(),
expires_in_minutes: v.optional(v.number()),
});
export class GetAccessTokenInputDto extends createDto(GetAccessTokenInputSchema) {}
export class GetAccessTokenOutputDto {
access_token: string;
}
Reference Files
references/typed-orm.md- TypedORMreferences/pino-logger.md- Pino Logger
Related Skills
screaming-architecture- For project structure