Skill / SKILL.md

Decorator Patterns

AratKruglik/claude-sdlc

NestJS decorator usage: built-in route/param/class decorators, custom decorators via `createParamDecorator` and `SetMetadata`, metadata reflection via `Reflector`. Apply when designing controllers, guards, interceptors, or custom decorators. Use this skill to: - Pick the right built-in decorator for routes, params, and DI. - Compose decorators (`@UseGuards(A, B) @UseInterceptors(C)`). - Build custom param decorators (e.g., `@CurrentUser()`). - Use metadata for role-based logic (Reflector + SetMetadata). - Avoid common decorator mistakes. Do NOT use this skill for: - General module/DI patterns (see nest-conventions). - GraphQL-specific decorators (see nest-advanced). - ORM entity decorators (see nest-data-layer).
3 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

NestJS decorator usage: built-in route/param/class decorators, custom decorators via `createParamDecorator` and `SetMetadata`, metadata reflection via `Reflector`. Apply when designing controllers, guards, interceptors, or custom decorators. Use thi

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AratKruglik/claude-sdlc' skill-source

Use the complete skill-source/plugins/nestjs-plugin/skills/decorator-patterns directory with your client’s skill installer.

  • plugins/nestjs-plugin/skills/decorator-patterns

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/nestjs-plugin/skills/decorator-patterns

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e99fcf0b52fb02869b60b8150cbece756da85f6980fb5a79df49fbcdd2065543
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills