spring-modulith-verifier

Solid

Verifies whether code follows Spring Modulith code structure or not. Show list of violations along with recommendations on how to fix them. Use this skill: * When reviewing Spring Boot applications which uses Spring Modulith * When verifying whether Spring Boot application code follows Spring Modulith package structure

AI & Automation 181 stars 41 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
75
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Spring Modulith Verifier Skill Use a **domain-driven, modular layout**: organize packages by **business modules**, not by technical layers. ### Recommended Example Package Structure ``` dev.sivalabs.projectname/ ├── Application # Main Spring Boot entrypoint class ├── shared/ # Cross-cutting concerns │ ├── package-info.java ├── users/ # Users module (bounded context) │ ├── config/ # Users module-specific config │ ├── domain/ # Domain logic │ │ ├── models/ # Domain models │ │ │ ├── package-info.java │ │ ├── exceptions/ # Domain custom Exception classes │ │ │ ├── package-info.java │ │ ├── {entities, repositories, mappers, services} │ ├── api/ # REST API layer │ │ ├── {controllers, DTOs} # REST controllers, Request, Response payload DTOs │ └── UsersAPI.java # Module's public API (facade) │ ├── catalog/ # Catalog module ├── orders/ # Orders module └── config/ # Global Configuration └── WebMvcConfig.java └── SecurityConfig.java └── WebSecurityConfig.java └── GlobalExceptionHandler.java ``` Explanation of the above package structure: - **Application.java**: The main Spring Boot entry point class annotated with `@SpringBootApplication`. Contains the `main()` method th...

Details

Author
sivaprasadreddy
Repository
sivaprasadreddy/sivalabs-agent-skills
Created
7 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

spring-modulith

Use when organizing or verifying a modular Spring Boot monolith with Spring Modulith, including module APIs, dependency rules and reliable module events. Do not restructure an application into modules for an unrelated endpoint change.

260 Updated 4 days ago
rrezartprebreza
Data & Documents Solid

spring-boot-skill

Build Spring Boot 4.x applications following the best practices. Use this skill: * When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security * To create recommended Spring Boot package structure * To implement REST APIs, entities/repositories, service layer, modular monoliths * To use Thymeleaf view templates for building web applications * To write tests for REST APIs and Web applications * To write ArchUnit tests for testing architecture * To configure the recommended plugins and configurations to improve code quality, and testing while using Maven. * To use Spring Boot's Docker Compose support for local development * To create Taskfile for easier execution of common tasks while working with a Spring Boot application

181 Updated 1 weeks ago
sivaprasadreddy
Testing & QA Listed

code-spring-boot

Apply Spring Boot and Java coding standards when writing, reviewing, or designing Java code. Use for Spring Boot project structure, DDD patterns (Entities, Aggregates, Repositories, Domain Services), Clean Code principles in Java, PoEAA patterns (Repository, Data Mapper, Service Layer, Unit of Work), testing with JUnit 5 and Mockito, and Spring-specific best practices. Covers constructor injection, transaction boundaries, layer responsibilities, and common anti-patterns to avoid.

8 Updated today
tstapler