Architecture Pattern Detector
Analyzes PHP codebases to identify architectural patterns and verify dependency integrity with confidence-scored reporting.
The Architecture Pattern Detector is a specialized skill for Claude Code that automates the analysis of PHP project structures to determine their underlying design philosophy. It scans namespaces, interface placements, and dependency directions to identify patterns like Domain-Driven Design (DDD), Hexagonal Architecture, CQRS, and Event Sourcing. By providing confidence scores and identifying structural violations (such as Domain layers importing from Infrastructure), it helps developers quickly understand unfamiliar codebases, perform architectural audits, and maintain design consistency throughout the development lifecycle.