brokle-domain-architecture

Official

Master Brokle's Domain-Driven Design for Go.

Authorbrokle-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides deep guidance on Brokle's Domain-Driven Design (DDD) architecture, helping developers correctly structure new domains, entities, and cross-domain interactions. It ensures architectural consistency and maintainability.

Core Features & Use Cases

  • Domain Structure: Defines the standard directory layout for new domains, including entities, repository interfaces, service interfaces, and domain-specific errors.
  • Multi-Tenant Scoping: Explains the four critical patterns for multi-tenant data isolation (organization-scoped, project-scoped, flexible, global entities).
  • Cross-Domain Relationships: Guides on how to manage dependencies and interactions between different domains using professional aliases.
  • Use Case: A developer needs to introduce a new reporting domain. This skill outlines the steps to create the domain structure, define entities with correct multi-tenant scoping, and integrate it with existing domains like observability.

Quick Start

I need to create a new domain called notifications. Outline the directory structure, entity pattern, and how to define its repository and service interfaces, ensuring multi-tenancy.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: brokle-domain-architecture
Download link: https://github.com/brokle-ai/brokle/archive/main.zip#brokle-domain-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository