Architecture Review Lens

•
7
•

Analyzes code diffs for architectural integrity by identifying layer violations, inverted dependencies, and broken cross-service contracts.

The Architecture Review Lens acts as a specialized 'fifth judge' within the /review-changes suite, focusing exclusively on the structural health of a codebase rather than syntax or security. It evaluates changes against the project's documented architecture to catch subtle system boundary leaks, improper imports, and API drift that standard automated tools often miss. By ensuring that new code respects established domain boundaries and dependency directions, it helps engineering teams maintain a clean, scalable system architecture and prevents the accumulation of structural technical debt.

Características Principales

01Issues structured verdicts with specific file and line citations
027 GitHub stars
03Detects architectural layer violations and leaky abstractions
04Validates dependency directions and cross-module import boundaries
05Aligns reviews with existing Architecture Decision Records (ADRs)
06Monitors cross-service contracts and public API drift

Casos de Uso

01Identifying accidental tight coupling in microservice environments
02Enforcing Domain-Driven Design (DDD) boundaries across a monorepo
03Automated architectural gating during pull request reviews