dabydat/alpha-omega/nestjs-api-documentation
Claude Code and agent skill by dabydat/alpha-omega
- community
Checking that the SKILL.md file is still in the repository.
OpenAPI/Swagger documentation patterns for NestJS. Covers decorator-based documentation, schema generation, and client code generation. Use when documenting APIs, generating clients, or setting up API documentation.
Install
npx vskill@latest install dabydat/alpha-omega/nestjs-api-documentationSKILL.md
NestJS API Documentation (OpenAPI/Swagger)
OpenAPI (formerly Swagger) provides machine-readable API documentation. Good documentation helps clients integrate faster and reduces support burden.
Why Documentation
See references/why-documentation.md for the INCORRECT vs CORRECT comparison and the full rationale.
NestJS Swagger Setup
Module Configuration
See references/swagger-setup.md (main.ts bootstrap with DocumentBuilder) and the interactive docs URLs.
Decorator Reference
See references/decorator-reference.md for the complete decorator toolkit (controller, request body, parameters, grouping, enums, nested types, class-validator schema).
Custom Response Decorators
See references/custom-response-decorators.md for the paginated response decorator and the typed error DTO.
Authentication Documentation
See references/auth-documentation.md for bearer setup, protecting endpoints, and role-based auth.
Anti-Patterns to Avoid
See references/anti-patterns.md for the four ❌ examples (no error docs, generic descriptions, missing examples, inconsistent docs) with fixes.
Summary: Documentation Responsibilities
| Decorator | Purpose | |
|---|---|---|
@ApiTags() | Group endpoints | |
@ApiOperation() | Describe operation | |
@ApiBody() | Request body schema | |
@ApiResponse() | Response schema | |
@ApiBearerAuth() | Auth requirements | |
@ApiParam() | Path parameter | |
@ApiQuery() | Query parameter |
Golden rule: If it's not documented, it doesn't exist for clients. Document everything public.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/nestjs/nestjs-api-documentation/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dabydat/alpha-omega/nestjs-api-documentation)