Skip to content
affaan-m avatar

Springboot Patterns

Spring Boot backend patterns covering REST layers, JPA repositories, caching, async work, and logging.

CCM score
72 of 100
skills.sh installs
15.5K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers controller, service, and repository layers with DTO validation and transactional service methods
  • Includes code samples for pagination, global exception handling, @Cacheable lookups, @Async calls, and SLF4J logging
  • Provides a request-logging filter, a retry helper for external calls, and a Bucket4j rate-limit filter with proxy-header guidance
  • Designed for Java Spring Boot backend work built with Spring MVC or WebFlux

Install

$ npx -y skills add affaan-m/ecc --skill springboot-patterns -y

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

Files

Spring Boot Development Patterns

Spring Boot architecture and API patterns for scalable, production-grade services.

When to Activate

  • Building REST APIs with Spring MVC or WebFlux
  • Structuring controller → service → repository layers
  • Configuring Spring Data JPA, caching, or async processing
  • Adding validation, exception handling, or pagination
  • Setting up profiles for dev/staging/production environments
  • Implementing event-driven patterns with Spring Events or Kafka

REST API Structure

@RestController
@RequestMapping("/api/markets")
@Validated
class MarketController {
  private final MarketService marketService;

  MarketController(MarketService marketService) {
    this.marketService = marketService;
  }

  @GetMapping
  ResponseEntity<Page<MarketResponse>> list(
      @RequestParam(defaultValue = "0") int page,
      @RequestParam(defaultValue = "20") int size) {
    Page<Market> markets = marketService.list(PageRequest.of(page, size));
    return ResponseEntity.ok(markets.map(MarketResponse::from));
  }

Details

Repository
github.com/affaan-m/ecc
Categories
Java & JVM, Backend & APIs
First seen
Jul 14, 2026

Questions

What does the springboot-patterns skill do?

The springboot-patterns skill gives an agent Spring Boot architecture and API patterns for Java backend work. It covers REST API design, layered controller, service and repository code, validation, exception handling, caching, async processing and logging.

How do I install the springboot-patterns skill?

Run npx -y skills add affaan-m/ecc --skill springboot-patterns -y in your project to install it. After that, the agent can help build or review a Spring Boot backend with these patterns.

Which Java and JVM skills rank alongside springboot-patterns?

springboot-patterns ranks in the top 3 of the Java and JVM category. Other skills in that category include java-springboot, java-coding-standards, jpa-patterns, kotlin-patterns and springboot-verification.

When should I use the springboot-patterns skill?

Use it when building or reviewing a Spring Boot backend, such as the REST layer, services, data access, caching or async work. It also applies when adding pagination, validation or profiles for dev, staging and production.

More from affaan-m/ecc

All 257

Similar to Springboot Patterns

More Java & JVM