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 171 stars 40 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
74
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
6 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