{
    "url": "https://delaparra-services.nl/skills/architecture-patterns",
    "locale": "en",
    "title": "Architecture Patterns | DeLaParra Services",
    "description": "Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.",
    "alternates": {
        "en": "https://delaparra-services.nl/skills/architecture-patterns",
        "nl": "https://delaparra-services.nl/nl/skills/architecture-patterns"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/skills/architecture-patterns.csv",
        "md": "https://delaparra-services.nl/skills/architecture-patterns.md",
        "json": "https://delaparra-services.nl/skills/architecture-patterns.json",
        "zip": "https://delaparra-services.nl/skills/architecture-patterns.zip",
        "pdf": "https://delaparra-services.nl/skills/architecture-patterns.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/skills/architecture-patterns.csv",
            "encodingFormat": "text/csv",
            "name": "architecture-patterns.csv"
        },
        {
            "url": "https://delaparra-services.nl/skills/architecture-patterns.json",
            "encodingFormat": "application/json",
            "name": "architecture-patterns.json"
        },
        {
            "url": "https://delaparra-services.nl/skills/architecture-patterns.md",
            "encodingFormat": "text/markdown",
            "name": "architecture-patterns.md"
        },
        {
            "url": "https://delaparra-services.nl/skills/architecture-patterns.pdf",
            "encodingFormat": "application/pdf",
            "name": "architecture-patterns.pdf"
        },
        {
            "url": "https://delaparra-services.nl/skills/architecture-patterns.zip",
            "encodingFormat": "application/zip",
            "name": "architecture-patterns.zip"
        },
        {
            "url": "https://delaparra-services.nl/skills/architecture-patterns/download",
            "encodingFormat": "application/zip",
            "name": "architecture-patterns-files.zip"
        }
    ],
    "markdown": "# Architecture Patterns\n\n \n\nImplement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.\n\n \n\n**Licence** MIT\n\n \n\n**Source** wshobson/agents\n\n [Download zip](<https://delaparra-services.nl/skills/architecture-patterns/download>)   \n\n# Architecture Patterns\n\n \n\nMaster proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.\n\n \n\n**Given:** a service boundary or module to architect. **Produces:** layered structure with clear dependency rules, interface definitions, and test boundaries.\n\n \n\n## When to Use This Skill\n\n \n\n- Designing new backend services or microservices from scratch \n- Refactoring monolithic applications where business logic is entangled with ORM models or HTTP concerns \n- Establishing bounded contexts before splitting a system into services \n- Debugging dependency cycles where infrastructure code bleeds into the domain layer \n- Creating testable codebases where use-case tests do not require a running database \n- Implementing domain-driven design tactical patterns (aggregates, value objects, domain events)\n\n \n\n## Core Concepts\n\n \n\n### 1. Clean Architecture (Uncle Bob)\n\n \n\n**Layers (dependency flows inward):**\n\n \n\n- **Entities**: Core business models, no framework imports \n- **Use Cases**: Application business rules, orchestrate entities \n- **Interface Adapters**: Controllers, presenters, gateways — translate between use cases and external formats \n- **Frameworks & Drivers**: UI, database, external services — all at the outermost ring\n\n \n\n**Key Principles:**\n\n \n\n- Dependencies point inward only; inner layers know nothing about outer layers \n- Business logic is independent of frameworks, databases, and delivery mechanisms \n- Every layer boundary is crossed via an abstract interface \n- Testable without UI, database, or external services\n\n \n\n### 2. Hexagonal Architecture (Ports and Adapters)\n\n \n\n**Components:**\n\n \n\n- **Domain Core**: Business logic lives here, framework-free \n- **Ports**: Abstract interfaces that define how the core interacts with the outside world (driving and driven) \n- **Adapters**: Concrete implementations of ports (PostgreSQL adapter, Stripe adapter, REST adapter)\n\n \n\n**Benefits:**\n\n \n\n- Swap implementations without touching the core (e.g., replace PostgreSQL with DynamoDB) \n- Use in-memory adapters in tests — no Docker required \n- Technology decisions deferred to the edges\n\n \n\n### 3. Domain-Driven Design (DDD)\n\n \n\n**Strategic Patterns:**\n\n \n\n- **Bounded Contexts**: Isolate a coherent model for one subdomain; avoid sharing a single model across the whole system \n- **Context Mapping**: Define how contexts relate (Anti-Corruption Layer, Shared Kernel, Open Host Service) \n- **Ubiquitous Language**: Every term in code matches the term used by domain experts\n\n \n\n**Tactical Patterns:**\n\n \n\n- **Entities**: Objects with stable identity that change over time \n- **Value Objects**: Immutable objects identified by their attributes (Email, Money, Address) \n- **Aggregates**: Consistency boundaries; only the root is accessible from outside \n- **Repositories**: Persist and reconstitute aggregates; abstract over the storage mechanism \n- **Domain Events**: Capture things that happened inside the domain; used for cross-aggregate coordination\n\n \n\n## Detailed patterns and worked examples\n\n \n\nDetailed pattern documentation lives in ` references/details.md `. Read that file when the navigation tier above is insufficient.\n\n \n\n## Testing — In-Memory Adapters\n\n \n\nThe hallmark of correctly applied Clean Architecture is that every use case can be exercised in a plain unit test with no real database, no Docker, and no network:\n\n \n\n```\n# tests/unit/test_create_user.py\nimport asyncio\nfrom typing import Dict, Optional\nfrom domain.entities.user import User\nfrom domain.interfaces.user_repository import IUserRepository\nfrom use_cases.create_user import CreateUserUseCase, CreateUserRequest\n\n\nclass InMemoryUserRepository(IUserRepository):\n    def __init__(self):\n        self._store: Dict[str, User] = {}\n\n    async def find_by_id(self, user_id: str) -> Optional[User]:\n        return self._store.get(user_id)\n\n    async def find_by_email(self, email: str) -> Optional[User]:\n        return next((u for u in self._store.values() if u.email == email), None)\n\n    async def save(self, user: User) -> User:\n        self._store[user.id] = user\n        return user\n\n    async def delete(self, user_id: str) -> bool:\n        return self._store.pop(user_id, None) is not None\n\n\nasync def test_create_user_succeeds():\n    repo = InMemoryUserRepository()\n    use_case = CreateUserUseCase(user_repository=repo)\n\n    response = await use_case.execute(CreateUserRequest(email=\"alice@example.com\", name=\"Alice\"))\n\n    assert response.success\n    assert response.user.email == \"alice@example.com\"\n    assert response.user.id is not None\n\n\nasync def test_duplicate_email_rejected():\n    repo = InMemoryUserRepository()\n    use_case = CreateUserUseCase(user_repository=repo)\n\n    await use_case.execute(CreateUserRequest(email=\"alice@example.com\", name=\"Alice\"))\n    response = await use_case.execute(CreateUserRequest(email=\"alice@example.com\", name=\"Alice2\"))\n\n    assert not response.success\n    assert \"already exists\" in response.error\n```\n\n \n\n## Troubleshooting\n\n \n\n### Use case tests require a running database\n\n \n\nBusiness logic has leaked into the infrastructure layer. Move all database calls behind an ` IRepository ` interface and inject an in-memory implementation in tests (see Testing section above). The use case constructor must accept the abstract port, not the concrete class.\n\n \n\n### Circular imports between layers\n\n \n\nA common symptom is ` ImportError: cannot import name X ` between ` use_cases ` and ` adapters `. This happens when a use case imports a concrete adapter class instead of the abstract port. Enforce the rule: ` use_cases/ ` imports only from ` domain/ ` (entities and interfaces). It must never import from ` adapters/ ` or ` infrastructure/ `.\n\n \n\n### Framework decorators appearing in domain entities\n\n \n\nIf SQLAlchemy ` Column() ` or Pydantic ` Field() ` annotations appear on domain entities, the entity is no longer pure. Create a separate ORM model in ` adapters/repositories/ ` and map to/from the domain entity in the repository's ` _to_entity() ` method.\n\n \n\n### All logic ending up in controllers\n\n \n\nWhen the controller grows beyond HTTP parsing and response formatting, extract the logic into a use case class. A controller method should do three things only: parse the request, call a use case, map the response.\n\n \n\n### Value objects raising errors too late\n\n \n\nValidate invariants in ` __post_init__ ` (Python) or the constructor so an invalid ` Email ` or ` Money ` cannot be constructed at all. This surfaces bad data at the boundary, not deep inside business logic.\n\n \n\n### Context bleed across bounded contexts\n\n \n\nIf the ` Order ` context is importing ` User ` entities from the ` Identity ` context, introduce an Anti-Corruption Layer. The ` Order ` context should hold its own lightweight ` CustomerId ` value object and only call the ` Identity ` context through an explicit interface.\n\n \n\n## Advanced Patterns\n\n \n\nFor detailed DDD bounded context mapping, full multi-service project trees, Anti-Corruption Layer implementations, and Onion Architecture comparisons, see:\n\n \n\n- ` references/advanced-patterns.md `\n\n \n\n## Related Skills\n\n \n\n- ` microservices-patterns ` — Apply these architecture patterns when decomposing a monolith into services \n- ` cqrs-implementation ` — Use Clean Architecture as the structural foundation for CQRS command/query separation \n- ` saga-orchestration ` — Sagas require well-defined aggregate boundaries, which DDD tactical patterns provide \n- ` event-store-design ` — Domain events produced by aggregates feed directly into an event store\n\n \n\n## Files\n\n \n\n- ` LICENSE ` \n- ` SKILL.md ` \n- ` SOURCE.md ` \n- ` references/advanced-patterns.md ` \n- ` references/details.md `\n\n \n\n## Related terms\n\n \n\n- [Abstract Factory](<https://delaparra-services.nl/knowledge-hub/abstract-factory>) \n- [Abstraction](<https://delaparra-services.nl/knowledge-hub/abstraction>) \n- [Abstraction Level](<https://delaparra-services.nl/knowledge-hub/abstraction-level>) \n- [Adapter](<https://delaparra-services.nl/knowledge-hub/adapter>) \n- [Advice](<https://delaparra-services.nl/knowledge-hub/advice>) \n- [Amdahl's Law](<https://delaparra-services.nl/knowledge-hub/amdahls-law>) \n- [Aspect](<https://delaparra-services.nl/knowledge-hub/aspect>) \n- [Aspect-Oriented Programming (AOP)](<https://delaparra-services.nl/knowledge-hub/aspect-oriented-programming-aop>) \n- [Backtracking](<https://delaparra-services.nl/knowledge-hub/backtracking>) \n- [Builder](<https://delaparra-services.nl/knowledge-hub/builder>) \n- [Call Stack](<https://delaparra-services.nl/knowledge-hub/call-stack>) \n- [Callback](<https://delaparra-services.nl/knowledge-hub/callback>) \n- [Chain of Responsibility](<https://delaparra-services.nl/knowledge-hub/chain-of-responsibility>) \n- [Chunk](<https://delaparra-services.nl/knowledge-hub/chunk>) \n- [Class](<https://delaparra-services.nl/knowledge-hub/class>) \n- [Clone](<https://delaparra-services.nl/knowledge-hub/clone>) \n- [Code Generation](<https://delaparra-services.nl/knowledge-hub/code-generation>) \n- [Command](<https://delaparra-services.nl/knowledge-hub/command>) \n- [Composite](<https://delaparra-services.nl/knowledge-hub/composite>) \n- [Constraint](<https://delaparra-services.nl/knowledge-hub/constraint>) \n- [Constraint Programming](<https://delaparra-services.nl/knowledge-hub/constraint-programming>) \n- [Data as Data](<https://delaparra-services.nl/knowledge-hub/data-as-data>) \n- [Data-Oriented Programming](<https://delaparra-services.nl/knowledge-hub/data-oriented-programming>) \n- [Dataflow Programming](<https://delaparra-services.nl/knowledge-hub/dataflow-programming>) \n- [Declarative](<https://delaparra-services.nl/knowledge-hub/declarative>) \n- [Declarative vs. Imperative](<https://delaparra-services.nl/knowledge-hub/declarative-vs-imperative>) \n- [Decorator](<https://delaparra-services.nl/knowledge-hub/decorator>) \n- [Decorator / Annotation](<https://delaparra-services.nl/knowledge-hub/decorator-annotation>) \n- [Decoupled Functions](<https://delaparra-services.nl/knowledge-hub/decoupled-functions>) \n- [Delegation](<https://delaparra-services.nl/knowledge-hub/delegation>) \n- [Dependency injection](<https://delaparra-services.nl/knowledge-hub/dependency-injection>) \n- [Domain](<https://delaparra-services.nl/knowledge-hub/domain>) \n- [Edge / Channel](<https://delaparra-services.nl/knowledge-hub/edge-channel>) \n- [Encapsulation](<https://delaparra-services.nl/knowledge-hub/encapsulation>) \n- [Event](<https://delaparra-services.nl/knowledge-hub/event>) \n- [Event Listener / Handler](<https://delaparra-services.nl/knowledge-hub/event-listener-handler>) \n- [Event-Driven Programming](<https://delaparra-services.nl/knowledge-hub/event-driven-programming>) \n- [Facade](<https://delaparra-services.nl/knowledge-hub/facade>) \n- [Fact](<https://delaparra-services.nl/knowledge-hub/fact>) \n- [Factory Method](<https://delaparra-services.nl/knowledge-hub/factory-method>) \n- [Firing Rule](<https://delaparra-services.nl/knowledge-hub/firing-rule>) \n- [Framework](<https://delaparra-services.nl/knowledge-hub/framework>) \n- [Function](<https://delaparra-services.nl/knowledge-hub/function>) \n- [Functional Programming (FP)](<https://delaparra-services.nl/knowledge-hub/functional-programming-fp>) \n- [Garbage collection](<https://delaparra-services.nl/knowledge-hub/garbage-collection>) \n- [Generic Constraint](<https://delaparra-services.nl/knowledge-hub/generic-constraint>) \n- [Generic Programming](<https://delaparra-services.nl/knowledge-hub/generic-programming>) \n- [Global State](<https://delaparra-services.nl/knowledge-hub/global-state>) \n- [GOTO](<https://delaparra-services.nl/knowledge-hub/goto>) \n- [Heap](<https://delaparra-services.nl/knowledge-hub/heap>) \n- [Higher-Order Function](<https://delaparra-services.nl/knowledge-hub/higher-order-function>) \n- [Homoiconicity](<https://delaparra-services.nl/knowledge-hub/homoiconicity>) \n- [Idempotent](<https://delaparra-services.nl/knowledge-hub/idempotent>) \n- [Immutability](<https://delaparra-services.nl/knowledge-hub/immutability>) \n- [Imperative](<https://delaparra-services.nl/knowledge-hub/imperative>) \n- [Inheritance](<https://delaparra-services.nl/knowledge-hub/inheritance>) \n- [Iteration](<https://delaparra-services.nl/knowledge-hub/iteration>) \n- [Iterator](<https://delaparra-services.nl/knowledge-hub/iterator>) \n- [Join Point](<https://delaparra-services.nl/knowledge-hub/join-point>) \n- [Literate Programming](<https://delaparra-services.nl/knowledge-hub/literate-programming>) \n- [Location Transparency](<https://delaparra-services.nl/knowledge-hub/location-transparency>) \n- [Logic Programming](<https://delaparra-services.nl/knowledge-hub/logic-programming>) \n- [Macro](<https://delaparra-services.nl/knowledge-hub/macro>) \n- [map / filter / reduce](<https://delaparra-services.nl/knowledge-hub/map-filter-reduce>) \n- [Metaprogramming](<https://delaparra-services.nl/knowledge-hub/metaprogramming>) \n- [Middleware](<https://delaparra-services.nl/knowledge-hub/middleware>) \n- [Modular Programming](<https://delaparra-services.nl/knowledge-hub/modular-programming>) \n- [Monomorphization](<https://delaparra-services.nl/knowledge-hub/monomorphization>) \n- [Node / Operator](<https://delaparra-services.nl/knowledge-hub/node-operator>) \n- [Noweb](<https://delaparra-services.nl/knowledge-hub/noweb>) \n- [Null](<https://delaparra-services.nl/knowledge-hub/null>) \n- [Object (Instance)](<https://delaparra-services.nl/knowledge-hub/object-instance>) \n- [Object-Oriented Programming (OOP)](<https://delaparra-services.nl/knowledge-hub/object-oriented-programming-oop>) \n- [Observable](<https://delaparra-services.nl/knowledge-hub/observable>) \n- [Observer](<https://delaparra-services.nl/knowledge-hub/observer>) \n- [Operator](<https://delaparra-services.nl/knowledge-hub/operator>) \n- [Overhead](<https://delaparra-services.nl/knowledge-hub/overhead>) \n- [Pipeline](<https://delaparra-services.nl/knowledge-hub/pipeline-paradigms>) \n- [Pointcut](<https://delaparra-services.nl/knowledge-hub/pointcut>) \n- [Polymorphism](<https://delaparra-services.nl/knowledge-hub/polymorphism>) \n- [Procedural Programming](<https://delaparra-services.nl/knowledge-hub/procedural-programming>) \n- [Procedure / Routine](<https://delaparra-services.nl/knowledge-hub/procedure-routine>) \n- [Propagation](<https://delaparra-services.nl/knowledge-hub/propagation>) \n- [Prototype](<https://delaparra-services.nl/knowledge-hub/prototype-paradigms>) \n- [Prototype](<https://delaparra-services.nl/knowledge-hub/prototype>) \n- [Prototype Chain](<https://delaparra-services.nl/knowledge-hub/prototype-chain>) \n- [Prototype-Based Programming](<https://delaparra-services.nl/knowledge-hub/prototype-based-programming>) \n- [Proxy](<https://delaparra-services.nl/knowledge-hub/proxy>) \n- [Publish / Subscribe (Pub/Sub)](<https://delaparra-services.nl/knowledge-hub/publish-subscribe-pubsub>) \n- [Pure Function](<https://delaparra-services.nl/knowledge-hub/pure-function>) \n- [Query / Goal](<https://delaparra-services.nl/knowledge-hub/query-goal>) \n- [Quote / Eval](<https://delaparra-services.nl/knowledge-hub/quote-eval>) \n- [Reactive Programming](<https://delaparra-services.nl/knowledge-hub/reactive-programming>) \n- [Referential Transparency](<https://delaparra-services.nl/knowledge-hub/referential-transparency>) \n- [Reflection](<https://delaparra-services.nl/knowledge-hub/reflection>) \n- [Rule](<https://delaparra-services.nl/knowledge-hub/rule>) \n- [S-Expression](<https://delaparra-services.nl/knowledge-hub/s-expression>) \n- [Satisfiability](<https://delaparra-services.nl/knowledge-hub/satisfiability>) \n- [Selection](<https://delaparra-services.nl/knowledge-hub/selection>) \n- [Sequence](<https://delaparra-services.nl/knowledge-hub/sequence>) \n- [Side Effects](<https://delaparra-services.nl/knowledge-hub/side-effects>) \n- [SIMD](<https://delaparra-services.nl/knowledge-hub/simd>) \n- [Single Entry / Single Exit](<https://delaparra-services.nl/knowledge-hub/single-entry-single-exit>) \n- [Singleton](<https://delaparra-services.nl/knowledge-hub/singleton>) \n- [Solver](<https://delaparra-services.nl/knowledge-hub/solver>) \n- [Speedup](<https://delaparra-services.nl/knowledge-hub/speedup>) \n- [Stack](<https://delaparra-services.nl/knowledge-hub/stack>) \n- [Stateless](<https://delaparra-services.nl/knowledge-hub/stateless>) \n- [Static](<https://delaparra-services.nl/knowledge-hub/static>) \n- [Strategy](<https://delaparra-services.nl/knowledge-hub/strategy>) \n- [Stream](<https://delaparra-services.nl/knowledge-hub/stream>) \n- [Structure of Arrays](<https://delaparra-services.nl/knowledge-hub/structure-of-arrays>) \n- [Structured Programming](<https://delaparra-services.nl/knowledge-hub/structured-programming>) \n- [Subject](<https://delaparra-services.nl/knowledge-hub/subject>) \n- [Subscription](<https://delaparra-services.nl/knowledge-hub/subscription>) \n- [Symbol](<https://delaparra-services.nl/knowledge-hub/symbol>) \n- [Symbolic Programming](<https://delaparra-services.nl/knowledge-hub/symbolic-programming>) \n- [Tangle](<https://delaparra-services.nl/knowledge-hub/tangle>) \n- [Template Method](<https://delaparra-services.nl/knowledge-hub/template-method>) \n- [Type checking](<https://delaparra-services.nl/knowledge-hub/type-checking>) \n- [Type Erasure](<https://delaparra-services.nl/knowledge-hub/type-erasure>) \n- [Type Parameter](<https://delaparra-services.nl/knowledge-hub/type-parameter>) \n- [Unification](<https://delaparra-services.nl/knowledge-hub/unification>) \n- [Weave](<https://delaparra-services.nl/knowledge-hub/weave>) \n- [Weaving](<https://delaparra-services.nl/knowledge-hub/weaving>)\n\n \n\n[Installing an agent skill in Claude Code, Codex, Cursor and Copilot](<https://delaparra-services.nl/manuals/een-skill-installeren-in-je-ai-assistent>)\n\n[HTML version](https://delaparra-services.nl/skills/architecture-patterns)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://delaparra-services.nl/skills/architecture-patterns#webpage",
                "url": "https://delaparra-services.nl/skills/architecture-patterns",
                "name": "Architecture Patterns | DeLaParra Services",
                "description": "Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/skills/architecture-patterns#breadcrumb"
                }
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/skills/architecture-patterns#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Architecture Patterns"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "SoftwareSourceCode",
                "@id": "https://delaparra-services.nl/skills/architecture-patterns#skill",
                "url": "https://delaparra-services.nl/skills/architecture-patterns",
                "name": "Architecture Patterns",
                "description": "Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.",
                "inLanguage": "en",
                "license": "https://spdx.org/licenses/MIT.html",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/skills/architecture-patterns#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/skills/architecture-patterns#dataset",
                "name": "Architecture Patterns",
                "description": "Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.",
                "url": "https://delaparra-services.nl/skills/architecture-patterns",
                "identifier": "https://delaparra-services.nl/skills/architecture-patterns#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/skills/architecture-patterns#skill"
                },
                "creditText": "wshobson/agents",
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://spdx.org/licenses/MIT.html",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "dateModified": "2026-11-28T14:00:10+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#skills",
                    "name": "Skills for AI coding assistants",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "architecture-patterns.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/skills/architecture-patterns.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:10+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "architecture-patterns.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/skills/architecture-patterns.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:10+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "architecture-patterns.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/skills/architecture-patterns.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:10+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "architecture-patterns.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/skills/architecture-patterns.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:10+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "architecture-patterns.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/architecture-patterns.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:10+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "architecture-patterns-files.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/architecture-patterns/download",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:10+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    }
                ]
            }
        ]
    }
}