mcollina/nodejs-core

Depura falhas em módulos nativos, otimiza desempenho V8, configura compilações node-gyp, escreve bindings N-API/node-addon-api e diagnostica problemas no loop de eventos libuv em Node.js. Use ao trabalhar com addons C++, módulos nativos, binding.gyp, erros node-gyp, segfaults, vazamentos de memória em código nativo, otimização/desotimização V8, ajuste do pool de threads libuv, bindings N-API ou NAN, falhas no sistema de build ou qualquer aspecto interno do Node.js abaixo da camada JavaScript.

O que é nodejs-core?

Esta habilidade é especializada em solucionar problemas de baixo nível no Node.js, focando em módulos nativos escritos em C++, desempenho V8, configurações de compilação com node-gyp e bindings N-API/node-addon-api. Ela ajuda desenvolvedores a depurar crashes em módulos nativos, como segfaults ou vazamentos de memória, e a otimizar o desempenho V8 analisando de/otimizações e ajustando o pool de threads libuv. A habilidade suporta a escrita de bindings usando N-API, node-addon-api ou NAN, e resolve erros no sistema de build (binding.gyp, node-gyp). É útil para qualquer desenvolvedor que trabalhe com addons C++, módulos nativos ou precise interagir com componentes do Node.js abaixo da camada JavaScript, como o loop de eventos libuv ou o pipeline de compilação V8.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mcollina/skills/tree/main/skills/nodejs-core

Installed? Explore more Programação e Desenvolvimento skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que nodejs-core faz?

Depura falhas em módulos nativos, otimiza desempenho V8, configura compilações node-gyp, escreve bindings N-API/node-addon-api e diagnostica problemas no loop de eventos libuv em Node.js. Use ao trabalhar com addons C++, módulos nativos, binding.gyp, erros node-gyp, segfaults, vazamentos de memória em código nativo, otimização/desotimização V8, ajuste do pool de threads libuv, bindings N-API ou NAN, falhas no sistema de build ou qualquer aspecto interno do Node.js abaixo da camada JavaScript.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

mcollina/documentation

Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure. Trigger terms include: documentation structure, Diátaxis, tutorials vs how-to guides, organize docs, user guide, reference docs, technical writing.

mcollina/fastify-best-practices

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.

mcollina/node

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.

mcollina/typescript-magician

Designs complex generic types, refactors `any` types to strict alternatives, creates type guards and utility types, and resolves TypeScript compiler errors. Use when the user asks about TypeScript (TS) types, generics, type inference, type guards, removing `any` types, strict typing, type errors, `infer`, `extends`, conditional types, mapped types, template literal types, branded/opaque types, or utility types like `Partial`, `Record`, `ReturnType`, and `Awaited`.

Habilidades Relacionadas