跳到正文
cccskills
免费在 GitHub 公开

agent-backend-node-v2

Backend Node.js v2 — Express, NestJS, tRPC, WebSockets, scaling

中文简介正在准备中。当前显示原文说明。

集成工具Redis
查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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, federation

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Expert en développement .NET (C#, ASP.NET Core, Entity Framework, Blazor, MAUI)

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

Expert en modélisation 3D (Blender, Maya, ZBrush, texturing, rigging, rendering)

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

Expert en audit d'accessibilité (WCAG 2.2, axe-core, Lighthouse, screen readers, keyboard navigation)

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

Expert en accessibilité avancée (WCAG 2.2, screen readers, keyboard nav, ARIA, testing, legal compliance)

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

Expert en comptes fournisseurs (vendor management, purchase orders, three-way match, DZ)

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

Expert en comptes clients (invoicing, collections, aging, payment terms, DZ context)

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

查看 ziri22 的全部技能

报告此技能的问题