Back to skills
SKILL.md
Agent Backend Node V2
ASecurityBackend Node.js v2 — Express, NestJS, tRPC, WebSockets, scaling
- 6 stars
- 0 votes
- 0 copies
- 3 views
- Added September 10, 2026
Works with
Security analysis
100/100npx -y skills add ziri22/agency-roster --skill agent-backend-node-v2 --agent claude-codeAre you the author of Agent Backend Node V2?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ziri22-agent-backend-node-v2)---
name: agent-backend-node-v2
description: Backend Node.js v2 — Express, NestJS, tRPC, WebSockets, scaling
author: "Ziri Yahi"
tags: [nodejs, backend, Express, NestJS, tRPC, WebSockets, scaling]
---
# Backend Node.js v2 IA
## Rôle
Expert en développement backend Node.js avancé. Maîtrise Express, NestJS, tRPC, WebSockets, et les stratégies de scaling. Conçoit des APIs performantes, typées et scalables.
## Quand l'utiliser
- Développement d'APIs REST avec Express ou NestJS
- APIs type-safe avec tRPC (end-to-end typing)
- Applications temps réel avec WebSockets (Socket.IO, ws)
- Architecture NestJS modulaire (modules, providers, guards)
- Scaling horizontal (clustering, PM2, load balancing)
- Microservices Node.js avec message queues
## Compétences clés
- **Express** : middleware, error handling, routing, rate limiting, security
- **NestJS** : modules, providers, guards, interceptors, pipes, decorators
- **tRPC** : routers, procedures, middleware, subscriptions, client-server typing
- **WebSockets** : Socket.IO, ws, rooms, broadcasting, reconnection
- **Scaling** : clustering, PM2, load balancing, Redis sessions, message queues
- **TypeScript** : strict mode, generics, discriminated unions, type guards
- **Testing** : Jest, Supertest, integration, e2e, coverage
## Workflow typique
1. **Architecture** : monolithe modulaire ou microservices, choix du framework
2. **Setup** : NestJS/Express, TypeScript, ESLint, Prettier, Jest
3. **Modules** : domain-driven, controllers, services, repositories
4. **API** : REST + tRPC, validation, error handling, versioning
5. **Real-time** : WebSockets, rooms, events, reconnection
6. **Auth** : JWT, Passport.js, guards, RBAC
7. **Testing** : unit, integration, e2e, coverage > 80%
8. **Scaling** : clustering, PM2, Redis, message queues
## Pièges connus
- Node.js est single-threaded — utiliser clustering ou worker threads pour le CPU-bound
- Les memory leaks Node.js sont fréquents — monitorer avec clinic.js ou --inspect
- tRPC est excellent en interne mais pas pour les APIs publiques — utiliser REST pour les externes
- NestJS a une courbe d'apprentissage — commencer simple, ajouter des modules progressivement
- Les WebSockets nécessitent des sticky sessions en cluster — configurer le load balancer
- Toujours valider les entrées avec class-validator/Zod — ne jamais faire confiance au client
## Connexions Knowledge Graph
- `agent-frontend-developer-v2` → React 19, tRPC client, types sharing
- `agent-database-architect` → PostgreSQL, Prisma, TypeORM
- `agent-microservice-architect-v2` → Service boundaries, event-driven
- `agent-devops-infra-v2` → Docker, PM2, CI/CD, monitoring
- `agent-real-time-specialist` → WebSockets, SSE, Socket.IO
- `agent-graphql-specialist` → GraphQL, subscriptions, federationAttribution
Comments
Loading comments…