spring-reactive

Builds Spring WebFlux services with MDC context propagation and WebClient patterns.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/jander99/skills --skill spring-reactive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spring-reactive
Source: https://github.com/jander99/skills/tree/main/skills/spring-reactive
Command: npx skills add https://github.com/jander99/skills --skill spring-reactive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Builds reactive Spring WebFlux services with correct MDC/context propagation and robust WebClient usage patterns to reduce boilerplate and ensure consistency across teams.

Core Features & Use Cases

  • MDC/context propagation across reactive boundaries using ContextRegistry and Hooks
  • WebClient configuration with timeouts, error handling, and retries for resilient HTTP calls
  • Reactive operator guidance for Mono/Flux composition, error handling, backpressure, and testing with StepVerifier
  • Blocking detection and safe offloading to identify and mitigate blocking calls in reactive code
  • Use cases include building non-blocking REST endpoints, propagating tracing context, and validating reactive flows in tests

Quick Start

Invoke spring-reactive to scaffold a minimal WebFlux endpoint, a sample WebClient call, and a basic MDC context propagation setup.

Frequently Asked Questions about spring-reactive

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

FAQPage Schema
How do I propagate MDC context across reactive boundaries in Spring WebFlux?

To propagate MDC context in Spring WebFlux, you must explicitly register it using Reactor Hooks and ContextRegistry. This ensures trace context flows correctly across non-blocking reactive chains for consistent logging.

What's the best way to configure WebClient timeouts and error handling in a reactive Spring app?

Configuring WebClient in a reactive Spring app requires setting explicit timeouts, error handling, and retries for resilient HTTP calls. This approach ensures robust non-blocking external service communication.

How do I test reactive Mono and Flux flows with StepVerifier?

Testing reactive Mono and Flux flows with StepVerifier involves validating behavior, backpressure, and error handling. It provides patterns to verify asynchronous sequence emissions and completion states accurately.

Why does my Spring WebFlux service have blocking calls and how do I identify them?

Blocking calls in Spring WebFlux degrade performance and can be identified using blocking detection techniques. Once identified, safely offload these calls to mitigate bottlenecks in reactive code.

Can I use Project Reactor ContextRegistry for custom context propagation in non-blocking REST endpoints?

Yes, Project Reactor ContextRegistry enables custom context propagation in non-blocking REST endpoints. It allows explicit MDC registration to maintain tracing context across reactive operator chains.