add-nodebridge-handler — community add-nodebridge-handler, neovate-code, community, ide skills

v1.0.0

About this Skill

Perfect for Node.js Agents needing enhanced UI-backend communication through NodeBridge Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts

neovateai neovateai
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
42
Canonical Locale
en
Detected Body Locale
en

Perfect for Node.js Agents needing enhanced UI-backend communication through NodeBridge Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts

Core Value

Empowers agents to extend NodeBridge functionality by registering custom message handlers, facilitating seamless communication between the UI layer and Node.js backend using the messageBus and NodeHandlerRegistry

Ideal Agent Persona

Perfect for Node.js Agents needing enhanced UI-backend communication through NodeBridge

Capabilities Granted for add-nodebridge-handler

Registering custom message handlers for NodeBridge
Enhancing UI-backend communication in Node.js applications
Implementing asynchronous data processing using NodeBridge handlers

! Prerequisites & Limits

  • Requires NodeBridge and Node.js setup
  • Limited to TypeScript implementation in src/nodeBridge.ts

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is add-nodebridge-handler?

Perfect for Node.js Agents needing enhanced UI-backend communication through NodeBridge Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts

How do I install add-nodebridge-handler?

Run the command: npx killer-skills add neovateai/neovate-code/add-nodebridge-handler. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for add-nodebridge-handler?

Key use cases include: Registering custom message handlers for NodeBridge, Enhancing UI-backend communication in Node.js applications, Implementing asynchronous data processing using NodeBridge handlers.

Which IDEs are compatible with add-nodebridge-handler?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for add-nodebridge-handler?

Requires NodeBridge and Node.js setup. Limited to TypeScript implementation in src/nodeBridge.ts.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add neovateai/neovate-code/add-nodebridge-handler. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use add-nodebridge-handler immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

add-nodebridge-handler

Install add-nodebridge-handler, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Add NodeBridge Handler

Overview

This skill guides the process of adding a new message handler to the NodeBridge system, which enables communication between the UI layer and the Node.js backend.

Steps

1. Add Handler Implementation in src/nodeBridge.ts

Locate the registerHandlers() method in the NodeHandlerRegistry class and add your handler:

typescript
1this.messageBus.registerHandler('category.handlerName', async (data) => { 2 const { cwd, ...otherParams } = data; 3 const context = await this.getContext(cwd); 4 5 // Implementation logic here 6 7 return { 8 success: true, 9 data: { 10 // Return data 11 }, 12 }; 13});

Handler Naming Convention:

  • Use dot notation: category.action (e.g., git.status, session.send, utils.getPaths)
  • Categories: config, git, mcp, models, outputStyles, project, projects, providers, session, sessions, slashCommand, status, utils

Common Patterns:

  • Always get context via await this.getContext(cwd)
  • Return { success: true, data: {...} } for success
  • Return { success: false, error: 'message' } for errors
  • Wrap in try/catch for error handling

2. Add Type Definitions in src/nodeBridge.types.ts

Add input and output types near the relevant section:

typescript
1// ============================================================================ 2// Category Handlers 3// ============================================================================ 4 5type CategoryHandlerNameInput = { 6 cwd: string; 7 // other required params 8 optionalParam?: string; 9}; 10 11type CategoryHandlerNameOutput = { 12 success: boolean; 13 error?: string; 14 data?: { 15 // return data shape 16 }; 17};

Then add to the HandlerMap type:

typescript
1export type HandlerMap = { 2 // ... existing handlers 3 4 // Category handlers 5 'category.handlerName': { 6 input: CategoryHandlerNameInput; 7 output: CategoryHandlerNameOutput; 8 }; 9};

3. (Optional) Add to Test Script

Update scripts/test-nodebridge.ts HANDLERS object if the handler should be easily testable:

typescript
1const HANDLERS: Record<string, string> = { 2 // ... existing handlers 3 'category.handlerName': 'Description of what this handler does', 4};

4. Test the Handler

Run the test script:

bash
1bun scripts/test-nodebridge.ts category.handlerName --cwd=/path/to/dir --param=value

Or with JSON data:

bash
1bun scripts/test-nodebridge.ts category.handlerName --data='{"cwd":"/path","param":"value"}'

Example: Complete Handler Addition

nodeBridge.ts

typescript
1this.messageBus.registerHandler('utils.example', async (data) => { 2 const { cwd, name } = data; 3 try { 4 const context = await this.getContext(cwd); 5 6 // Do something with context and params 7 const result = await someOperation(name); 8 9 return { 10 success: true, 11 data: { 12 result, 13 }, 14 }; 15 } catch (error: any) { 16 return { 17 success: false, 18 error: error.message || 'Failed to execute example', 19 }; 20 } 21});

nodeBridge.types.ts

typescript
1type UtilsExampleInput = { 2 cwd: string; 3 name: string; 4}; 5 6type UtilsExampleOutput = { 7 success: boolean; 8 error?: string; 9 data?: { 10 result: string; 11 }; 12}; 13 14// In HandlerMap: 15'utils.example': { 16 input: UtilsExampleInput; 17 output: UtilsExampleOutput; 18};

Notes

  • Handlers are async functions that receive data parameter
  • Use this.getContext(cwd) to get the Context instance (cached per cwd)
  • Context provides access to: config, paths, mcpManager, productName, version, etc.
  • For long-running operations, consider using abort controllers (see git.clone pattern)
  • For operations that emit progress, use this.messageBus.emitEvent() (see git.commit.output pattern)

Related Skills

Looking for an alternative to add-nodebridge-handler or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer