add-sse-event

Automate Server-Sent Events creation in the BrassClaw web gateway with Rust and JavaScript changes.

Updated May 7, 2026
One-click install
npx skills add https://github.com/chtugha/brassclaw --skill add-sse-event
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-sse-event
Source: https://github.com/chtugha/brassclaw/tree/main/.bob/skills/add-sse-event
Command: npx skills add https://github.com/chtugha/brassclaw --skill add-sse-event

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users create new Server-Sent Events (SSE) for the BrassClaw web gateway, automating the process of adding event handling to the system.

Core Features & Use Cases

  • Automated SSE Event Creation: Guides users through the process of adding a new SSE event, including Rust backend and web frontend changes.
  • File Changes Coordination: Ensures that changes across multiple files are made in the correct order for the event to function properly.
  • Custom Event Handling: Allows users to define the event's data structure and frontend handler, providing flexibility in UI and functionality.
  • Use Case: For a developer looking to extend the BrassClaw web gateway with new event types, this Skill simplifies the process by providing a step-by-step guide.

Quick Start

Run the 'add-sse-event' skill with the desired event name and description.

Frequently Asked Questions about add-sse-event

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new Server-Sent Events (SSE) endpoint in a Rust web gateway?

To add a Server-Sent Events endpoint in a Rust web gateway, you need to coordinate modifications across both the Rust backend and the JavaScript web frontend. This involves defining the event's data structure and implementing the corresponding frontend handler to ensure the SSE functions properly.

What is the process for defining custom SSE event handling in JavaScript?

Defining custom SSE event handling in JavaScript requires creating a frontend handler that listens for the specific event. You must adjust the web frontend to process the data structure sent from the Rust backend, ensuring changes across multiple files are made in the correct order.

Do I need to know Rust and JavaScript to scaffold new SSE events?

Yes, scaffolding new SSE events requires knowledge of both Rust and JavaScript. You need to understand Rust for backend modifications and JavaScript for web frontend adjustments, along with a general understanding of SSE event handling mechanisms.

How do I coordinate backend and frontend file changes when creating an SSE event?

Coordinating backend and frontend file changes for an SSE event requires a step-by-step approach to ensure proper functionality. You must modify the Rust backend and web frontend files in the correct sequence, defining the event's data structure and frontend handler as you progress.

Can I define a custom data structure for a new SSE event in the BrassClaw gateway?

Yes, you can define a custom data structure for a new SSE event in the BrassClaw gateway. The process allows you to specify the event's data structure and implement a matching frontend handler, providing flexibility in both UI and functionality.