sse-frontend-patterns

Community

Optimize real-time dashboards with battle-tested SSE patterns.

AuthorToqsick
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides battle-tested patterns to optimize real-time browser dashboards using native EventSource / Server-Sent Events, solving issues like flaky connections, 429 errors, and console noise.

Core Features & Use Cases

  • Real-time Dashboard Patterns: Offers patterns for secure token handling, auto-reconnect logic, and error handling.
  • Auth via URL: Handles authentication by including tokens in the URL, as EventSource cannot send headers.
  • API Fetch Wrapper: Ensures consistent token handling across fetch calls.
  • Exponential Backoff: Implements an auto-reconnect mechanism with exponential backoff to avoid rate limit issues.
  • Use Case: For a developer building a real-time dashboard that requires secure, reliable communication with a backend server.

Quick Start

Implement the exponential backoff pattern for SSE reconnection in your dashboard using the provided JavaScript template.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 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: sse-frontend-patterns
Download link: https://github.com/Toqsick/MaxClaw/archive/main.zip#sse-frontend-patterns

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 620,000+ vetted skills library on demand.