Architectural Fitness Functions
Monitors and enforces long-term architectural health through periodic automated checks of system coupling, complexity, and structural integrity.
This skill implements the principles of Evolutionary Architecture within the Claude Code workflow, providing a framework for periodic 'fitness functions' that detect system-wide degradation. Unlike standard linting that gates individual changes, these functions monitor long-term trends such as increasing module coupling, layer boundary violations, and complexity hotspots. By integrating tools like dependency-cruiser, ArchUnit, and custom metrics, this skill helps developers identify 'architectural drift'—the slow accumulation of small violations that eventually lead to technical debt—and ensures the system remains healthy as it evolves.