Skip to content
Skills Library
Programming · Building & coding

node-26

/node-26

Use when upgrading, validating, or modernizing Node.js projects for Node.js 26, or when answering implementation questions about Node.js 26 features and compatibility. Covers Temporal enabled by default, V8 14.6 Map/WeakMap get-or-insert helpers, Iterator.concat, Undici 8, raw crypto key formats, removed/deprecated APIs, native addon rebuilds, platform minimums, and release/LTS readiness decisions.

Repository
skills ↗
Licence
MIT
Last repository change
16.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 16.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when upgrading, validating, or modernizing Node.js projects for Node.js 26, or when answering implementation questions about Node.js 26 features and compatibility. Covers Temporal enabled by default, V8 14.6 Map/WeakMap get-or-insert helpers, Iterator.concat, Undici 8, raw crypto key formats, removed/deprecated APIs, native addon rebuilds, platform minimums, and release/LTS readiness decisions.

Original author description

Use when upgrading, validating, or modernizing Node.js projects for Node.js 26, or when answering implementation questions about Node.js 26 features and compatibility. Covers Temporal enabled by default, V8 14.6 Map/WeakMap get-or-insert helpers, Iterator.concat, Undici 8, raw crypto key formats, removed/deprecated APIs, native addon rebuilds, platform minimums, and release/LTS readiness decisions.

How it works

  1. Upgrade Workflow
  2. Gotchas
  3. Output Style
Original SKILL.md headings · 75 lines, 447 words
SKILL.md preview
---
name: node-26
description: Use when upgrading, validating, or modernizing Node.js projects for Node.js 26, or when answering implementation questions about Node.js 26 features and compatibility. Covers Temporal enabled by default, V8 14.6 Map/WeakMap get-or-insert helpers, Iterator.concat, Undici 8, raw crypto key formats, removed/deprecated APIs, native addon rebuilds, platform minimums, and release/LTS readiness decisions.
---

# Node 26

Practical workflow for adopting Node.js 26 in real projects. Prefer official
Node.js release notes and API docs for date-sensitive details because the v26
Current line can change quickly.

For API patterns, examples, and migration details, read
`references/node-26-upgrade-guide.md`.

## Upgrade Workflow

1. Establish the target.
   - Check `node --version`, `node -p "process.versions"`, package manager
     version, CI images, Dockerfiles, `.nvmrc`, `.node-version`, `mise`,
     Volta, and `package.json` `engines`.
   - Treat Node.js 26 as Current until it reaches LTS. For production services
     already on an LTS line, recommend waiting for the LTS handoff unless the
     user explicitly wants Current or needs a v26 feature.

2. Scan compatibility before changing code.
   - Search for removed or risky APIs:

     ```bash
     rg -n "_stream_(readable|writable|duplex|transform|passthrough|wrap)|writeHeader\\(|--experimental-transform-types|module\\.register\\(|\\blocalStorage\\b" .
     ```

   - Search for native addon or prebuild risk:

     ```bash
     rg -n "node-gyp|binding\\.gyp|node-addon-api|\\bnan\\b|prebuild|node-pre-gyp" package.json pnpm-lock.yaml package-lock.json yarn.lock .github Dockerfile* 2>/dev/null
     ```

3. Adopt Node 26 APIs only where they simplify real code.
   - Use `Temporal` for business dates, time zones, DST-sensitive scheduling,
     and removing date libraries when the runtime target is Node >= 26.
   - Use `Map`/`WeakMap` get-or-insert helpers for cache, grouping, counting,
     and object metadata patterns.
   - Use `Iterator.concat` for synchronous lazy iterable composition.
   - Use raw crypto key formats only when the project already handles direct
     key material.

4. Verify with the actual target runtime.
   - Install dependencies with Node.js 26, rebuild native addons, run tests,
     type checks, linters, and a smoke test of startup plus key workflows.
   - If dependencies do not declare Node.js 26 support, test them under v26
     rather than assuming compatibility.
   - For production rollout guidance, call out Current vs LTS risk explicitly.

## Gotchas

- `Map.prototype.getOrInsertComputed()` is synchronous. If the factory returns
  a Promise, the Promise is stored; it is not awaited.
- `Iterator.concat()` handles synchronous iterables. For streams, paginated API
  clients, async cursors, or other async iterables, use an async generator.
- `Temporal` has distinct types. Choose `PlainDate`, `PlainDateTime`,
  `ZonedDateTime`, or `Instant` based on the domain instead of translating every
  `Date` call mechanically.
- `localStorage` no longer has a useful unconfigured in-memory fallback in
  Node.js 26. Current docs say accessing it without `--localstorage-file`
  throws a `DOMException`; configure persistence or avoid the global.
- `module.register()` is runtime-deprecated. Do not blindly rewrite complex
  loader hooks; check the current `node:module` customization hooks docs.
- Native addons need fresh v26 builds. `NODE_MODULE_VERSION` is 147 for
  Node.js 26.0.0.

## Output Style

- For upgrade requests, return a risk-ordered checklist with exact files and
  commands to run.
- For code changes, keep replacements narrow and explain why each Node 26 API
  improves the existing code.
- For release-status answers, include the concrete Node.js dates and note when
  a claim depends on the current release line.
Files in this package (3)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB
  • references/node-26-upgrade-guide.md 8 KB

Versions

The database has no other skills named node-26.

Database snapshot: 13.11.2026 · package version 9d7f2364d20c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90neo-javascript
    Use this skill when writing, reviewing, debugging, or modernizing JavaScript across browser, Node.js, and pure JS projects. Trigger for ES module/CommonJS issues, async patterns, functional array/set/iterator code, DOM/runtime behavior, or version-aware ECMAScript syntax.
  • 100comfyui-node-migration
    ComfyUI V1 to V3 node migration - converting legacy nodes to the V3 API. Use when migrating existing custom nodes from V1 to V3, understanding differences between API versions, or modernizing node code.
  • 90rsdoctor-v2-upgrade
    Upgrade Rspack projects from Rsdoctor 1.x to 2.0. Use when replacing legacy Rsdoctor packages, converting Rsdoctor setup to ESM, updating removed or deprecated options, moving MCP workflows to Agent CLI, or validating Node.js and Rspack compatibility for an Rsdoctor 2.0 upgrade.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.