What problem does it solve?
Enforces consistent, high-quality XML documentation for C# code to reduce ambiguity in public APIs, improve maintainability, and ensure generated or reviewed code follows a unified documentation style.
Core Features & Use Cases
- Mandatory public documentation: Requires XML comments for public members and recommends documentation for complex internal members.
- Tag usage and formatting rules: Specifies when to use <summary>, <remarks>, <param>, <returns>, <exception>, <see cref>, <inheritdoc/>, and how to format multi-line summaries and single-line param/return descriptions.
- Boolean and property guidance: Defines phrasing for boolean parameters and properties and prescribes value descriptions for properties using <value>.
- Use Case: During code generation or review, apply these rules to produce uniform API docs that are readable, searchable, and consumable by documentation tools.
Quick Start
Ask the assistant to add or fix XML documentation in 'MyClass.cs' following these C# XML documentation standards, ensuring multi-line summaries, properly formatted param and returns tags, boolean value wording, and explicit exception documentation.