Codebase Structure Scanner
Analyzes and maps PHP project architectures to identify frameworks, architectural layers, and module boundaries.
This skill provides a deep structural analysis of PHP codebases, automatically detecting frameworks like Symfony or Laravel and identifying core architectural layers such as Domain, Application, Infrastructure, and Presentation. By mapping directory trees and counting file types across different layers, it helps developers and AI agents understand project complexity, adherence to DDD or Clean Architecture principles, and identify potential coupling issues or logic leaks before making architectural changes.
主要功能
01Automatic framework detection for Symfony, Laravel, Yii2, and Slim
02Comprehensive file statistics including classes, interfaces, enums, and traits
03Identification of DDD and Clean Architecture layers (Domain, Application, Infra)
0445 GitHub stars
05Architecture health indicators based on layer distribution and coupling
06Bounded context and module boundary detection across directories
使用场景
01Auditing architectural health and layer separation for DDD compliance
02Onboarding to a legacy or complex PHP codebase to understand its organization
03Mapping project dependencies and entry points before a major refactor