csharp-docs Skill for Claude: XML Documentation Rules for C#
Makes Claude write C# XML doc comments with the wording rules in SKILL.md for methods, constructors, properties and exceptions.
- Installs
- 9.7K
- on skills.sh
- Stars
- 40.7K
- on GitHub
- Updated
- Oct 2026
- last repo commit
It tells Claude that public members should have XML comments and that internal ones are worth documenting when they are complex. It then sets rules for each kind of member: how to start a summary, how to word parameters and return values, and how to describe exceptions.
It is a single SKILL.md and bundles no scripts. It applies when Claude writes or reviews C# documentation.
Good for
- C# developers who want consistent XML documentation on public APIs
- Reviewers who want a written standard for doc comments
Install csharp-docs
Claude Code
- 1
Copy this prompt.
Install the csharp-docs skill in Claude Code. Run this command: npx skills add https://github.com/github/awesome-copilot --skill csharp-docs Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Ensure that C# types are documented with XML comments and follow best practices for documentation.
Sections in SKILL.md
- Guidance for all APIs
- Methods
- Constructors
- Properties
- Exceptions
Key facts
- Installs on skills.sh
- 9,682 (Nov 2, 2026)
- GitHub stars
- 40,666 (Nov 2, 2026)
- License
- MIT
- Last repo commit
- Oct 30, 2026
What it includes
Rules for summary, remarks, see, example, code and inheritdoc tags.
A summary is one sentence that starts with a present-tense, third-person verb. Code examples go in an example tag, with the language set on the code tag. inheritdoc is used unless behavior changes.
Guidance for all APIsHow to word param, paramref, typeparam and returns.
Descriptions are noun phrases that begin with an article and do not name the data type. Booleans, enums and out parameters each get a fixed wording pattern.
MethodsThe summary reads 'Initializes a new instance of the <Class> class'.
One fixed sentence for constructors, for a class or a struct.
ConstructorsSummaries start 'Gets or sets', 'Gets', or 'Gets a value that indicates whether'.
The value tag describes the value, and a default goes in its own sentence.
PropertiesDocument every exception the member throws directly, with the condition stated plainly.
For exceptions thrown by nested members, document only the ones users are most likely to hit. Leave off 'Thrown if' at the start of the description.
Exceptions
From the official docs
Permissions
Low risk
Applying the rules means Claude edits your C# source files to add or change comments. Review the diff before you commit.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It leads Claude to edit your code files
SKILL.md holds writing rules only and bundles no scripts. When you ask Claude to apply them, the edits land in your C# source. Use git so you can review or revert them.
Technical details
| Scopes |
|
|---|
Questions
What does csharp-docs do?
It gives Claude a written standard for C# XML documentation. SKILL.md covers general tags, methods, constructors, properties and exceptions, each with wording rules.
Does it document my code automatically?
It only gives Claude the rules. You still ask Claude to document or review a file, for example "add XML docs to this class using the csharp-docs skill".
How do I install csharp-docs?
Use the install box above. The skills CLI command works for Claude Code and Codex, and the Claude tab shows the ZIP upload for the Claude app.
Does it need an API key or any tools?
SKILL.md names none, and the folder bundles no scripts.
Is it safe to use?
It is a set of writing rules in one file that bundles no scripts. When you ask Claude to apply them, it edits your C# files, so review the diff before you commit.
How is it different from ef-core?
Both come from github/awesome-copilot. csharp-docs is about documentation comments. ef-core is a list of Entity Framework Core best practices for data access code.
Information
updated Nov 2, 2026
- Repository
- github/awesome-copilot
- Folder
skills/csharp-docs
Sources
Docs, issue trackers and discussions this page is built from.
Show all 3Hide
- csharp-docs SKILL.md · github.com
- awesome-copilot README · github.com
- ef-core SKILL.md · github.com