Library Architecture v1.0.0

NetArchTest

Use the open-source free `NetArchTest.Rules` library for architecture rules in .NET unit tests. Use when a repo wants lightweight, fluent architecture assertions for namespaces, dependencies, or layering.

Trigger On

  • the repo uses or wants NetArchTest.Rules
  • architecture rules should be enforced in automated tests

Workflow

  1. Encode only durable architecture rules:

- forbidden dependencies - namespace layering - type shape conventions

  1. Keep rules readable and close to the boundary they protect.
  2. Fail tests on architecture drift, not on temporary style noise.

Deliver

  • architecture tests that are understandable and stable
  • boundary checks wired into the normal test path used by agents and CI

Validate

  • the rules map to real boundaries the team cares about
  • failures point to actionable dependency drift

Load References

Related skills

Use the open-source free `ArchUnitNET` library for architecture rules in .NET tests.

ArchUnitNETArchUnitNET.xUnitArchUnitNET.NUnit+1

Design or review .NET solution architecture across modular monoliths, clean architecture, vertical slices, microservices, DDD, CQRS, and cloud-native boundaries without…

Use `graphify-dotnet` to generate codebase knowledge graphs, architecture snapshots, and exportable repository maps from .NET or polyglot source trees, with optional AI-enriched…

Graphify.Dotnet

Related agents

Orchestration agent
8 linked skills

.NET Review

Review orchestration agent for .NET changes across bugs, regressions, analyzers, architecture, tests, and maintainability.

agents install review

Also works: dotnet agents install review