
Nodejs Expert
- 185 installs
- 36 repo stars
- Updated July 14, 2026
- oimiragieo/agent-studio
Design Express or Fastify APIs, workers, and npm services with sound async I/O, middleware, and packaging when building server-side Node products.
About
nodejs-expert equips agents to build and harden Node.js backends with correct async patterns, HTTP frameworks, module boundaries, and operational habits. It targets API and CLI services where JavaScript runtime quirks, streaming I/O, and dependency choices directly affect reliability, latency, and maintainability at scale.
- Event-loop-safe async patterns
- API and middleware structure
- npm packaging and tooling
- Worker and job design
- Production Node troubleshooting
Nodejs Expert by the numbers
- 185 all-time installs (skills.sh)
- +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #2,166 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill nodejs-expertAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 185 |
|---|---|
| repo stars | ★ 36 |
| Last updated | July 14, 2026 |
| Repository | oimiragieo/agent-studio ↗ |
What it does
Design Express or Fastify APIs, workers, and npm services with sound async I/O, middleware, and packaging when building server-side Node products.
Files
Nodejs Expert
<identity> You are a nodejs expert with deep knowledge of node.js backend expert including express, nestjs, and async patterns. You help developers write better code by applying established guidelines and best practices. </identity>
<capabilities>
- Review code for best practice compliance
- Suggest improvements based on domain patterns
- Explain why certain approaches are preferred
- Help refactor code to meet standards
- Provide architecture guidance
</capabilities>
<instructions>
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
</instructions>
<examples> Example usage:
User: "Review this code for nodejs best practices"
Agent: [Analyzes code against consolidated guidelines and provides specific feedback]</examples>
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
1. ALWAYS validate DTOs at the API boundary using class-validator or zod — unvalidated inputs reach business logic, enabling injection attacks and data corruption; validation at the boundary is the last line of defense. 2. NEVER use callbacks in new Node.js code — callback hell makes error propagation non-deterministic; async/await with try/catch is the required standard for all async operations. 3. ALWAYS add a global exception filter in NestJS — without one, unhandled exceptions return raw stack traces, leaking internal implementation details to clients. 4. 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. 5. 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 returns sanitized error responses |
| Synchronous operations on the event loop | Blocks all concurrent requests; latency spikes under any load | Use async alternatives (fsPromises, streams); offload CPU-bound work to worker threads |
| New database connection per request | Exhausts connection limit under load; adds connection overhead latency | Pool connections at startup with pg.Pool, Knex, or ORM connection pooling |
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.mdAfter completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Invoke the nodejs-expert skill and follow it exactly as presented to you
'use strict';
/**
* Post-execute hook for nodejs-expert
* Auto-generated by enterprise-bundle-scaffolder
*
* Records metrics after skill execution.
*/
function postExecute(_context) {
// Record execution metrics
return { ok: true, skill: 'nodejs-expert' };
}
module.exports = { postExecute };
'use strict';
/**
* Pre-execute hook for nodejs-expert
* Auto-generated by enterprise-bundle-scaffolder
*
* Validates inputs before skill execution.
*/
function preExecute(context) {
// Validate skill invocation context
if (!context || typeof context !== 'object') {
return { allow: true, message: 'nodejs-expert: no context to validate' };
}
return { allow: true };
}
module.exports = { preExecute };
nodejs-expert Research Requirements
Generated: 2026-02-28
Skill Description
Node.js backend expert including Express, NestJS, and async patterns
Research Areas
- Current best practices for nodejs-expert
- Industry standards and tooling
- Integration patterns
Source References
- To be populated by skill-updater research phase
nodejs-expert Rules
Purpose
Node.js backend expert including Express, NestJS, and async patterns
Best Practices
- Follow domain-specific conventions
- Apply patterns consistently
- Prioritize type safety and testing
Integration Points
See SKILL.md for complete documentation.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "nodejs-expertInput",
"description": "Input schema for Node.js backend expert including Express, NestJS, and async patterns",
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Target file or path for the skill to operate on"
},
"options": {
"type": "object",
"description": "Additional options for skill execution",
"additionalProperties": true
}
}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "nodejs-expertOutput",
"type": "object",
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"summary": {
"type": "string"
}
}
}
#!/usr/bin/env node
/**
* nodejs-expert - Consolidated Expert Skill
* Consolidates 1 individual skills
*/
const fs = require('fs');
const path = require('path');
const args = process.argv.slice(2);
if (args.includes('--help')) {
console.log(`
nodejs-expert - Expert Skill
Usage:
node main.cjs --list List consolidated skills
node main.cjs --help Show this help
Description:
Node.js backend expert including Express, NestJS, and async patterns
Consolidated from: 1 skills
`);
process.exit(0);
}
if (args.includes('--list')) {
console.log('Consolidated skills:');
['nodejs-expert'].forEach(s => console.log(' - ' + s));
process.exit(0);
}
console.log('nodejs-expert skill loaded. Use with Claude for expert guidance.');
nodejs-expert Implementation Template
Goal
- Define target outcome and acceptance criteria.
TDD
1. Red 2. Green 3. Refactor
Verification
- lint
- format
- targeted tests