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:20260223.c6d4db1

Pins git:20260223.c6d4db1 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-python/skills/clean-architecture/SKILL.md
Versions recorded
2
Latest version
git:20260223.c6d4db1, committed Feb 23, 2026
First version recorded
Feb 12, 2026
Size
16,359 bytes
Repository stars
366
License
MIT

Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design in Python applications with FastAPI or Flask. Use when designing maintainable backends with separation of concerns, implementing repository patterns, creating entities/value objects/aggregates, or structuring domain logic independent of frameworks for testability.

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, DDD & Hexagonal Architecture for Python

## Overview

This skill provides comprehensive guidance for implementing Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design patterns in Python applications. It focuses on creating maintainable, testable, and framework-independent business logic through proper separation of concerns.

### Core Concepts

**Layered Architecture (Clean Architecture)** - Dependencies flow inward, inner layers know nothing about outer layers:

```
+-------------------------------------+
|  Infrastructure (Frameworks, DB)   |  <- Outer layer
+-------------------------------------+
|  Adapters (Controllers, Repos)     |
+-------------------------------------+
|  Use Cases (Application Logic)     |
+-------------------------------------+
|  Domain (Entities, Value Objects)  |  <- Inner layer
+-------------------------------------+
```

**Layers:**
- **Domain**: Entities, value objects, domain events, repository interfaces
- **Use Cases**: Application business rules, orchestrate domain objects
- **Adapters**: Interface implementations (controllers, repositories, gateways)
…

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:bdcfe77f6a351e59

The line at the top of this page pins the label git:20260223.c6d4db1, 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_lte77faatxxu2smd.svg)](https://markdownregistry.com/a/art_lte77faatxxu2smd)

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

Versions

The registry has recorded 2 versions of this file, between Feb 12, 2026 and Feb 23, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260223.c6d4db1 latest2026-02-23 c6d4db1 16,359 BA view · diff
v1.0.02026-02-12 eec8ef9 16,510 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 (16359 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_lte77faatxxu2smd
GET https://markdownregistry.com/api/v1/resolve?ref=giuseppe-trisciuoglio/developer-kit/clean-architecture
GET https://markdownregistry.com/api/v1/blob/bdcfe77f6a351e59139a455f81671d72e61d04b56a99b9f40c8d5305ca44c225

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-java/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven…
git:20260324.a02e282 · 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.