layered-architecture-design

Community

Build acyclic, testable multi-layer systems

AuthorKrystianYCSilva
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the problem of circular dependencies and tightly coupled components by prescribing a strict, ordered layering approach where higher layers may depend only on lower layers, improving modularity, testability, and maintainability.

Core Features & Use Cases

  • Strict Layer Separation: Defines clear responsibilities for Kernel/Infrastructure, Domain/Logic, Application, and UI layers to avoid bootstrap circularity.
  • Dependency Inversion Guidance: Recommends interfaces in higher-level layers with concrete implementations in infrastructure to keep domain code pure.
  • Enforcement & Case Study: Shows how to enforce acyclic module graphs with build tools and illustrates the pattern using the mathsets-kt project as a real-world example.

Quick Start

Ask the skill to analyze your project's modules and propose a layered refactor that separates kernel, logic, domain, and infrastructure with explicit interfaces and downward-only dependencies.

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: layered-architecture-design
Download link: https://github.com/KrystianYCSilva/math-theory-lib/archive/main.zip#layered-architecture-design

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.