Architecture Coherence Audit

0•

Audits codebase structure to detect architectural drift, boundary violations, and structural debt.

Architecture Coherence is a specialized skill for Claude Code designed to identify discrepancies between a project's intended design and its actual implementation. It maps module boundaries, traces import graphs, and analyzes dependency directions to uncover silent issues like circular dependencies or layering violations. By evaluating coupling metrics and responsibility distribution, this skill helps developers maintain structural integrity, prevent technical debt, and ensure that the code matches the intended architectural patterns as the project scales.

主な機能

01Automatically maps module boundaries and dependency directions across multiple languages.
02Calculates coupling metrics (Afferent/Efferent) to pinpoint fragile or over-burdened modules.
030 GitHub stars
04Detects 'architecture drift' where code organization diverges from design documents or ADRs.
05Identifies circular dependencies and layer violations like cross-boundary imports.
06Provides a structural integrity score with specific, actionable refactoring recommendations.

ユースケース

01Auditing a legacy codebase to understand current structural debt before a major refactor.
02Automating architectural reviews during development to ensure new features respect existing boundaries.
03Validating that a monorepo or microservices project follows established dependency rules.