
Clean Architecture
Implementation patterns for Clean Architecture, Hexagonal Architecture, and DDD in Java 21+ Spring Boot 3.5+ apps.
- CCM score
- 55 of 100
- skills.sh installs
- 4.2K
- GitHub stars
- 372
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers layered package structure, the dependency rule, ports and adapters, and DDD tactical patterns for entities, value objects, and aggregates
- Includes Java examples such as a framework-free
Orderentity that raises domain events, plus guidance on separating JPA entities from domain models - Enforces domain layers free of Spring annotations, checked with
grepand ArchUnit dependency tests - Designed for refactoring monolithic Spring Boot codebases toward testable, maintainable layered architectures
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill clean-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Clean Architecture, Hexagonal Architecture & DDD for Spring Boot
Overview
This skill provides comprehensive guidance for implementing Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design tactical patterns in Java 21+ Spring Boot 3.5+ applications. It ensures clear separation of concerns, framework-independent domain logic, and highly testable codebases through proper layering and dependency management.
When to Use
- Architecting new Spring Boot applications with clear separation of concerns
- Refactoring tightly coupled code into testable, layered architectures
- Implementing domain logic independent of frameworks and infrastructure
- Designing ports and adapters for swappable implementations
- Applying Domain-Driven Design tactical patterns (entities, value objects, aggregates)
- Creating testable business logic without Spring context dependencies
Instructions
1. Understand the Core Concepts
Clean Architecture Layers (Dependency Rule)
Dependencies flow inward. Inner layers know nothing about outer layers.
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Java & JVM, Backend & APIs
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 95- Drawio Logical Diagrams4.2K
- Typescript Security Review4.2K
- Prompt Engineering4.2K
- Nextjs App Router4.1K
- Spring Boot Crud Patterns4.1K
- Zod Validation Utilities4K
- Chunking Strategy4K
- Spring Boot Event Driven Patterns4K
- Nestjs Code Review4K
- Nestjs Best Practices4K
- Spring Boot Cache4K
- Spring Boot Resilience4j4K
- Nextjs Code Review4K
- Unit Test Service Layer4K
- Spring Ai Mcp Server Patterns4K
- Unit Test Wiremock Rest Api4K
- Nextjs Authentication4K
- Spring Boot Actuator4K
- Spring Boot Dependency Injection4K
- Unit Test Parameterized4K
- Unit Test Controller Layer4K
- Unit Test Json Serialization4K
- Spring Boot Saga Pattern3.9K
- Nextjs Data Fetching3.9K
Similar to Clean Architecture
More Java & JVM
architecture-patternswshobson/agents25.5K installsReference guide to Clean, Hexagonal, and Domain-Driven Design patterns with layered structure rules and in-memory test adapters.
hexagonal-architecture-layers-javagentleman-programming/gentleman-skills250 installsStrict Java hexagonal layering with pure domain, application ports, and infrastructure adapters.
clean-ddd-hexagonalccheney/robust-skills4.8K installsOpinionated guide for choosing DDD, Clean Architecture, and ports-and-adapters patterns to fix domain or dependency problems.
software-patternsbobmatnyc/claude-mpm-skills387 installsDecision framework for choosing architectural patterns by coupling, resilience, and boundary problem, not a pattern catalog.
spring-boot-event-driven-patternsgiuseppe-trisciuoglio/developer-kit4K installsSpring Boot event-driven patterns covering domain events, transactional listeners, Kafka messaging, and the transactional outbox.