spring-patterns

Create Spring MVC and WebFlux API patterns with production defaults.

3|2|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/taipt1504/agent-skills --skill spring-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spring-patterns
Source: https://github.com/taipt1504/agent-skills/tree/main/skills/spring-patterns
Command: npx skills add https://github.com/taipt1504/agent-skills --skill spring-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Spring patterns provide a unified blueprint for building Spring MVC and WebFlux APIs, promoting consistent practices across controllers, reactive pipelines, and production defaults.

Core Features & Use Cases

  • Template-driven controller patterns for MVC and WebFlux, including pagination, filters, and security hooks.
  • Production-default guidance covering Jackson settings, graceful shutdown, Actuator exposure, and observability.
  • Reference demonstrations for Spring MVC and Spring WebFlux implementations to accelerate development.

Quick Start

Follow the patterns in this skill to scaffold a Spring MVC or WebFlux API project and apply production defaults.

Frequently Asked Questions about spring-patterns

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

FAQPage Schema
What are the best practices for Spring WebFlux non-blocking pipelines and transactional patterns?

Spring WebFlux non-blocking pipelines require consistent transactional patterns to manage reactive data flows. This skill provides template-driven guidance for controllers, filters, and security hooks to ensure robust reactive API development.

How do I implement RFC 7807 compliant error handling in a Spring REST API?

RFC 7807 compliant error handling in a Spring REST API standardizes problem details across MVC and WebFlux applications. This skill applies reference patterns to streamline consistent error responses and improve API resilience.

Does this Spring patterns skill support both MVC and WebFlux projects?

Yes, this Spring patterns skill supports both MVC and WebFlux projects. It provides template-driven controller patterns for small to large Spring applications, ensuring consistent coding conventions across both imperative and reactive paradigms.

How do I apply production defaults like graceful shutdown and Actuator exposure in Spring?

Apply production defaults in Spring by configuring graceful shutdown, Actuator exposure, and Jackson settings. This skill provides production-default guidance to ensure your REST API meets operational and observability standards.

What is the best way to scaffold a Spring MVC API with pagination and security hooks?

Scaffolding a Spring MVC API with pagination and security hooks requires template-driven controller patterns. This skill provides reference implementations to accelerate development and enforce consistent coding conventions.