Back to Skills

architecture-patterns

クリーンアーキテクチャ、ヘキサゴナルアーキテクチャ、ドメイン駆動設計を含む実証済みのバックエンドアーキテクチャパターンを実装します。複雑なバックエンドシステムの設計や、保守性向上のための既存アプリケーションのリファクタリング時に使用します。

5stars1forksUpdated 3/10/2026

Security Assessment

Low Risk(85/100)

Detected risks:

Secret Exposure([SKILL.md] api_key =)
Security Score85/100

About architecture-patterns

The architecture-patterns skill provides a structured approach to implementing proven backend architecture patterns, including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design (DDD). It is designed to help developers create maintainable, testable, and scalable backend systems while refactoring existing monolithic applications for better code quality and modularity. By applying these patterns, teams can reduce tight coupling between components, isolate business logic from infrastructure, and achieve clearer separation of concerns, which simplifies both development and long-term maintenance.

This skill covers the core principles and components of each architecture pattern. For Clean Architecture, it emphasizes layers where dependencies flow inward, keeping business rules independent from frameworks, UI, and databases. Hexagonal Architecture focuses on ports and adapters to make business logic implementation-independent and easily testable. Domain-Driven Design introduces strategic and tactical patterns, such as bounded contexts, ubiquitous language, entities, value objects, aggregates, repositories, and domain events, to model complex domains accurately. The skill also includes practical guidance on organizing code directories and implementing core entities, interfaces, and use cases, illustrated through Python examples.

Target users include backend developers, software architects, and development teams seeking to establish architecture standards or improve existing systems. It is particularly valuable when designing new backend systems, refactoring monolithic applications, implementing testable and mockable codebases, planning microservice decomposition, or adopting domain-driven principles. By following this skill, developers can create robust and flexible systems that are easier to maintain, extend, and test.

FAQ

When should I use the architecture-patterns skill?

This skill is useful when designing new backend systems, refactoring monolithic applications, implementing domain-driven design, or establishing architecture standards for a team.

Which programming languages are compatible with this skill?

The examples provided are in Python, but the principles of Clean Architecture, Hexagonal Architecture, and DDD can be applied in any object-oriented language.

Does this skill require any specific frameworks or libraries?

No specific frameworks are required. The skill emphasizes architecture and design principles that are framework-independent, focusing on maintainable and testable code.

Can this skill be used for microservices architecture?

Yes, it is suitable for planning microservice decomposition and designing loosely coupled services with clear boundaries.

Are there limitations to using this skill?

The skill provides patterns and structural guidance but does not include full implementations for every system. Users need to adapt the patterns to their specific business requirements.

Install architecture-patterns

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