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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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/
…
The line at the top of this page pins the label git:20260828.702770a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_xwdfpp7rtvosy63i
GET https://markdownregistry.com/api/v1/resolve?ref=decebals/claude-code-java/architecture-review
GET https://markdownregistry.com/api/v1/blob/6d22a092b08548d1d54ea723740e5492d47c44446b99bd7e376eda1820899468
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
decebals/claude-code-java · skills/api-contract-review/SKILL.md · Review REST API contracts for HTTP semantics, versioning, backward compatibility, and response consistency. Use when…
decebals/claude-code-java · skills/changelog-generator/SKILL.md · Generate changelogs from git commits. Use when user says "generate changelog", "update changelog", "what changed since…
decebals/claude-code-java · skills/clean-code/SKILL.md · Clean Code principles (DRY, KISS, YAGNI), naming, function design and readability. Use when code is hard to read, with…
decebals/claude-code-java · skills/design-patterns/SKILL.md · Common design patterns with Java examples (Factory, Builder, Strategy, Observer, Decorator, etc.). Use when user asks…
decebals/claude-code-java · skills/git-commit/SKILL.md · Generate conventional commit messages for Java projects. Use when user says "commit", "create commit", "commit…
decebals/claude-code-java · skills/issue-triage/SKILL.md · Triage and categorize GitHub issues with priority labels. Use when user says "triage issues", "check issues", "review…
decebals/claude-code-java · skills/java-code-review/SKILL.md · Systematic code review for Java with null safety, exception handling, concurrency, and performance checks. Use when…
decebals/claude-code-java · skills/java-migration/SKILL.md · Guide for upgrading Java projects between major versions (8→11→17→21→25). Use when user says "upgrade Java", "migrate…
decebals/claude-code-java · skills/jpa-patterns/SKILL.md · JPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA…
decebals/claude-code-java · skills/logging-patterns/SKILL.md · Java logging best practices with SLF4J, structured logging (JSON), and MDC for request tracing. Includes AI-friendly…
decebals/claude-code-java · skills/maven-dependency-audit/SKILL.md · Audit Maven dependencies for outdated versions, security vulnerabilities, and conflicts. Use when user says "check…
athola/claude-night-market · plugins/pensive/skills/architecture-review/SKILL.md · Assesses architecture decisions, ADR compliance, and coupling. Use when evaluating design changes or validating…
striderza/opencodegamestudios · .agents/modules/architecture/skills/architecture-review/SKILL.md · Validates completeness and consistency of the project architecture against all GDDs. Builds a traceability matrix…
striderza/opencodegamestudios · .opencode/modules/architecture/skills/architecture-review/SKILL.md · Validates completeness and consistency of the project architecture against all GDDs. Builds a traceability matrix…
striderza/opencodegamestudios · .agents/skills/architecture-review/SKILL.md · Validates completeness and consistency of the project architecture against all GDDs. Builds a traceability matrix…
codenamev/ai-software-architect · skills/architecture-review/SKILL.md · Conducts a comprehensive multi-perspective architecture review using ALL architecture team members. Use when the user…
novibe-org/novibe · .github/skills/architecture-review/SKILL.md · Review a pull request against the architecture model and the ADRs, and flag code that contradicts them.