clean-architecture SKILL.md skillA

clean-architecture from giuseppe-trisciuoglio/developer-kit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add giuseppe-trisciuoglio/developer-kit/clean-architecture@git:20260324.a02e282

Pins git:20260324.a02e282 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
giuseppe-trisciuoglio/developer-kit
Path
plugins/developer-kit-java/skills/clean-architecture/SKILL.md
Versions recorded
4
Latest version
git:20260324.a02e282, committed Mar 24, 2026
First version recorded
Feb 12, 2026
Size
16,262 bytes
Repository stars
366
License
MIT

Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design in Java 21+ Spring Boot 3.5+ applications. Use when structuring layered architectures, separating domain logic from frameworks, implementing ports and adapters, creating entities/value objects/aggregates, or refactoring monolithic codebases for testability and maintainability.

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

# 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.

| Layer | Responsibility | Spring Boot Equivalent |
|-------|---------------|----------------------|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add giuseppe-trisciuoglio/developer-kit/clean-architecture@sha256:aaeee65762015d7e

The line at the top of this page pins the label git:20260324.a02e282, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wyxbba54wxd74bxk.svg)](https://markdownregistry.com/a/art_wyxbba54wxd74bxk)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Feb 12, 2026 and Mar 24, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20260324.a02e282 latest2026-03-24 a02e282 16,262 BA view · diff
git:20260316.91dc3c42026-03-16 91dc3c4 15,320 BA view · diff
git:20260223.c6d4db12026-02-23 c6d4db1 15,300 BA view · diff
v1.0.02026-02-12 4106116 15,468 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16262 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

giuseppe-trisciuoglio/developer-kit · 366 stars · license MIT · pushed 2026-09-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wyxbba54wxd74bxk
GET https://markdownregistry.com/api/v1/resolve?ref=giuseppe-trisciuoglio/developer-kit/clean-architecture
GET https://markdownregistry.com/api/v1/blob/aaeee65762015d7ed2e1012eb81e2f4d46116257831bedcd6f9cbc9075e54df1

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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from giuseppe-trisciuoglio/developer-kit

chunking-strategy SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/chunking-strategy/SKILL.md · Provides chunking strategies for RAG systems. Generates chunk size recommendations (256-1024 tokens), overlap…
git:20260324.a02e282 · audit A · 366 stars
prompt-engineering SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/prompt-engineering/SKILL.md · Provides workflows to write, debug, and optimize prompts for LLMs, including few-shot example selection…
git:20260316.68f3ca5 · audit A · 366 stars
rag SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/rag/SKILL.md · Implements document chunking, embedding generation, vector storage, and retrieval pipelines for Retrieval-Augmented…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-auto-scaling SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-auto-scaling/SKILL.md · Provides AWS CloudFormation patterns for Auto Scaling including EC2, ECS, and Lambda. Use when creating Auto Scaling…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-bedrock SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-bedrock/SKILL.md · Provides AWS CloudFormation patterns for Amazon Bedrock resources including agents, knowledge bases, data sources…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-cloudfront SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront/SKILL.md · Provides AWS CloudFormation patterns for CloudFront distributions, origins (ALB, S3, Lambda@Edge, VPC Origins)…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-cloudwatch SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudwatch/SKILL.md · Provides AWS CloudFormation patterns for CloudWatch monitoring, metrics, alarms, dashboards, logs, and observability…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-dynamodb SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-dynamodb/SKILL.md · Provides AWS CloudFormation patterns for DynamoDB tables, GSIs, LSIs, auto-scaling, and streams. Use when creating…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-ec2 SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-ec2/SKILL.md · Provides AWS CloudFormation patterns for EC2 instances, Security Groups, IAM roles, and load balancers. Use when…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-ecs SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-ecs/SKILL.md · Provides AWS CloudFormation patterns for ECS clusters, task definitions, services, container definitions, auto scaling…
git:20260324.a02e282 · audit A · 366 stars
aws-cloudformation-elasticache SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-elasticache/SKILL.md · Provides AWS CloudFormation patterns for ElastiCache Redis or Memcached infrastructure, including subnet groups…
git:20260323.2528036 · audit A · 366 stars
aws-cloudformation-iam SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-iam/SKILL.md · Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust…
git:20260324.a02e282 · audit A · 366 stars

Every file in giuseppe-trisciuoglio/developer-kit

Other files named clean-architecture

clean-architecture SKILL.md skill
ciembor/agent-rules-books · clean-architecture/SKILL.md · Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or…
git:20260909.802595f · audit A · 3,168 stars
clean-architecture SKILL.md skill
wondelai/skills · plugins/systems-architecture/skills/clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…
v1.4.0 · audit A · 2,546 stars
clean-architecture SKILL.md skill
wondelai/skills · clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…
v1.4.0 · audit A · 2,546 stars
clean-architecture SKILL.md skill
wondelai/skills · plugins/wondelai-skills/skills/clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…
v1.4.0 · audit A · 2,546 stars
clean-architecture SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-php/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven…
git:20260223.c6d4db1 · audit A · 366 stars
clean-architecture SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-typescript/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Domain-Driven Design (DDD), and Hexagonal Architecture (Ports…
git:20260323.227390f · audit A · 366 stars
clean-architecture SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-python/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven…
git:20260223.c6d4db1 · audit A · 366 stars
clean-architecture SKILL.md skill
mindrally/skills · clean-architecture/SKILL.md · Guidelines for implementing Clean Architecture patterns in Flutter and Go applications, with emphasis on separation of…
git:20261008.7682ca7 · audit A · 294 stars

Browse by kind, by grade A, or by owner.