pipes

Installation
SKILL.md

NestJS Pipes

When to Use This Skill

Use this skill when:

  • Validating request data (body, query, params)
  • Transforming input data (string to number, object schema)
  • Parsing primitive types (int, float, boolean, UUID)
  • Providing default values for optional parameters
  • Sanitizing user input
  • Implementing custom validation logic
  • Stripping unwanted properties from DTOs
  • Auto-transforming request payloads to class instances

What are Pipes?

Pipes are classes decorated with @Injectable() that implement the PipeTransform interface. They operate on the arguments being processed by a controller route handler and can:

  • Transform input data to desired format
  • Validate input data and throw exceptions if invalid
Related skills
Installs
2
GitHub Stars
1
First Seen
Mar 29, 2026