Architests
Enforce a repository’s architecture policy as TUnit tests, so the rules are defined once rather than copied into every repository’s test project.
Adoption is a policy file at .config/architecture-policy.json and one derived test class:
[InheritsTests]public sealed class ArchitectureTests : PurviewArchitectureTests;Guides
Section titled “Guides”- Getting started — adopt the package in a repository, step by step.
- Tutorial — grow one application and its policy from a two-project matrix to type, API, port and budget rules.
- Policy reference — every field, every rule id, every default.
- Type-level rules — how the assembly check works and how an assembly is attributed to a project.
- API contracts — the committed baseline, XML documentation and the port rules.
- Migration and budget — adopt incrementally, waive narrowly and ratchet the graph.
- Command line — validate, capture the API, review waivers and render the graph.
- Extending — add your own rule to the standard set.
Reference
Section titled “Reference”Agent skills
Section titled “Agent skills”npx skills add purview-dev/architests