analyze_layering
Detect Clean Architecture layering violations in C# projects by analyzing dependency rules between Domain, Application, and Infrastructure layers.
Instructions
Analyzes Clean Architecture layering violations in a C# project. Checks if Domain/Application/Infrastructure layers follow dependency rules.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "analyze_layering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the C# project directory (e.g., D:\Projects\MyApp) | |
| mode | No | Report mode: 'compact' (default, token-optimized) or 'detailed' (full info) | compact |