CommunityProgramación y desarrollogithub.com

mcollina/nodejs-core

Depura fallos en módulos nativos, optimiza el rendimiento de V8, configura compilaciones node-gyp, escribe enlaces N-API/node-addon-api y diagnostica problemas del bucle de eventos libuv en Node.js. Útil al trabajar con complementos C++, módulos nativos, binding.gyp, errores de node-gyp, fallos de segmentación, fugas de memoria en código nativo, optimización/desoptimización de V8, afinación del pool de hilos libuv, enlaces N-API o NAN, fallos en sistemas de compilación o cualquier detalle interno de Node.js por debajo de la capa JavaScript.

¿Qué es nodejs-core?

Este skill, mcollina/nodejs-core, proporciona un profundo conocimiento experto sobre el funcionamiento interno de Node.js a nivel de C++, siendo esencial para desarrolladores que trabajan con complementos nativos (C++ addons) y módulos nativos. Permite depurar fallos de segmentación (segfaults), fugas de memoria en código nativo, y errores en la compilación con node-gyp. Además, ofrece herramientas para optimizar el rendimiento del motor V8 (analizando sus fases de optimización y desoptimización), y para diagnosticar y ajustar el comportamiento del bucle de eventos libuv, incluyendo la configuración del pool de hilos. Soporta la creación de enlaces mediante N-API, node-addon-api y NAN, así como la resolución de problemas en sistemas de compilación. Es ideal para cualquier tarea que requiera trabajar por debajo de la capa JavaScript de Node.js, ofreciendo soluciones precisas y prácticas para desarrolladores y agentes de IA.

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

Installed? Explore more Programación y desarrollo skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace nodejs-core?

Depura fallos en módulos nativos, optimiza el rendimiento de V8, configura compilaciones node-gyp, escribe enlaces N-API/node-addon-api y diagnostica problemas del bucle de eventos libuv en Node.js. Útil al trabajar con complementos C++, módulos nativos, binding.gyp, errores de node-gyp, fallos de segmentación, fugas de memoria en código nativo, optimización/desoptimización de V8, afinación del pool de hilos libuv, enlaces N-API o NAN, fallos en sistemas de compilación o cualquier detalle interno de Node.js por debajo de la capa 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`.

Skills relacionados