Electrobun RPC

Official

Type-safe Bun <-> Webview communication

Authormilady-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines communication between your Bun backend and webview renderers, ensuring type safety and efficient data exchange for a seamless application experience.

Core Features & Use Cases

  • Bidirectional Communication: Enables requests (with responses) and fire-and-forget messages between Bun and the webview.
  • Type Safety: Uses a shared schema definition to prevent runtime errors and ensure data integrity.
  • Use Case: Imagine a user action in the webview (like clicking a button) that needs to trigger a complex data fetch on the Bun side. This Skill allows the webview to send a request, and Bun to send back the processed data, all with guaranteed type compatibility.

Quick Start

Use the Electrobun RPC skill to send a 'menuAction' message with the action 'file-new' to the renderer.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Electrobun RPC
Download link: https://github.com/milady-ai/milady/archive/main.zip#electrobun-rpc

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.