Enforces microservice architecture rules across repos — automated at CI time.
Define your architecture rules once. ArchGuard enforces them on every PR — no direct DB calls from API services, no circular dependencies, no cross-domain imports. Architecture drift stops at the gate.
/ the problem
You agree on boundaries in a design doc, then spend months in code review catching violations manually. One engineer adds a direct DB call from the API layer. Another imports a domain model across service boundaries. ArchGuard automates the enforcement.
/ how it works
Write architecture rules in a simple YAML config: allowed imports, forbidden patterns, service boundaries
Parses imports, function calls, and module dependencies across all services in your monorepo
Flags every rule violation with the exact file, line, and which rule it breaks
Fails CI on violations — merge is blocked until the architecture is clean
/ use cases
MIT licensed. One command install. Works in CI today.
/ stay in the loop
Get notified when new tools land, features ship, or a tool reaches 1k stars. No noise. Unsubscribe any time.