Architectural Layer Boundary Auditor
Audits codebases for architectural layer violations, cross-layer consistency issues, and improper transaction or session management.
This skill acts as an automated architectural gatekeeper, ensuring your codebase adheres to structural patterns like Hexagonal, Clean, or Layered architecture. It systematically scans for I/O leakage outside the infrastructure layer, detects inconsistent transaction boundaries and session ownership models, and measures pattern coverage for HTTP abstractions. By identifying 'architectural smells' early, it helps maintain long-term system integrity, prevents boundary erosion in complex projects, and provides actionable refactoring suggestions to keep your delivery workflow production-ready.
Key Features
01Pattern coverage analysis for centralized HTTP abstractions and error handling
02113 GitHub stars
03Session ownership verification to detect mixed DI and local session usage
04Automated detection of layer violations based on architecture.md specifications
05Cross-layer consistency auditing for transaction commit and rollback ownership
06Detailed reporting with severity-ranked findings and exact code locations
Use Cases
01Performing automated architectural reviews to prevent technical debt during rapid development
02Validating architectural compliance during the refactoring of legacy systems into clean code patterns
03Ensuring consistency in transaction management across API, Service, and Repository layers