analyze_encapsulation
Analyzes C# project encapsulation quality by identifying over-exposed public types that should be internal. Checks visibility of classes, interfaces, and records to improve architectural integrity.
Instructions
Analyzes encapsulation quality by checking public vs internal visibility of classes, interfaces, and records. Identifies over-exposed types that should be internal.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the C# project directory | |
| mode | No | Report mode: 'compact' (default, token-optimized) or 'detailed' (full info) | compact |