reactive-spec

Explain the 39 Reactive Streams specification rules with Java examples.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jaeyeonling/simple-reactive-streams --skill reactive-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reactive-spec
Source: https://github.com/jaeyeonling/simple-reactive-streams/tree/main/.opencode/skills/reactive-spec
Command: npx skills add https://github.com/jaeyeonling/simple-reactive-streams --skill reactive-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive explanation of the 39 rules governing Reactive Streams, ensuring correct implementation and understanding of asynchronous stream processing.

Core Features & Use Cases

  • Rule Breakdown: Detailed explanations for Publisher, Subscriber, Subscription, and Processor rules.
  • Code Examples: Illustrative Java code snippets demonstrating rule adherence.
  • Diagrams: Visual representation of signal flow for clarity.
  • Use Case: A developer implementing a custom reactive stream component can use this Skill to verify their implementation against the official specification, preventing common errors and ensuring interoperability.

Quick Start

Explain the rules for a Reactive Streams Publisher.

Frequently Asked Questions about reactive-spec

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

FAQPage Schema
What are the Reactive Streams specification rules for asynchronous stream processing?

The Reactive Streams specification defines 39 rules governing asynchronous stream processing, covering Publisher, Subscriber, Subscription, and Processor contracts to ensure non-blocking backpressure and interoperability.

How do I implement a custom Reactive Streams Publisher in Java?

Implementing a custom Reactive Streams Publisher in Java requires adhering to specific specification rules detailed in this Skill, using provided code examples to verify signal flow and ensure correct subscriber notification.

How does backpressure work in Reactive Streams?

Backpressure in Reactive Streams operates through the Subscription contract, allowing a Subscriber to request a specific number of elements from a Publisher to prevent overwhelming asynchronous stream processing.

Do I need to follow the Reactive Streams specification for my custom subscriber?

Yes, following the Reactive Streams specification for your custom subscriber is essential to ensure proper asynchronous stream processing, prevent common integration errors, and maintain interoperability across reactive systems.

What is the role of a Processor in Reactive Streams?

A Processor in Reactive Streams acts as both a Publisher and a Subscriber, simultaneously processing incoming elements and emitting results downward while adhering to the 39 specification rules for async stream behavior.

Why does my Reactive Streams Subscriber miss incoming elements?

Missing elements in a Reactive Streams Subscriber often stems from violating subscription rules during asynchronous stream processing; use the specification breakdown and signal flow diagram to verify your implementation.