Analyze Phoenix context boundaries and module coupling via mix xref. Use when checking cross-context calls, validating dependencies, before splitting modules, or reviewing architecture.
---
name: phx:boundaries
description: Analyze Phoenix context boundaries and module coupling via mix xref. Use when checking cross-context calls, validating dependencies, before splitting modules, or reviewing architecture.
effort: medium
argument-hint: "[--assess|--fix]"
allowed-tools: Read, Grep, Glob, Bash
---
# Phoenix Context Boundary Validation
Analyze module dependencies to ensure clean context separation and proper architectural boundaries.
## Usage
```
/phx:boundaries # Check for violations
/phx:boundaries --assess # Score context health (0-100)
/phx:boundaries --fix # Suggest fixes for violations
```
## `--assess` Mode: Context Health Score
Evaluate overall boundary health with a quantified score.
### Metrics Calculated… install to load the full skill