← Back to Skills Marketplace
ivangdavila

NodeJS

by Iván · GitHub ↗ · v1.0.1
linuxdarwinwin32 ✓ Security Clean
3536
Downloads
5
Stars
29
Active Installs
2
Versions
Install in OpenClaw
/install nodejs
Description
Avoid common Node.js mistakes — event loop blocking, async error handling, ESM gotchas, and memory leaks.
README (SKILL.md)

Quick Reference

Topic File
Callbacks, Promises, async/await, event loop async.md
CommonJS vs ESM, require vs import modules.md
Error handling, uncaught exceptions errors.md
Readable, Writable, Transform, backpressure streams.md
Memory leaks, event loop blocking, profiling performance.md
Input validation, dependencies, env vars security.md
Jest, Mocha, mocking, integration tests testing.md
npm, package.json, lockfiles, publishing packages.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
Usage Guidance
This skill appears safe to install as a Node.js reference aid. As with any development guidance, review package-management or dependency-update suggestions before applying them to a real project.
Capability Analysis
Type: OpenClaw Skill Name: nodejs Version: 1.0.1 This skill bundle provides documentation on common Node.js development pitfalls and best practices across various topics like async, modules, error handling, performance, and security. All files are markdown documents describing 'traps' to avoid, such as `eval()` with user input or `exec(userInput)` leading to command injection, but these are presented as warnings for developers, not as instructions for the AI agent to execute. There is no evidence of prompt injection, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The content is purely informational and educational, aligning with a benign purpose.
Capability Assessment
Purpose & Capability
The artifact coherently matches its stated purpose: concise Node.js development guidance on async behavior, modules, errors, streams, performance, security, testing, and package management.
Instruction Scope
The instructions are advisory and educational. Risky snippets such as eval(user input), exec(userInput), npm install, and npm audit are presented as pitfalls or normal developer cautions, not as commands for the agent to run automatically.
Install Mechanism
The package contains only markdown files and metadata. No installer scripts, hooks, binaries, executable files, or hidden runtime components were found.
Credentials
The declared Node.js binary requirement is proportionate to a Node.js guidance skill and there is no request for credentials, network access, broad filesystem access, or account data.
Persistence & Privilege
There is no artifact evidence of persistence, background workers, privilege escalation, profile or session use, destructive actions, or data exfiltration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nodejs
  3. After installation, invoke the skill by name or use /nodejs
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Initial release
v1.0.0
Initial release
Metadata
Slug nodejs
Version 1.0.1
License
All-time Installs 30
Active Installs 29
Total Versions 2
Frequently Asked Questions

What is NodeJS?

Avoid common Node.js mistakes — event loop blocking, async error handling, ESM gotchas, and memory leaks. It is an AI Agent Skill for Claude Code / OpenClaw, with 3536 downloads so far.

How do I install NodeJS?

Run "/install nodejs" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is NodeJS free?

Yes, NodeJS is completely free (open-source). You can download, install and use it at no cost.

Which platforms does NodeJS support?

NodeJS is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created NodeJS?

It is built and maintained by Iván (@ivangdavila); the current version is v1.0.1.

💬 Comments