nodejs-expert
БесплатноЗапускает вложенные скриптыНе проверенNode.js backend expert including Express, NestJS, and async patterns
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Nodejs Expert
nestjs core module guidelines
When reviewing or writing code, apply these guidelines:
- Global filters for exception handling.
- Global middlewares for request management.
- Guards for permission management.
- Interceptors for request management.
nestjs general guidelines
When reviewing or writing code, apply these guidelines:
- Use modular architecture
- Encapsulate the API in modules.
- One module per main domain/route.
- One controller for its route.
- And other controllers for secondary routes.
- A models folder with data types.
- DTOs validated with class-validator for inputs.
- Declare simple types for outputs.
- A services module with business logic and persistence.
- One service per entity.
- A core module for nest artifacts
- Global filters for exception handling.
- Global middlewares for request management.
- Guards for permission management.
- Interceptors for request management.
- A shared module for services shared between modules.
- Utilities
- Shared business logic
- Use the standard Jest framework for testing.
- Write tests for each controller and service.
- Write end to end tests for each api module.
- Add a admin/test method to each controller as a smoke test.
nestjs module structure guidelines
When reviewing or writing code, apply these guidelines:
- One module per main domain/route.
- One controller for its route.
- And other controllers for secondary routes.
- A models folder with data types.
- DTOs validated with class-validator for inputs.
- Declare simple types for outputs.
- A services module with business logic and persistence.
- One service per entity.
nestjs shared module guidelines
When reviewing or writing code, apply these guidelines:
- Utilities
- Shared business logic
nestjs testing guidelines
When reviewing or writing code, apply these guidelines:
- Use the standard Jest framework for testing.
- Write tests for each controller and service.
- Write end to end tests for eac
Consolidated Skills
This expert skill consolidates 1 individual skills:
- nodejs-expert
Related Skills
typescript-expert- TypeScript type systems, patterns, and tooling for Node.js development
Iron Laws
- ALWAYS validate DTOs at the API boundary using
class-validatororzod— unvalidated inputs reach business logic, enabling injection attacks and data corruption; validation at the boundary is the last line of defense. - NEVER use callbacks in new Node.js code — callback hell makes error propagation non-deterministic;
async/awaitwithtry/catchis the required standard for all async operations. - ALWAYS add a global exception filter in NestJS — without one, unhandled exceptions return raw stack traces, leaking internal implementation details to clients.
- NEVER block the Node.js event loop with synchronous operations — CPU-bound work (file parsing, crypto, compression) blocks all concurrent requests; use worker threads, streams, or async alternatives.
- ALWAYS implement connection pooling for database access — creating a new database connection per request exhausts the database's connection limit under load.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Missing DTO validation at API boundary | Unvalidated inputs enable injection and data corruption | Use class-validator on DTOs; reject invalid inputs at the controller boundary |
| Using callbacks in new code | Error propagation non-deterministic; unhandled rejections crash the process | Use async/await with try/catch for all async operations |
| No global exception filter in NestJS | Unhandled exceptions expose raw stack traces to clients | Add a global ExceptionFilter that logs internally and re |
Установить nodejs-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobВложенные файлы
FAQ
Что делает скилл nodejs-expert?
Node.js backend expert including Express, NestJS, and async patterns
Как установить скилл nodejs-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nodejs-expert запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic