Skill page 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

v1.0.0

Apply MCAF feature-spec guidance to create or update a feature spec under `docs/Features/` with business rules, user flows, system behaviour, verification, and Definition of Done.

dotnet skills install mcaf-feature-spec

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