Official agent skill

XML Doc Writer

by dotnet in dotnet/macios

Write, validate, and improve XML documentation comments in C source code.

OfficialCustom licenceAuto-check passedMobile

Install XML Doc Writer

skills CLI
$ npx skills add dotnet/macios --skill xml-doc-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dotnet/macios xml-doc-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dotnet/macios.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/xml-doc-writer .claude/skills/xml-doc-writer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xml-doc-writer
GitHub stars
2.9k
Token cost
~580 tokens
SKILL.md length
288 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
Custom licence

At a glance

Write, validate, and improve XML documentation comments in C source code.

  • Works in 4 steps: Gather context → Write and improve the documentation → Normalize formatting → …
  • Complete XML docs for C APIs
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

XML Doc Writer is an agent skill from dotnet/macios, published by the product's own GitHub organization. Write, validate, and improve XML documentation comments in C source code. Use when asked to add, fix, review, or complete XML docs for C APIs.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile. It works with C#, .NET and iOS. The repository describes itself as: .NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C.

When your agent uses it

  • Complete XML docs for C APIs

Example prompts

  • “/xml-doc-writer”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Gather context
  2. Write and improve the documentation
  3. Normalize formatting
  4. Validate

What it can do on your machine

Read from SKILL.md and the folder at commit 354c2a6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

XML Doc Writer loads about 580 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 288 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~580

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 288 words (~580 tokens).

“Write accurate, consistent XML documentation for the exact C# APIs in scope. This skill may be invoked directly or loaded by another agent working on those APIs.”

— opening of SKILL.md by dotnet, Custom licence
name
xml-doc-writer

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .github/skills/xml-doc-writer of dotnet/macios.

Open the folder on GitHubat commit 354c2a6

Compare with similar skills

XML Doc Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

XML Doc Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
XML Doc Writer this skilldotnet/macios2.9k—~580Automated safety check: PassCustom licence
Maui Safe Areadotnet/skills5.6k1 repos~3.2kAutomated safety check: PassMIT
Sokol Netelix22/Sokol.NET154—~2.8kAutomated safety check: PassMIT
Apple Crash Log .NET Symbolicationdotnet/skills5.6k1 repos~2.4kAutomated safety check: PassMIT
Run Maui Apptig/winprint101—~1.2kAutomated safety check: PassMIT
Maui AI DebuggingRedth/Maui.Gtk101—~4.1kAutomated safety check: PassMIT

Similar skills

  • Maui Safe Area

    dotnet/skills

    Official

    .NET MAUI safe area and edge-to-edge layout guidance for .NET 10+.

    5.6k GitHub starsUsed in 1 repo~3.2k tokens
    MobileAuto-check passed
  • Sokol Net

    elix22/Sokol.NET

    Sokol.NET framework development — use for ANY work in this repo: creating or debugging examples, building/running for desktop/Android/iOS/Web, writing or compiling shaders, adding a new C/C++…

    154 GitHub stars~2.8k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Official

    Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.

    5.6k GitHub starsUsed in 1 repo~2.4k tokens
    MobileAuto-check passed
  • Run Maui App

    tig/winprint

    Build, launch, screenshot, and drive the WinPrint.Maui Windows app (winprint.exe) — including UIA automation of the File button and native Open dialog, and pixel capture that works for WinUI3 content.

    101 GitHub stars~1.2k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Maui AI Debugging

    Redth/Maui.Gtk

    End-to-end workflow for building, deploying, inspecting, and debugging .NET MAUI and MAUI Blazor Hybrid apps as an AI agent.

    101 GitHub stars~4.1k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Maui Hot Reload Diagnostics

    davidortinau/maui-skills

    Diagnose and troubleshoot .NET MAUI Hot Reload issues (C Hot Reload, XAML Hot Reload, Blazor Hybrid).

    174 GitHub stars~1.3k tokensUpdated 3 mo ago
    MobileAuto-check passed

More from dotnet/macios

All 9 skills in this repo
  • Code Review

    dotnet/macios

    Official

    Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.

    2.9k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Official

    Investigate and triage CI failures for dotnet/macios from Azure DevOps build URLs.

    2.9k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Official

    Update dotnet/macios to a new Xcode beta and validate it end-to-end.

    2.9k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Official

    Investigate and fix flaky/random CI test failures in dotnet/macios.

    2.9k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Gh Stack

    dotnet/macios

    Official

    Manage stacked branches and pull requests with the gh-stack GitHub CLI extension.

    2.9k GitHub starsUsed in 2 repos~10k tokens
    Auto-check passed
  • Official

    Create C bindings for Apple frameworks in dotnet/macios. An agent skill from dotnet/macios.

    2.9k GitHub stars~7.3k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about XML Doc Writer

What does XML Doc Writer do?

Write, validate, and improve XML documentation comments in C source code. XML Doc Writer is an agent skill from dotnet/macios, published by the product's own GitHub organization. Write, validate, and improve XML documentation comments in C source code.

When should I use XML Doc Writer?

XML Doc Writer fits situations like: complete XML docs for C APIs.

How do I install XML Doc Writer in Claude Code?

Run `npx skills add dotnet/macios --skill xml-doc-writer -a claude-code`. Or copy the skill folder (.github/skills/xml-doc-writer in dotnet/macios) into .claude/skills/xml-doc-writer in your project. Claude Code loads it when a task matches its description.

How do I install XML Doc Writer in Codex?

Run `npx skills add dotnet/macios --skill xml-doc-writer -a codex`. Or copy the skill folder (.github/skills/xml-doc-writer in dotnet/macios) into .agents/skills/xml-doc-writer in your project. Codex loads it when a task matches its description.

Can I use XML Doc Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dotnet/macios --skill xml-doc-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xml-doc-writer, .gemini/skills/xml-doc-writer, .github/skills/xml-doc-writer and .opencode/skills/xml-doc-writer in your project.

What does XML Doc Writer need to run?

SKILL.md names no scripts, command-line tools or credentials: XML Doc Writer is instructions for the agent only.

Does XML Doc Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is XML Doc Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does XML Doc Writer use?

XML Doc Writer has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does XML Doc Writer use?

About 580 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to XML Doc Writer?

Skills that share tags, products or a category with XML Doc Writer: Maui Safe Area (dotnet/skills, 5.6k stars), Sokol Net (elix22/Sokol.NET, 154 stars), Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars) and Run Maui App (tig/winprint, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains XML Doc Writer?

dotnet (a GitHub organization, an official publisher) maintains it in dotnet/macios, which has 2,906 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.

Source: dotnet/macios on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.