Tooluck logoTooluck
SKILL.md

architecture-patterns

Agent skill fromforyourhealth111-pixel/Vibe-Skills

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

How to install architecture-patterns

install architecture-patterns
# install the Vibe-Skills pack with the skills CLI
npx skills add foryourhealth111-pixel/Vibe-Skills

# or add only this skill to Claude Code: copy the folder

bundled/skills/architecture-patterns/

# into

~/.claude/skills/architecture-patterns/ (all projects)

.claude/skills/architecture-patterns/ (one project)

bundled/skills/architecture-patterns/SKILL.md

Apache-2.0Full file
1# Architecture Patterns
2
3Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.
4
5## When to Use This Skill
6
7- Designing new backend systems from scratch
8- Refactoring monolithic applications for better maintainability
9- Establishing architecture standards for your team
10- Migrating from tightly coupled to loosely coupled architectures
11- Implementing domain-driven design principles
12- Creating testable and mockable codebases
13- Planning microservices decomposition
14
15## Core Concepts
16
17### 1. Clean Architecture (Uncle Bob)
18
19**Layers (dependency flows inward):**
20
21- **Entities**: Core business models
22- **Use Cases**: Application business rules
23- **Interface Adapters**: Controllers, presenters, gateways
24- **Frameworks & Drivers**: UI, database, external services
25
26**Key Principles:**
27
28- Dependencies point inward
29- Inner layers know nothing about outer layers
30- Business logic independent of frameworks
31- Testable without UI, database, or external services
32
33### 2. Hexagonal Architecture (Ports and Adapters)
34
35**Components:**
36
37- **Domain Core**: Business logic
38- **Ports**: Interfaces defining interactions
39- **Adapters**: Implementations of ports (database, REST, message queue)
40
41**Benefits:**
42
43- Swap implementations easily (mock for testing)
44- Technology-agnostic core
45- Clear separation of concerns
46
47### 3. Domain-Driven Design (DDD)
48
49**Strategic Patterns:**
50…

Excerpt shown under the repository's Apache-2.0 license.

More skills in Vibe-Skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates