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
View on GitHub

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 Order entity that raises domain events, plus guidance on separating JPA entities from domain models
  • Enforces domain layers free of Spring annotations, checked with grep and 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 -y

Installs 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

Similar to Clean Architecture

More Java & JVM