Nestjs documentation

From HoangNguyen0403/agent-skills-standard · View interactive version

Nestjs documentation is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Automate Swagger/OpenAPI documentation and standardize API response schemas in NestJS. Use when generating OpenAPI specs, documenting paginated or generic responses, configuring the Nest CLI Swagger plugin, or publishing versioned API docs.

How to use this skill

Skill file

OpenAPI & Documentation

**Priority: P2 (MEDIUM)**

Workflow

  1. Enable Swagger plugin in nest-cli.json to auto-generate @ApiProperty from DTOs.
  2. Annotate controllers with @ApiTags, @ApiResponse, and auth decorators.
  3. Create generic wrappers for paginated and polymorphic responses.
  4. Generate separate docs for public vs internal audiences.

Setup

See implementation examples for nest-cli.json plugin config and Swagger bootstrap.

Response Documentation

Advanced Patterns

Operation Grouping

See implementation examples

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.