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.
99
99%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Use the Node.js commit style for changes affecting Node.js core or Node.js-core-like repositories.
subsystem: short imperative description
Longer explanation of the change if needed.
[optional footers]Use canonical Node.js-style prefixes such as:
fs:stream:http:crypto:test:doc:build:Fixes: vs Refs:)Use footer lines deliberately — they are not interchangeable.
Fixes: <issue-url> when the commit should close an issue.Refs: <issue-or-pr-url> when linking related work that is not closed by this commit.When a task explicitly asks for a Refs: footer, include the Refs: line exactly and do not omit it.
Fixes only
fs: avoid double-close race in FileHandle
Guard close path to make repeated close idempotent.
Fixes: https://github.com/nodejs/node/issues/12345Refs only
stream: align docs for Readable.from backpressure
Clarify behavior and edge-case notes without closing the tracking issue.
Refs: https://github.com/nodejs/node/issues/23456Both Fixes and Refs
http: normalize header casing in parser fast path
Apply casing normalization and add regression coverage.
Fixes: https://github.com/nodejs/node/issues/34567
Refs: https://github.com/nodejs/node/pull/34566Use core-validate-commit to check commit message format:
# Validate last commit message
git log -1 --pretty=%B | npx core-validate-commit
# Validate a Fixes-only draft
printf "fs: fix race in readdir\n\nFixes: https://github.com/nodejs/node/issues/12345\n" | npx core-validate-commit
# Validate a Refs-only draft
printf "doc: clarify event loop phase wording\n\nRefs: https://github.com/nodejs/node/pull/12344\n" | npx core-validate-commitIf validation fails, amend the commit message and re-run validation.
Do not add AI/agent signatures or co-authorship lines under any circumstance.
Examples that must never be added:
Co-Authored-By: Claude ...Co-Authored-By: Codex ...Generated by ChatGPTrules