Đi tới nội dung chính
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn và đang được hiển thị bằng tiếng Anh.

Node.js Best Practices

Skill Đã xác minh
95

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node alternative', or needs guidance on error handling, graceful shutdown, flaky tests, profiling, or environment configuration in Node.js. Helps configure tsconfig.json for type stripping, set up package.json scripts, handle module resolution and import extensions, and apply robust patterns across the full Node.js stack.

Tóm tắt từ AI

This skill offers in-depth guidance on Node.js development using TypeScript, detailing best practices for type stripping, async operations, error management, stream processing, modularity, testing strategies, performance tuning, caching, logging, and environment configuration. It provides practical advice and code examples, particularly highlighting modern features like native TypeScript execution in Node.js without build steps.

Maintenance

  • warning:Commit recencyThere are no recent commits on the default branch (last updated on 2026-05-06, which is in the future), indicating a likely lack of maintenance.

Versioning

  • warning:Release ManagementThere is no explicit version information in the manifest files (e.g., SKILL.md, package.json), and no GitHub releases or CHANGELOG are present.

Cài đặt

npx skills add mcollina/skills

Chạy Vercel skills CLI (skills.sh) qua npx — yêu cầu Node.js trên máy và ít nhất một agent tương thích skills đã được cài (Claude Code, Cursor, Codex, …). Giả định repo tuân theo định dạng agentskills.io.

24 days ago
1.8k stars
MIT
Cập nhật 5 days ago
Xem mã nguồn

Tiện ích tương tự

Node.js Core Internals Expert

75

Debugs native module crashes, optimizes V8 performance, configures node-gyp builds, writes N-API/node-addon-api bindings, and diagnoses libuv event loop issues in Node.js. Use when working with C++ addons, native modules, binding.gyp, node-gyp errors, segfaults, memory leaks in native code, V8 optimization/deoptimization, libuv thread pool tuning, N-API or NAN bindings, build system failures, or any Node.js internals below the JavaScript layer.

Skill
mcollina

Fastify Best Practices

98

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts.

Skill
mcollina

Discord Adapter

98

Discord adapter for chat

Skill
vercel

Vercel Related Projects

98

Vercel utilities for working with related projects

Skill
vercel

OpenClaw Config

98

Manage OpenClaw bot configuration - channels, agents, security, and autopilot settings

Skill
adisinghstudent

Devcontainer Diagnostic

98

Diagnose devcontainer configuration problems and guide development environment setup. This skill should be used when the user asks to 'set up devcontainer', 'fix container startup', 'configure VS Code dev container', 'Codespaces setup', or has Docker development environment issues. Keywords: devcontainer, docker, VS Code, Codespaces, container, development environment, Dockerfile.

Skill
jwynia