← All skills
Tencent SkillHub · Developer Tools

NodeJS

Avoid common Node.js mistakes — event loop blocking, async error handling, ESM gotchas, and memory leaks.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Avoid common Node.js mistakes — event loop blocking, async error handling, ESM gotchas, and memory leaks.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, async.md, errors.md, modules.md, packages.md, performance.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 2 sections Open source page

Quick Reference

TopicFileCallbacks, Promises, async/await, event loopasync.mdCommonJS vs ESM, require vs importmodules.mdError handling, uncaught exceptionserrors.mdReadable, Writable, Transform, backpressurestreams.mdMemory leaks, event loop blocking, profilingperformance.mdInput validation, dependencies, env varssecurity.mdJest, Mocha, mocking, integration teststesting.mdnpm, package.json, lockfiles, publishingpackages.md

Critical Traps

fs.readFileSync blocks entire server — use fs.promises.readFile Unhandled rejection crashes Node 15+ — always .catch() or try/catch process.env values are strings — "3000" not 3000, parseInt needed JSON.parse throws on invalid — wrap in try/catch require() cached — same object, mutations visible everywhere Circular deps return incomplete export — restructure to avoid Event listeners accumulate — removeListener or once() async always returns Promise — even for plain return pipeline() over .pipe() — handles errors and cleanup No __dirname in ESM — use fileURLToPath(import.meta.url) Buffer.from(string) — encoding matters, default UTF-8

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • async.md Docs
  • errors.md Docs
  • modules.md Docs
  • packages.md Docs
  • performance.md Docs