ddd-boundary-validator

Community

Enforce DDD architecture, prevent dependency chaos.

AuthorMichael0520
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Maintaining a clean Domain-Driven Design (DDD) architecture in large applications, especially preventing circular dependencies and incorrect layer interactions, is challenging. This Skill automates the validation of module boundaries.

Core Features & Use Cases

  • Automated ESLint Integration: Runs ESLint checks configured with strict DDD boundary rules, catching violations early.
  • Layer Dependency Enforcement: Validates that layers (app, shell, feature, domain, UI, util) only depend on allowed layers, preventing violations like UI importing a store.
  • Circular Dependency Detection: Identifies and helps resolve circular dependencies between modules, improving code clarity and maintainability.
  • Fix Suggestions: Provides concrete solutions for common boundary violations, such as extracting shared logic or reversing dependencies.
  • Use Case: After refactoring a module or during a migration, say "check module boundaries" or let the Skill auto-activate on lint errors. It will pinpoint violations like a Domain layer importing a Feature layer and suggest how to fix it, ensuring architectural integrity.

Quick Start

Say "check module boundaries" to validate your project's DDD architecture.

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: ddd-boundary-validator
Download link: https://github.com/Michael0520/milo-claude/archive/main.zip#ddd-boundary-validator

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.