sdcorejs-review-code-nestjs
CommunityReview NestJS code against be-masterdata
Software Engineering#code review#zod#transactions#nestjs#typeorm#backend conventions#security guardrails
Authorsdcorejs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents convention drift in NestJS codebases by performing actionable per-file review against the be-masterdata baseline, catching risky patterns before they reach main or production.
Core Features & Use Cases
- Layering enforcement: flags controllers importing repositories, services importing controllers, and non-repository TypeORM usage.
- Contract consistency checks: verifies Zod schemas come from base/shared and that string DTO validation uses shared helpers.
- Security and correctness guardrails: ensures mutating endpoints include @HasPermission, checks ZodValidationGuard ordering, and requires manual QueryRunner transactions for multi-write service methods.
- Domain consistency: enforces BaseEntity/BaseRepository/BaseService usage, DTO returns instead of raw entities, bilingual error messages, and migration checking to reduce schema drift.
- Dev hygiene checks: detects .env.example mismatches for process.env reads and discourages console.log in favor of structured logging.
Quick Start
Use sdcorejs-review-code-nestjs to audit the NestJS backend feature you just finished and generate a bilingual, severity-ranked (Critical/Important/Minor) file:line review with fixes to align to be-masterdata conventions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sdcorejs-review-code-nestjs Download link: https://github.com/sdcorejs/sdcorejs-agent/archive/main.zip#sdcorejs-review-code-nestjs Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.