LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

spring-boot-resilience4j

Provides fault tolerance patterns for Spring Boot 3.x using Resilience4j. Use when implementing circuit breakers, handling service failures, adding retry logic with exponential backoff, configuring rate limiters, or protecting services from cascading failures. Generates circuit breaker, retry, rate limiter, bulkhead, time limiter, and fallback implementations. Validates resilience configurations through Actuator endpoints.

312stars37forksUpdated 7/30/2026
Testing & QA#resilience4j#microservices#spring-boot#testing#fault-tolerance#java

Security Assessment

Safe(95/100)
Security Score95/100

About spring-boot-resilience4j

This skill provides fault-tolerance patterns for Spring Boot 3.x applications built on the Resilience4j library. It addresses the problem of cascading failures in distributed systems: when a downstream service becomes slow or unavailable, naive callers can exhaust threads and drag down the whole application. The skill guides an assistant to generate resilience configurations and annotated Java code that keep services responsive under partial failure.

It covers the full Resilience4j pattern set: circuit breakers (`@CircuitBreaker`) with fallback methods, retry with exponential backoff (`@Retry`), rate limiters (`@RateLimiter`), bulkheads for concurrency isolation, time limiters, and fallback implementations. The SKILL.md walks through Maven and Gradle dependency setup, AOP configuration, and `application.yml` tuning (sliding window size, failure-rate thresholds, wait durations, retry attempts). A configuration-reference file documents the complete option set, and a testing-patterns reference shows how to verify circuit-breaker state transitions, retry counts (using WireMock), rate-limit enforcement, and bulkhead rejection. Actuator endpoints are used to validate configured instances at runtime.

The target users are Java backend and microservices engineers using Spring Boot who need to harden inter-service calls, add retry logic to flaky integrations, or protect resources from overload. Typical use cases include wrapping payment or product API calls, adding graceful degradation via fallbacks, and building comprehensive resilience by combining multiple patterns on a single call path.

FAQ

Which Spring Boot version does this target?

Spring Boot 3.x, using the resilience4j-spring-boot3 starter (version 2.2.0 is shown in the examples, with a note to use the latest stable version).

What dependencies are required?

The Resilience4j Spring Boot 3 starter plus spring-boot-starter-aop (for annotation interception) and spring-boot-starter-actuator (for health indicators and validating configured instances).

Which resilience patterns are covered?

Circuit breaker, retry with exponential backoff, rate limiter, bulkhead, time limiter, and fallback methods, applied via annotations and configured in application.yml.

How is the behavior tested?

The testing-patterns reference demonstrates @SpringBootTest cases for circuit-breaker state transitions, retry attempt counts with WireMock stubs, rate-limit rejection, and semaphore/thread-pool bulkhead limits.

Does the skill run any destructive or networked operations itself?

No. It generates configuration and Java code and its examples call user-owned services; it does not perform destructive or credential-related actions.

All Files

4 files
references/testing-patterns.md12.9 KB
View
SKILL.md13.8 KB
View
references/configuration-reference.md10.8 KB
View
references/examples.md13.3 KB
View

Install spring-boot-resilience4j

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

giuseppe-trisciuoglio/developer-kit

Related Skills

research

448

secops-detection-engineering

21,346

qdrant-monitoring

259

project-architecture

3