LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

clean-ddd-hexagonal

Proactively apply when designing APIs, microservices, or scalable backend structure. Triggers on DDD, Clean Architecture, Hexagonal, ports and adapters, entities, value objects, domain events, CQRS, event sourcing, repository pattern, use cases, onion architecture, outbox pattern, aggregate root, anti-corruption layer. Use when working with domain models, aggregates, repositories, or bounded contexts. Clean Architecture + DDD + Hexagonal patterns for backend services, language-agnostic (Go, Rust

43starsUpdated 5/18/2026
Data Science & MLWeb Development#backend#hexagonal-architecture#typescript#clean-architecture#python#ddd

Security Assessment

Low Risk(80/100)

Detected risks:

Sensitive File Access([references/LAYERS.md] .env, [references/TESTING.md] .env)
Security Score80/100

About clean-ddd-hexagonal

The `clean-ddd-hexagonal` skill is designed to guide backend developers in structuring APIs, microservices, and scalable backend systems using a combination of Domain-Driven Design (DDD), Clean Architecture, and Hexagonal Architecture principles. It addresses the complexity of modeling intricate business domains while maintaining testable, maintainable, and infrastructure-agnostic code. By synthesizing these architectural approaches, the skill helps teams enforce clear boundaries between the domain logic, application services, and infrastructure, ensuring that dependencies always point inward and domain models remain at the center of the system.

FAQ

When should I apply this skill?

Use this skill for complex, long-lived systems with multiple entry points and significant business rules, especially when teams need to maintain high test coverage and swap out infrastructure components. Avoid it for simple CRUD applications, prototypes, or very small teams.

Which programming languages are compatible?

The skill is language-agnostic and can be applied to Go, Rust, Python, TypeScript, Java, and C# backends.

Does this skill require using CQRS or Event Sourcing in all cases?

No. CQRS and Event Sourcing are only recommended when read/write models or event histories are divergent or necessary. Most systems do not require full implementation of these patterns.

How do I ensure my dependencies are correctly structured?

Follow the inward dependency rule: outer layers (infrastructure) depend on inner layers (application and domain), never the reverse. The domain layer should never depend on infrastructure or application services.

Can this skill be applied to small, single-entry systems?

It's generally not necessary for single-entry systems or small projects. The skill is optimized for systems with multiple interfaces and evolving complexity.

All Files

8 files
SKILL.md10.9 KB
View
references/CQRS-EVENTS.md16.3 KB
View
references/DDD-STRATEGIC.md14.7 KB
View
references/CHEATSHEET.md12.3 KB
View
references/LAYERS.md14.7 KB
View
references/TESTING.md18.4 KB
View
references/HEXAGONAL.md15.0 KB
View
references/DDD-TACTICAL.md13.4 KB
View

Install clean-ddd-hexagonal

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

ccheney/robust-skills

Related Skills

cmux-terminal-multiplexer

88

wps-excel

673

ui-design

167

technical-wireframe-info-layout

7,069