sse-ai-optimization

Generate SSE endpoints, Payload CMS hooks, Redis scaling, and client error handling.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/vuthuonghai-steve/KLTN --skill sse-ai-optimization
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sse-ai-optimization
Source: https://github.com/vuthuonghai-steve/KLTN/tree/main/.cursor/skills/sse-ai-optimization
Command: npx skills add https://github.com/vuthuonghai-steve/KLTN --skill sse-ai-optimization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use AI to accelerate SSE development. Includes prompt templates for code generation, refactoring, testing, and architectural decisions.

Core Features & Use Cases

  • Prompt templates for generating SSE endpoints, Payload CMS hooks, Redis scaling patterns, and client-side error handling.
  • Structured prompts for debugging, testing, and performance optimization across single and multi-instance deployments.
  • Real-world scenarios and templates to accelerate end-to-end SSE projects.

Quick Start

Generate an end-to-end SSE AI optimization workflow covering endpoint, client, hooks, tests, and scaling.

Frequently Asked Questions about sse-ai-optimization

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

FAQPage Schema
How do I scale SSE endpoints across multiple instances with Redis?▼

You scale SSE endpoints across multiple instances by applying Redis-based scaling patterns. This approach uses structured prompt templates to generate distributed event broadcasting architectures, ensuring reliable client connections during multi-instance deployments.

Can I use AI prompts to generate Payload CMS hooks for SSE development?▼

Yes, you can use AI prompts to generate Payload CMS hooks for SSE development. The workflow supplies structured templates that automate hook creation, integrating server-sent events directly into your Payload CMS data workflows.

What is the best way to structure an end-to-end SSE development workflow?▼

The best way to structure an SSE development workflow is through a phased approach covering design, implementation, testing, and optimization. This method uses structured prompts to generate endpoints, client error handling, tests, and performance tuning.

How do I handle client-side SSE errors and connection drops?▼

You handle client-side SSE errors using structured prompt templates designed for robust error management. These templates guide the generation of reconnection logic and error handling code to maintain stable real-time client connections.

Does this SSE optimization workflow include testing and performance debugging guidance?▼

Yes, this SSE optimization workflow includes testing and performance debugging guidance. It provides structured prompts specifically for generating tests and resolving performance bottlenecks across both single and multi-instance deployments.