Skip to content

Spring Boot Patterns

Gives the agent Spring Boot backend patterns for REST APIs, layered services, caching, async and logging.

Repository
affaan-m/ECC
Stars
295,127
Licence
MIT
Files
1 file

What it does

When installed, the agent follows a set of Spring Boot (a popular Java framework for backend web services) conventions when you ask for backend work. It shows how to structure controller, service and repository layers, validate requests, handle errors consistently, paginate results, cache data, run async tasks, log requests, and rate-limit traffic with Bucket4j. The file is a reference of code examples and guidance, written in Spanish, and does not include scripts.

Great for

  • Java developers building REST APIs with Spring Boot
  • Teams wanting consistent layering, validation and error-handling patterns
  • Developers who want examples of caching, async processing or rate limiting in Spring

Skip it if

  • Non-Java projects, since the patterns are specific to Spring Boot
  • Security-critical rate limiting copied without review: the file warns that X-Forwarded-For can be spoofed and must only be trusted behind a correctly configured proxy

Try asking

  • “Create a REST controller and service for a new Spring Boot 'orders' resource with pagination”
  • “Add bean validation and a global exception handler to my Spring Boot API”
  • “Set up Spring caching with @Cacheable and @CacheEvict for product lookups”
  • “Add request logging and a retry helper for calls to an external payment service”
Step-by-step guide: how to use Spring Boot PatternsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    springboot-patterns.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip springboot-patterns.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip springboot-patterns.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask the agent to adapt the examples to your existing package names, entities and error format rather than pasting them as-is
  • Review the rate-limiting and proxy-header guidance carefully before relying on it in production
  • Mention whether you use Spring MVC or WebFlux so the agent picks the right style

What's inside

  • SKILL.md

Redistributed unmodified from affaan-m/ECC under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.