architecture-review

Solid

Analyze Java project architecture at macro level - package structure, module boundaries, dependency direction, and layering. Use when user asks "review architecture", "check structure", "package organization", or when evaluating if a codebase follows clean architecture principles.

Code & Development 489 stars 88 forks Updated 3 months ago MIT

Install

View on GitHub

Quality Score: 86/100

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

Skill Content

# Architecture Review Skill Analyze project structure at the macro level - packages, modules, layers, and boundaries. ## When to Use - User asks "review the architecture" / "check project structure" - Evaluating package organization - Checking dependency direction between layers - Identifying architectural violations - Assessing clean/hexagonal architecture compliance --- ## Quick Reference: Architecture Smells | Smell | Symptom | Impact | |-------|---------|--------| | Package-by-layer bloat | `service/` with 50+ classes | Hard to find related code | | Domain → Infra dependency | Entity imports `@Repository` | Core logic tied to framework | | Circular dependencies | A → B → C → A | Untestable, fragile | | God package | `util/` or `common/` growing | Dump for misplaced code | | Leaky abstractions | Controller knows SQL | Layer boundaries violated | --- ## Package Organization Strategies ### Package-by-Layer (Traditional) ``` com.example.app/ ├── controller/ │ ├── UserController.java │ ├── OrderController.java │ └── ProductController.java ├── service/ │ ├── UserService.java │ ├── OrderService.java │ └── ProductService.java ├── repository/ │ ├── UserRepository.java │ ├── OrderRepository.java │ └── ProductRepository.java └── model/ ├── User.java ├── Order.java └── Product.java ``` **Pros**: Familiar, simple for small projects **Cons**: Scatters related code, doesn't scale, hard to extract modules ### Package-by-Feature (Recommended) ``` ...

Details

Author
decebals
Repository
decebals/claude-code-java
Created
3 months ago
Last Updated
3 months ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category