Spring Boot Patterns
Production Spring Boot for Muse: REST layer, controller-service-repository structure, JPA, caching, async, validation, and exception handling, with copy-ready Java.
- What
- Production Spring Boot for Muse: REST layer, controller-service-repository structure, JPA, caching, async, validation, and exception handling, with copy-ready Java.
- Cost
- Free
- Needs
- Use "Spring Boot Patterns" with your Muse.
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor: Spring Boot architecture patterns for building scalable, production-grade Java services with Muse. Covers the full vertical slice: REST controllers (thin, validated, paginated, returning ResponseEntity with proper status codes), the controller to service to repository layering, Spring Data JPA repositories with @Query methods, @Transactional service methods, DTOs as records with Bean Validation annotations, centralized exception handling via @ControllerAdvice (validation errors, access denied, generic fallback), caching with @Cacheable/@CacheEvict, @Async processing, structured SLF4J logging, request logging filters, pagination and sorting with PageRequest, retry with exponential backoff for external calls, rate limiting with Bucket4j (including the X-Forwarded-For spoofing warning and trusted proxy setup), background jobs, and observability (Micrometer, tracing). Production defaults included: constructor injection over field injection, RFC 7807 problem details, HikariCP tuning, read-only transactions for queries. Use when building or reviewing a Spring Boot backend, structuring the REST layer, or adding caching, validation, or async work. By @affaan-m, listed here with credit to its creator. From the affaan-m/ECC repository (MIT). Honest caveats: patterns assume Spring Boot 3+; rate limiting and security notes need adapting to your deployment topology (proxies, containers); the skill guides structure, you still own the domain logic. Skill Harbor never reviews the code, review it yourself before use.
Version:
Install
Copy the install package below, then paste it into MuseThe install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Use "Spring Boot Patterns" with your Muse. Prerequisites: none to install. Pure guidance; a Spring Boot 3+ project helps. 1. Open the skill: https://github.com/affaan-m/ECC/blob/main/skills/springboot-patterns/SKILL.md and copy the full SKILL.md text. 2. Paste it into a chat with Muse and add: "Build (or review) this Spring Boot feature following these patterns: [describe the feature]." 3. Ask it to keep controllers thin, put logic in @Transactional services, and centralize errors in @ControllerAdvice. Tip: paste an existing controller and ask where the layering breaks down. Safety: a skill is plain-text instructions; it runs nothing by itself. Review generated code before merging, especially security-related filters.
Saved to your recent installs. Find it anytime on /connect.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.