reactor-core

Designs and reviews Flux and Mono pipelines for Rocket.Chat's reactor-core skill.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/ririnto/sinon --skill reactor-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reactor-core
Source: https://github.com/ririnto/sinon/tree/main/plugins/reactor/skills/reactor-core
Command: npx skills add https://github.com/ririnto/sinon --skill reactor-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Project Reactor skills help software engineers design and review Flux and Mono pipelines with correct source boundaries, operator choices, and context usage.

Core Features & Use Cases

  • Guidance on source creation (just, fromIterable, fromFuture) and operator composition (map, flatMap, filter, etc.), plus robust combining patterns (merge, concat, zip) with explicit backpressure handling.
  • Use cases include streaming data processing, reactive services, and data transformation workflows requiring predictable error handling and Context propagation.
  • Real-world example: craft a reactive service that ingests events, processes them through a Flux chain, and handles failures with retry policies and contextual metadata.

Quick Start

Use this guide to outline a Reactor pipeline by identifying the data boundary, selecting a Flux/Mono factory, chaining operators, and applying backpressure and Context as needed.

Frequently Asked Questions about reactor-core

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

FAQPage Schema
How do I design a Reactor pipeline with Flux and Mono for data transformation?

Design a Reactor pipeline by identifying your data boundary, selecting a Flux or Mono factory like fromIterable, chaining operators such as map and flatMap, and applying backpressure and Context propagation for predictable data transformation workflows.

What is backpressure handling in reactive streams and when do I need it?

Backpressure in reactive streams controls data flow rates between upstream producers and downstream consumers. You need it when building Reactor pipelines with Flux to prevent overwhelming subscribers during streaming data processing.

Can I use Context propagation to pass metadata through a Reactor pipeline?

Yes, Context propagation passes contextual metadata through a Reactor pipeline without mutating stream signatures. It enables explicit access to contextual data across Flux and Mono operator composition boundaries for reactive services.

What is the best way to handle errors and retries in a Flux chain?

Handle errors in a Flux chain by applying explicit error semantics and retry policies during operator composition. This ensures robust failure handling by validating error boundaries and leveraging contextual metadata for reactive service recovery.

How do combining operators like merge, concat, and zip differ in Reactor pipelines?

Combining operators in Reactor pipelines differ by ordering semantics: merge interleaves multiple Flux streams concurrently, concat preserves upstream sequence order, and zip pairs elements. Choose based on backpressure handling and data flow requirements.

Why does my Mono pipeline return empty instead of the expected value?

A Mono pipeline returns empty when source boundaries or operator composition fail to emit values. Validate cardinality contracts and explicit empty semantics to ensure your source factory correctly emits the expected value during pipeline execution.