Architecture Boundary Checker
Enforces clean architecture principles by detecting layer violations, circular imports, and infrastructure leaks across multiple programming languages.
This skill automates architectural governance by enforcing a strict hierarchy between domain, application, and infrastructure layers. It identifies prohibited outward imports, detects complex circular dependencies, and ensures that infrastructure-specific types do not pollute core business logic. Designed for review and refactoring phases, it helps maintain long-term codebase health by flagging cross-feature coupling and encouraging explicit public API declarations in TypeScript, Python, Go, Rust, and JavaScript projects.
Key Features
01Circular dependency identification up to 3 levels deep
02Layer violation detection (preventing Domain-to-Infra dependencies)
03Cascade depth monitoring to limit excessive coupling
04Cross-feature access control via public API enforcement
050 GitHub stars
06Infrastructure leak prevention in core business logic
Use Cases
01Automating architectural reviews during pull requests or refactoring
02Migrating monolithic applications to clean or hexagonal architecture
03Preventing technical debt by enforcing strict module boundaries