Skip to content
aj-geddes avatar

Reactive Programming

Reactive streams patterns in RxJS covering debounced search, WebSocket reconnection, state, and backpressure.

CCM score
38 of 100
skills.sh installs
498
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers RxJS basics, search with debounce, state management, and WebSocket with reconnection
  • Includes guides for combining multiple streams, backpressure handling, and custom operators in a references/ directory
  • Lists explicit do and don't rules, such as unsubscribing to prevent leaks and avoiding nested subscriptions
  • Designed for event-driven UIs, real-time data updates, and async flows combining several data sources

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill reactive-programming -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Reactive Programming

Table of Contents

Overview

Build responsive applications using reactive streams and observables for handling asynchronous data flows.

When to Use

  • Complex async data flows
  • Real-time data updates
  • Event-driven architectures
  • UI state management
  • WebSocket/SSE handling
  • Combining multiple data sources

Quick Start

Minimal working example:

import {
  Observable,
  Subject,
  BehaviorSubject,
  fromEvent,
  interval,
} from "rxjs";
import {
  map,
  filter,
  debounceTime,
  distinctUntilChanged,
  switchMap,
} from "rxjs/operators";

// Create observable from array
const numbers$ = new Observable<number>((subscriber) => {
  subscriber.next(1);
  subscriber.next(2);
  subscriber.next(3);
  subscriber.complete();
});

numbers$.subscribe({
  next: (value) => console.log(value),
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the reactive-programming skill do?

The reactive-programming skill guides an agent to build reactive programming patterns with RxJS, streams, observables and backpressure handling. It covers event-driven UIs, async data streams and complex data flows, including WebSocket and SSE handling.

How do I install the reactive-programming skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill reactive-programming -y in your project. Once installed, the reactive-programming skill lets the agent write RxJS code for search debounce, state management, combined streams and reconnecting WebSockets.

Where does reactive-programming sit in the Frontend and UI Code category?

The reactive-programming skill is listed in the Frontend and UI Code category on Claude Marketplaces, next to vercel-react-best-practices and web-design-guidelines. Its focus is observable-based data flow, covering RxJS operators, error handling and unsubscribing to prevent memory leaks.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Reactive Programming

More Frontend & UI Code