One-click install
npx skills add https://github.com/leonanpereirapinto/ai-utils --skill csharp-docs-leonanpereirapinto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-docs
Source: https://github.com/leonanpereirapinto/ai-utils/tree/main/skills/dotnet/csharp-docs
Command: npx skills add https://github.com/leonanpereirapinto/ai-utils --skill csharp-docs-leonanpereirapinto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent or missing XML documentation in C# code makes APIs hard to discover and use; this Skill provides clear guidance to ensure consistent, well-formed XML comments across public types and members.

Core Features & Use Cases

  • Enforces XML comments on all public types and members.
  • Guides the usage of <summary>, <remarks>, and <see> tags to improve readability and navigation.
  • Helps teams maintain documentation standards across libraries and projects.

Quick Start

Document all public C# types and members with XML comments following the guidelines.

Frequently Asked Questions about csharp-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce XML comments on public C# types and members?

To enforce XML comments on public C# types and members, apply consistent documentation guidelines across libraries and projects, ensuring all public APIs include well-formed XML comments for improved discoverability and maintenance.

What is the best way to standardize C# API documentation across multiple projects?

The best way to standardize C# API documentation is to enforce XML comments on all public types and members, utilizing tags like <summary>, <remarks>, and <see> to maintain readability and navigation across libraries.

When do I need to use <remarks> and <see> tags in C# XML documentation?

You need to use <remarks> and <see> tags in C# XML documentation when you want to provide additional detailed information and improve code navigation, ensuring public API members are thoroughly documented and easy to discover.

Does this approach to C# documentation work for existing codebases with missing API docs?

Yes, this approach works for existing codebases by systematically applying XML comments to public types and members, solving the problem of inconsistent or missing documentation and improving API onboarding.

Why does inconsistent XML documentation make C# APIs hard to maintain?

Inconsistent XML documentation makes C# APIs hard to maintain because missing or poorly formed comments reduce code discoverability and onboarding efficiency, making it difficult for teams to navigate and use public members across libraries.

What are the limitations of relying solely on XML comments for C# API docs?

Relying solely on XML comments for C# API documentation means you must manually ensure adherence to guidelines for tags like <summary>, <c>, and <remarks>, as there are no automated component dependencies listed to validate the structure.