Arch Check

0•

Enforces clean architecture boundaries and composition rules to ensure long-term codebase maintainability and decoupling.

Arch Check is a specialized architectural auditor for Claude Code that automates the enforcement of the Dependency Inversion Principle and clean layering. It monitors and blocks violations such as core logic importing infrastructure-specific libraries, circular dependencies, and the leaking of concrete database or API types into domain signatures. By promoting composition over inheritance and ensuring all dependencies are injected at the composition root, Arch Check helps developers maintain a pure core domain that remains decoupled from external frameworks and I/O concerns across multiple programming languages.

Key Features

01Strict Core-to-Shell boundary enforcement to prevent infrastructure leakage
02Identification of hidden construction and service-locator patterns in core logic
03Signature auditing to ensure public APIs use ports/interfaces instead of concrete types
04Composition-over-inheritance checks with idiomatic carve-outs for domain taxonomies
05Automated circular import detection and resolution mapping
060 GitHub stars

Use Cases

01Automating architectural guardrails during code reviews to prevent technical debt
02Refactoring monolithic applications into clean, layered, or hexagonal architectures
03Enforcing consistent dependency injection patterns across polyglot microservices