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.

First seen Feb 16, 2026

Installation

$ npx skills add karibulab/skills --skill nestjs-microservices

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from karibulab/skills.

npx skills add karibulab/skills

Browse all from 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.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Also listed on

Alternate registries and mirrors of this skill.

Repository health

Stars 1
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,261 B
  • docs SUMMARY.md 196 B

History

  1. First seen on skills.sh
  2. 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

  1. Create the microservice.
  2. Add default values.
  3. Add required values.
  4. Add optional values.
  5. Add sensitive values.
  6. Add environment values.
  7. Add configuration values.
  8. Secret values must NEVER be in the source code, but they can be loaded into the template at deployment time.
  9. Always validate that NestJS module configuration is correct and that they are added in app.module.ts.
  10. 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 - TypedORM
  • references/pino-logger.md - Pino Logger

Related Skills

  • screaming-architecture - For project structure