Skip to content
secondsky avatar

Architecture Patterns

Proven backend architecture patterns, including Clean, Hexagonal, and Domain-Driven Design, for maintainable systems.

CCM score
51 of 100
skills.sh installs
521
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Clean Architecture layers, Hexagonal ports and adapters, and Domain-Driven Design strategic and tactical patterns
  • Includes Python directory structures, use case and repository examples, and a mock payment adapter for testing
  • Explains that dependencies must point inward so business logic stays independent of frameworks and databases
  • Designed for teams designing new backend systems, refactoring monoliths, or planning microservices decomposition

Install

$ npx -y skills add secondsky/claude-skills --skill architecture-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Architecture Patterns

Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.

When to Use This Skill

  • Designing new backend systems from scratch
  • Refactoring monolithic applications for better maintainability
  • Establishing architecture standards for your team
  • Migrating from tightly coupled to loosely coupled architectures
  • Implementing domain-driven design principles
  • Creating testable and mockable codebases
  • Planning microservices decomposition

Core Concepts

1. Clean Architecture (Uncle Bob)

Layers (dependency flows inward):

  • Entities: Core business models
  • Use Cases: Application business rules
  • Interface Adapters: Controllers, presenters, gateways
  • Frameworks & Drivers: UI, database, external services

Key Principles:

  • Dependencies point inward
  • Inner layers know nothing about outer layers
  • Business logic independent of frameworks
  • Testable without UI, database, or external services

2. Hexagonal Architecture (Ports and Adapters)

Details

Repository
github.com/secondsky/claude-skills
Categories
Backend & APIs, Technical Documentation, Python
First seen
Jun 3, 2026

Questions

What does the architecture-patterns skill help me build?

The architecture-patterns skill implements proven backend patterns, including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. It is meant for architecting complex backend systems or refactoring existing applications for better maintainability.

When should I use the architecture-patterns skill?

Use architecture-patterns when designing a backend system from scratch, refactoring a monolith, or migrating from tightly coupled code to loosely coupled architecture. It also covers creating testable codebases and planning microservices decomposition.

How do I install the architecture-patterns skill?

Run npx -y skills add secondsky/claude-skills --skill architecture-patterns -y in your project. Once installed, the architecture-patterns skill gives your agent guidance on layering domain entities, use cases, ports and adapters.

Where does architecture-patterns sit in the Backend & APIs category?

The architecture-patterns skill is listed in the Backend & APIs category on Claude Marketplaces, alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. It stands out by focusing on architecture design patterns rather than a specific service or platform.

More from secondsky/claude-skills

All 116

Similar to Architecture Patterns

More Backend & APIs