Phoenix Context Boundary Validator
Validates architectural integrity and dependency boundaries in Elixir Phoenix applications using automated analysis.
This skill empowers developers to maintain clean software architecture within Elixir Phoenix projects by enforcing strict context boundaries. It leverages mix xref to detect circular dependencies, illegal cross-context calls, and 'Iron Law' violations—such as controllers accessing the database directly. Whether you are performing a code review, planning a major refactor, or assessing the overall health of your application's modularity, this tool provides quantitative scoring and actionable fixes to prevent technical debt and ensure long-term maintainability.
Características Principales
01Visualized dependency graph analysis and API surface area measurement
02Automated context health scoring (0-100) based on modularity metrics
03Suggested refactoring plans for splitting large contexts and fixing violations
04Enforcement of 'Iron Laws' including no Repo access in controllers or schemas
05Detection of circular dependencies and illegal cross-context calls
0662 GitHub stars
Casos de Uso
01Automating architectural reviews during the Pull Request process
02Auditing a legacy Phoenix codebase before starting a major refactor
03Planning the decomposition of bloated contexts into manageable sub-contexts