bymanagedcode· 121 skills
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. USE FOR: the repo uses or wants NetArchTest.Rules; architecture rules should be enforced in automated tests. DO NOT USE FOR: very rich architecture modeling that needs a heavier DSL. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
$npx -y skills add managedcode/dotnet-skills --skill netarchtestInstalls into the current project.
Run `npx skills use "https://github.com/managedcode/dotnet-skills" --skill "managedcode/dotnet-skills/netarchtest"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/managedcode/dotnet-skills" that are relevant to the current task. Run `npx skills add "https://github.com/managedcode/dotnet-skills"` and select the relevant skills, then follow their instructions.