Find Layer Violations
find_layer_violationsDetect backward or skip-layer dependencies that violate clean architecture, such as repositories calling route handlers or utilities importing components.
Instructions
Find places where the architecture is broken — a database repository calling a route handler, a utility importing a component. Returns every backward or skip-layer dependency that violates clean architecture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. |