Back to Registry
View Author Profile
Official Verified
NodeJS
Write reliable Node.js avoiding event loop blocking, async pitfalls, ESM gotchas, and memory leaks.
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/nodejsOr
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.readFileSyncblocks entire server — usefs.promises.readFile- Unhandled rejection crashes Node 15+ — always
.catch()or try/catch process.envvalues are strings —"3000"not3000, parseInt neededJSON.parsethrows on invalid — wrap in try/catchrequire()cached — same object, mutations visible everywhere- Circular deps return incomplete export — restructure to avoid
- Event listeners accumulate —
removeListeneroronce() asyncalways returns Promise — even for plain returnpipeline()over.pipe()— handles errors and cleanup- No
__dirnamein ESM — usefileURLToPath(import.meta.url) Buffer.from(string)— encoding matters, default UTF-8
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-nodejs": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
ivangdavila 2190
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
ivangdavila 2190
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
ivangdavila 2190
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
ivangdavila 2190
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.
ivangdavila 2190