nodejsAvoid common Node.js mistakes — event loop blocking, async error handling, ESM gotchas, and memory leaks.
Install via ClawdBot CLI:
clawdbot install ivangdavila/nodejsRequires:
| 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 |
fs.readFileSync blocks entire server — use fs.promises.readFile.catch() or try/catchprocess.env values are strings — "3000" not 3000, parseInt neededJSON.parse throws on invalid — wrap in try/catchrequire() cached — same object, mutations visible everywhereremoveListener or once()async always returns Promise — even for plain returnpipeline() over .pipe() — handles errors and cleanup__dirname in ESM — use fileURLToPath(import.meta.url)Buffer.from(string) — encoding matters, default UTF-8Generated Mar 1, 2026
A service that processes incoming data streams from IoT devices or user interactions, using Node.js streams and async/await to handle high concurrency without blocking the event loop. This ensures low latency and efficient memory usage, critical for applications like live analytics or chat systems.
Building a scalable backend for an online store that manages user sessions, processes payments, and handles inventory updates. Utilizing Node.js modules and error handling to prevent crashes from uncaught exceptions, ensuring reliability during peak shopping periods like Black Friday.
Developing an API for a CMS that serves dynamic content, handles file uploads via streams, and integrates with third-party services. Focus on avoiding memory leaks from event listeners and using proper async patterns to maintain performance under heavy load.
Creating a low-latency application for processing financial transactions and market data in real-time. Leveraging Node.js performance optimizations to avoid event loop blocking and ensure accurate data handling, crucial for high-stakes trading environments.
Offering a subscription-based Node.js application, such as a project management tool or analytics dashboard, where reliability and scalability are key. Revenue is generated through monthly or annual fees, with upselling for premium features like advanced security or custom integrations.
Providing expert Node.js development services to businesses needing tailored solutions, like building APIs or migrating legacy systems. Revenue comes from project-based contracts or hourly rates, with potential for ongoing maintenance and support agreements.
Developing and maintaining open-source Node.js tools or libraries, such as testing frameworks or performance monitors, while offering paid enterprise support, training, or premium features. Revenue is driven by corporate clients seeking guaranteed reliability and assistance.
💬 Integration Tip
Integrate this skill by ensuring Node.js is installed and using the provided reference files to address specific challenges like async handling or module systems in your projects.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Provides a 7-step debugging protocol plus language-specific commands to systematically identify, verify, and fix software bugs across multiple environments.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.