Architecture Drift Detector
Audits codebase structure to identify and prevent violations of documented architectural decisions and module dependency rules.
The arch-drift skill ensures your codebase adheres to its intended design by mapping actual code dependencies against documented Architecture Decision Records (ADRs). It automatically identifies illegal imports between app, library, and core modules, flags unauthorized cross-library dependencies, and provides actionable reports linked directly to governing ADRs. By automating the detection of boundary violations, this skill prevents technical debt and architectural erosion, making it an essential tool for maintaining large-scale software systems and ensuring long-term code health.
Key Features
01Direct synchronization between code implementation and Architecture Decision Records (ADRs)
02Heuristic analysis of module boundaries and import violations
03Customizable dependency exceptions via CLAUDE.md configuration
04Automated dependency direction checking between module types (App, Lib, Core)
053 GitHub stars
06Strict mode integration for CI/CD pipelines to prevent architectural regressions
Use Cases
01Auditing legacy codebases to identify and map existing architectural technical debt
02Enforcing strict design patterns in monorepo environments via CI/CD integration
03Automating code reviews to catch architectural violations before they reach production