Architecture Pattern Detector

•
45
•

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.

주요 기능

0145 GitHub stars
02Confidence-based scoring based on namespace and interface markers
03Multi-pattern detection for DDD, Hexagonal, CQRS, MVC, and Event Sourcing
04Automated dependency direction analysis and structural violation reporting
05Deep inspection of code organization and layer separation
06Insightful pattern maturity assessments for legacy and modern projects

사용 사례

01Rapid onboarding and architectural mapping of unfamiliar PHP repositories
02Automated architectural health audits to detect 'leaky' abstractions or layer violations
03Verifying adherence to specific design patterns during code reviews or refactoring