architectural-fitness

Community

Enforce architecture rules via NetArchTest

AuthorFaysilAlshareef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents architectural drift by codifying layer dependency rules and naming conventions as automated tests so unintended references and naming violations fail the test suite.

Core Features & Use Cases

  • Layer dependency enforcement: Validate that Domain, Application, and Infrastructure assemblies follow declared boundaries and do not reference forbidden layers.
  • Naming and structure checks: Ensure handlers, validators, and entities follow naming conventions and structural expectations (for example, handlers end with Handler and entities use private setters).
  • CI integration: Run architecture tests in pipeline to catch regressions before merge; useful when onboarding contributors or evolving large .NET solutions.

Quick Start

Add NetArchTest.Rules to your test project and create dependency and naming tests that run in CI to enforce your project's layer and naming conventions.

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: architectural-fitness
Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#architectural-fitness

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 471,000+ vetted skills library on demand.