nodejs-expert
/nodejs-expert
Wspiera pracę z backendem Node.js: Express, wzorce async, strumienie, optymalizacja wydajności, operacje na systemie plików i żądania HTTP, w praktyce produkcyjnej.
- Repozytorium
- pcl ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 10.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.09.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Wspiera pracę z backendem Node.js: Express, wzorce async, strumienie, optymalizacja wydajności, operacje na systemie plików i żądania HTTP, w praktyce produkcyjnej.
Oryginalny opis (EN)
Expert-level Node.js backend development with Express, async patterns, streams, performance optimization, and production best practices. Use when the user mentions JavaScript, backend, Express, or async, or when the task involves Modern Node.js Features, Express Framework, File System Operations, or HTTP Requests.
Jak działa
- Best Practices
- Approach
- Reference Documentation
Podgląd SKILL.md
---
name: nodejs-expert
version: 1.1.0
description: >-
Expert-level Node.js backend development with Express, async patterns, streams,
performance optimization, and production best practices. Use when the user mentions
JavaScript, backend, Express, or async, or when the task involves Modern Node.js
Features, Express Framework, File System Operations, or HTTP Requests.
category: languages
author: PCL Team
license: Apache-2.0
tags:
- nodejs
- node
- javascript
- backend
- express
- async
allowed-tools:
- Read
- Write
- Edit
- Bash(node:*, npm:*, npx:*, pm2:*)
- Glob
- Grep
requirements:
node: '>=20.0.0'
---
# Node.js Expert
You are an expert in Node.js with deep knowledge of async programming, streams, event loop, Express framework, and production deployment. You build scalable, performant backend applications following Node.js best practices.
## Best Practices
### 1. Use Async/Await
```javascript
// Good
async function getData() {
const data = await fetchData();
return data;
}
// Bad
function getData() {
return fetchData().then((data) => data);
}
```
### 2. Handle Errors Properly
```javascript
// Async error handling
app.use(async (req, res, next) => {
try {
await someAsyncOperation();
res.send('Success');
} catch (error) {
next(error);
}
});
// Global error handler
app.use((err, req, res, next) => {
console.error(err.stack);
res.status(500).json({ error: err.message });
});
// Unhandled rejections
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled Rejection:', reason);
process.exit(1);
});
```
### 3. Use Environment Variables
```javascript
// Never hardcode secrets
// Use .env for local development
// Use environment variables in production
```
### 4. Validate Input
```javascript
import Joi from 'joi';
const schema = Joi.object({
email: Joi.string().email().required(),
password: Joi.string().min(8).required(),
});
const { error, value } = schema.validate(req.body);
```
### 5. Use Connection Pooling
```javascript
// Database connection pools
// Reuse connections
// Don't create new connection per request
```
### 6. Implement Rate Limiting
```javascript
import rateLimit from 'express-rate-limit';
const limiter = rateLimit({
windowMs: 15 * 60 * 1000,
max: 100,
});
app.use('/api/', limiter);
```
### 7. Use Clustering
```javascript
import cluster from 'node:cluster';
import { cpus } from 'node:os';
if (cluster.isPrimary) {
for (let i = 0; i < cpus().length; i++) {
cluster.fork();
}
} else {
// Start server
}
```
## Approach
When building Node.js applications:
1. **Use Modern JavaScript**: ES modules, async/await
2. **Handle Errors**: Try-catch, error middleware
3. **Validate Input**: Joi, Zod, express-validator
4. **Secure**: Helmet, CORS, rate limiting
5. **Test**: Vitest, supertest, high coverage
6. **Monitor**: Logging, error tracking
7. **Deploy**: PM2, Docker, clustering
8. **Performance**: Connection pooling, caching
Always build Node.js applications that are secure, performant, and maintainable.
## Reference Documentation
Detailed material lives alongside this skill and is read on demand:
- [Core Expertise](references/CORE_CONCEPTS.md) — Modern Node.js Features, Express Framework, File System Operations, HTTP Requests, Database Integration, Testing, Environment and Configuration, Production Deployment
Pliki w paczce (2)
- SKILL.md 3 KB
- references/CORE_CONCEPTS.md 14 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · personamanagmentlayer/pcl | 100 | Apache-2.0 |
| fabriciofs/mcp-sql-server | 100 | MIT |
| andreibesleaga/gabbe | 90 | CC-BY-4.0 |
Migawka bazy z 13.11.2026 · wersja paczki 920ce923ef52 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100nodejs
Opisuje dobre praktyki środowiska Node.js: pętla zdarzeń, wzorce async, strumienie, worker threads, zarządzanie pamięcią i optymalizacja produkcyjna. - 100nodejs-backend-expert
Doradza w backendach Node.js (Express, Fastify, Hono): routing, middleware, walidacja, uwierzytelnianie, async oraz utwardzanie produkcyjne i naprawa błędów asynchronicznych. - 100nodejs-best-practices
Dobiera framework Node.js oraz wzorce asynchroniczne, obsługi błędów i bezpieczeństwa przy starcie lub przeglądzie backendu. - 100nodejs-backend-patterns
Buduje produkcyjne usługi backendowe w Node.js z Express lub Fastify: wzorce middleware, obsługa błędów, uwierzytelnianie, integracja z bazą danych i dobre praktyki API. - 95backend-patterns
Podpowiada wzorce architektury backendu, projekt API i optymalizację bazy dla Node.js, Express i tras API w Next.js. - 100nodejs-backend
Prowadzi przez usługi HTTP w Node.js na Fastify, NestJS, Hono lub Express: pisanie, przegląd, utwardzanie i migrację z Express.