Spring boot architecture

From HoangNguyen0403/agent-skills-standard · View interactive version

Spring boot architecture is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Structure Spring Boot 3+ projects with feature packaging and clean layering. Use when structuring Spring Boot 3 projects, defining layers, or applying architecture patterns.

How to use this skill

Skill file

Spring Boot Architecture Standards

**Priority: P0 (CRITICAL)**

Organize by Feature

See implementation examples for Java Record DTOs, controller patterns, and global exception handling.

Define Layer Responsibilities

  1. Controller (Web): Handle HTTP, Validation (@Valid), DTO mapping. Delegate logic to Service.
  2. Service (Business): Transaction boundaries, orchestration. Returns Domain/DTOs.
  3. Repository (Data): Database interactions only. Returns Entities/Projections.

Design API Layer

Verification Checklist (Mandatory)

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.