backend

Guide Spring Boot 3 backend development with DDD, JPA, JWT, and Spring Security.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/CloakingGhost/design-pattern-viz --skill backend-cloakingghost
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: backend
Source: https://github.com/CloakingGhost/design-pattern-viz/tree/main/ai-system/.skills/backend
Command: npx skills add https://github.com/CloakingGhost/design-pattern-viz --skill backend-cloakingghost

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and set of conventions for developing the Spring Boot 3 backend, ensuring consistency and maintainability.

Core Features & Use Cases

  • Structured Development: Enforces a Domain-Driven Design (DDD) architecture for clear separation of concerns.
  • Secure Authentication: Implements JWT-based authentication with Spring Security.
  • Build & Compliance: Integrates Gradle for building and Spotless for code formatting.
  • Use Case: When starting a new feature in the backend, consult this Skill for guidance on where to place code, how to handle security, and how to ensure code quality.

Quick Start

Run ./gradlew compileJava in the backend directory to check for compilation errors.

Frequently Asked Questions about backend

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

FAQPage Schema
How do I structure a Spring Boot 3 backend using Domain-Driven Design?▼

To structure a Spring Boot 3 backend with Domain-Driven Design, this guide enforces a clear layer separation for domain, application, and infrastructure. It provides conventions for placing code to ensure maintainability across features.

How do I implement JWT authentication with Spring Security in a Java 21 project?▼

Implementing JWT authentication with Spring Security involves configuring filters to validate tokens. This guide details setting up secure JWT-based authentication within your Spring Boot 3 application to protect endpoints.

What is the best way to enforce code formatting in a Gradle Java backend?▼

The best way to enforce code formatting in a Gradle Java backend is integrating Spotless. This guide configures Gradle builds with Spotless to automatically enforce code formatting and compliance across the project.

Does this Spring Boot 3 guide include API documentation setup?▼

Yes, this Spring Boot 3 guide includes API documentation setup. It enforces Swagger UI integration to automatically generate and expose API documentation, ensuring your backend endpoints are discoverable.

Can I use Maven instead of Gradle with this Spring Boot DDD architecture?▼

No, you cannot use Maven with this specific architecture. This guide explicitly enforces the Gradle build system for project setup, compilation, and dependency management to maintain structural consistency.