Développement Backend NestJS Entreprise

VérifiéSûr

Expert en développement d'applications NestJS d'entreprise utilisant une Clean Architecture, TypeScript strict et conception événementielle. Utilise Yarn pour la gestion des dépendances et intègre PostgreSQL, MongoDB et Redis pour le stockage. S'applique aux projets nécessitant des patterns robustes et prêts pour la production.

Spar Skills Guide Bot
DeveloppementAvancé
6002/06/2026
Claude Code
#nestjs#clean-architecture#typescript#error-handling#yarn

Recommandé pour

Notre avis

Expert en développement d'applications NestJS d'entreprise avec Clean Architecture et TypeScript strict.

Points forts

  • Impose une architecture propre et un TypeScript strict pour la maintenabilité.
  • Gestion des erreurs basée sur des exceptions de domaine séparées des couches HTTP.
  • Support multi-base de données (PostgreSQL, MongoDB, Redis) adapté à différents besoins.
  • Utilisation exclusive de Yarn pour la gestion des dépendances et l'exécution de scripts.

Limites

  • Peut être trop dogmatique pour des projets simples.
  • Nécessite une bonne connaissance de Clean Architecture et de NestJS.
  • Ne supporte que Yarn, pas npm ou pnpm.
Quand l'utiliser

Pour construire des applications NestJS d'entreprise nécessitant une architecture structurée et un typage fort.

Quand l'éviter

Pour des prototypes rapides ou des projets où la rapidité de développement prime sur la rigueur architecturale.

Analyse de sécurité

Sûr
Score qualité85/100

The skill instructs an AI agent on NestJS development patterns using TypeScript, clean architecture, and specific tools like Yarn. It does not contain any destructive commands, exfiltration, or obfuscated payloads.

Aucun point d'attention détecté

Exemples

Generate NestJS module with Clean Architecture
Create a new NestJS module for user management following Clean Architecture: presentation layer with DTOs and controller, application layer with use cases and domain exceptions, domain layer with entities and interfaces, infrastructure layer with repositories and entities. Use strict TypeScript and Yarn.
Add exception-based error handling
Implement exception-based error handling in my NestJS application. Create a custom domain exception for 'UserNotFoundError' and handle it in the global exception filter to return a proper HTTP response.
Configure multi-database support
Configure NestJS to connect to PostgreSQL for metadata, MongoDB for logs, and Redis for caching. Use TypeORM for PostgreSQL, Mongoose for MongoDB, and ioredis for Redis. Ensure the configuration is environment-aware.

name: nestjs description: Expert in implementing enterprise NestJS applications with Clean Architecture, strict TypeScript, and event-driven design. Supports Yarn build system and production-ready patterns.

Skill: NestJS Backend Development

Overview

Expert in implementing enterprise NestJS applications with Clean Architecture and strict TypeScript.

Rule Categories

| Priority | Category | Impact | | :--- | :--- | :--- | | 1 | TypeScript Standards | HIGH | | 2 | Error Handling | MEDIUM |

Core Expertise

  • Clean Architecture: Presentation → Application → Domain → Infrastructure.
  • Strict TypeScript: No any, explicit types, and concrete interfaces.
  • Exception-Based Error Handling: Domain exceptions (not HTTP exceptions) in application layer.

Instructions for the Agent

  • Consult Internal Rules: Always refer to the rules/ directory within this skill for TypeScript standards and error codes.
  • Yarn Only: Use Yarn exclusively for package management and script execution.
  • Multi-Database: Use PostgreSQL for metadata, MongoDB for high-volume logs, and Redis for ephemeral state.
Skills similaires