Architecture Review Lens

•
7
•

Analyzes code diffs to enforce architectural integrity, layer boundaries, and proper dependency direction.

The Architecture Review Lens acts as a specialized structural auditor within the Claude Code environment, specifically designed to evaluate whether code changes align with a project's defined system design. Unlike standard code reviews that focus on logic bugs or naming conventions, this skill identifies high-level structural risks such as layer violations, inverted dependencies, and leaking abstractions. It ensures that every change respects the established module boundaries and cross-service contracts, making it indispensable for teams maintaining complex, enterprise-grade codebases where long-term maintainability is as critical as functional correctness.

주요 기능

01Detects layer violations and inverted dependency directions within code diffs.
027 GitHub stars
03Validates public API consistency and ensures module boundary integrity.
04Anchors reviews against existing Architecture Decision Records (ADRs) and system documentation.
05Identifies leaky abstractions and broken cross-service communication contracts.
06Provides precise file and line-number citations for every identified architectural smell.

사용 사례

01Ensuring new microservice events or API endpoints adhere to established service contracts.
02Verifying that new backend logic respects domain-driven design boundaries and layering.
03Auditing complex pull requests for unintended cross-module dependency leaks.