01
It starts by itself
before each commit. Runs in Claude Code.
- ↻ before each commit
event: change to src/ or lib/ ready to commit
Commits that pass CI first.
Install the Node.js Core skill and make it a habit: follow https://gethabit.dev/skills/mcollina/nodejs-core.md
2K installs2K starsMIT licenceSource on GitHub ↗

Node.js Core
by mcollina · 2K installs
The skill
Node.js core is a skill for people who contribute to or debug nodejs/node: commit and PR style, the build-lint-test cycle, native addon crashes, V8 deoptimizations, node-gyp builds and libuv issues.
Only when you ask.
The habit
Commits that pass CI first.
↻ Runs by itselfbefore each commit
When does it start? How does it check its work? What does it remember?
Stops after one commit or two failed retries.
Ask the user about Make or Ninja, debug or release and configure flags, unless the notes already hold them.
Run make -j$(nproc) after any change to src/ or lib/ before testing.
Run make lint, and for C++ changes run make format-cpp with CLANG_FORMAT_START set to the merge base.
Run git --no-pager diff --exit-code and require it to be empty.
Commit with git commit -s using the human contributor's sign-off and a terse subsystem-prefixed title.
Run npx core-validate-commit --no-validate-metadata HEAD and never add PR-URL or Reviewed-By.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Node.js Core skill helps.
Node.js embeds lib/ files into the binary at compile time, so tests without a rebuild run old code.
No. The skill says to pass the merge-base form, because CI formats from the merge base.
Copy the prompt at the top into your agent. It installs the skill from mcollina/skills and sets up the habit. Or run npx skills add mcollina/skills --skill nodejs-core.
Yes. It is published under MIT. Habit is free too.
Install the Node.js Core skill and make it a habit: follow https://gethabit.dev/skills/mcollina/nodejs-core.md
All mcollina skills →More code skills →
Works in
Made by mcollina, published under MIT. Habit links to the original and never changes it. Is this your skill?