← Back to list

nest-backend-service-builder
by phatpham9
🚀 Automated development environment setup for macOS and Ubuntu
⭐ 5🍴 2📅 Jan 18, 2026
SKILL.md
name: nest-backend-service-builder description: 'Scaffold NestJS backend modules, controllers, services, DTOs, REST/GraphQL APIs, WebSocket handlers, validation pipes, guards, interceptors, and Jest integration tests'
Purpose
Build production-ready NestJS backend services using clean architecture, domain-driven design principles, and enterprise patterns.
When to Use
Use this skill when the task involves:
- Creating or modifying NestJS modules, controllers, or services
- Building REST endpoints or GraphQL resolvers
- Implementing WebSocket/Socket.IO real-time features
- Adding DTOs with class-validator validation
- Setting up guards, interceptors, or exception filters
- Writing integration tests for API endpoints
Constraints
- Organize by feature modules, not file type (avoid
controllers/,services/folders) - Use TypeScript strict mode; define explicit return types
- Apply class-validator decorators on all DTOs
- Use class-transformer for serialization control
- Version APIs explicitly (
/v1/resource) - Follow RFC 7807 Problem Details for error responses
- Apply rate limiting on public endpoints
- Use Helmet for secure HTTP headers
Execution Steps
- Define module boundary — Identify domain entity and create feature module
- Create DTOs — Define request/response DTOs with validation decorators
- Implement service — Business logic with dependency injection
- Build controller — REST endpoints with proper HTTP methods and status codes
- Add guards/interceptors — Authentication, authorization, logging as needed
- Write tests — Integration tests for endpoint contracts
- Document API — Add Swagger decorators for OpenAPI spec
Examples
Input
Create a user registration endpoint with email validation
Output
// @/modules/users/dto/create-user.dto.ts
import { IsEmail, IsString, MinLength } from 'class-validator';
export class CreateUserDto {
@IsEmail()
email: string;
@IsString()
@MinLength(8)
password: string;
@IsString()
name: string;
}
// @/modules/users/users.controller.ts
@Controller('v1/users')
export class UsersController {
constructor(private readonly usersService: UsersService) {}
@Post('register')
@HttpCode(HttpStatus.CREATED)
async register(@Body() dto: CreateUserDto): Promise<UserResponseDto> {
return this.usersService.register(dto);
}
}
Related Skills
database-schema-designer— Design underlying data modelsjest-testing-generator— Write service and controller testssenior-code-review— Review API security and patterns
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon





