
The csharp-docs skill ensures that C# types and members are documented with XML comments according to best practices, providing developers with standardized guidance on documentation syntax, structure, and conventions. It specifies how to use XML comment tags like `<summary>`, `<remarks>`, `<param>`, and `<returns>` for different code elements, helping teams maintain consistent and comprehensive API documentation. This skill solves the problem of inconsistent or incomplete documentation by establishing clear rules for documenting public APIs, methods, properties, and generics in C# projects.
$ npx -y skills add github/awesome-copilot --skill csharp-docs --agent claude-codeInstalls into .claude/skills of the current project.
<summary> to provide a brief, one sentence, description of what the type or member does. Start the summary with a present-tense, third-person verb.<remarks> for additional information, which can include implementation details, usage notes, or any other relevant context.<see langword> for language-specific keywords like null, true, false, int, bool, etc.<c> for inline code snippets.<example> for usage examples on how to use the member.
<code> for code blocks. <code> tags should be placed within an <example> tag. Add the language of the code example using the language attribute, for example, <code language="csharp">.<see cref> to reference other types or members inline (in a sentence).<seealso> for standalone (not in a sentence) references to other types or members in the "See also" section of the online docs.<inheritdoc/> to inherit documentation from base classes or interfaces.
<param> to describe method parameters.
<see langword="true" /> to ...; otherwise, <see langword="false" />.".<paramref> to reference parameter names in documentation.<typeparam> to describe type parameters in generic types or methods.<typeparamref> to reference type parameters in documentation.<returns> to describe what the method returns.
<see langword="true" /> if ...; otherwise, <see langword="false" />.".<summary> should start with:
<value> to describe the value of the property.
<see langword="false" />".<see langword="true" /> if ...; otherwise, <see langword="false" />. The default is ...".<exception cref> to document exceptions thrown by constructors, properties, indexers, methods, operators, and events.Sponsors