.NET DocFX
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Audit given C# class(es)/type(s) for complete XML doc-comment coverage, generate whatever is missing grounded in
the actual code and current changes, then attempt a best-effort documentation report via DocFX. Unlike the other
skills in its group, iru-dotnet-docfx does modify files: it writes /// doc comments — but it never changes
behavior, signatures, or non-doc-comment code, and test classes are exempt from the documentation requirement.
This is the .NET/C# equivalent of iru-java-javadoc.
Purpose
iru-dotnet-docfx closes documentation gaps without assuming a fixed house style: it first discovers this project’s
own doc-comment bar (contributor guide, <GenerateDocumentationFile>/CS1591 enforcement, StyleCop SA16xx
rules, a docfx.json filter config, or observed practice in nearby types) and phrasing conventions, then audits
every type/field/property/event/constructor/method/enum member/nested type in scope, fills in what’s missing,
extends namespace-level documentation only where this project already uses that convention, and proves the
result actually builds via DocFX where the tool is installed — installing it itself if it’s missing, and
reporting plainly if that install fails rather than silently skipping the check.
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
Comma-separated type names or file paths to audit. A simple type name is located via |
None — defaults to every non-test, non-generated |
Outputs
-
Edits (via the Edit tool) to the in-scope type files, adding or completing XML doc comments — no logic, signatures, formatting outside the added comments, or member ordering is changed.
-
Namespace-level documentation (a
NamespaceDocmarker type ordocfx.jsonmarkdown override) extended or created, but only for a project that already uses one of those conventions — never introduced as a new convention by this skill. -
A best-effort DocFX site build (
docfx metadata+docfx build) confirming the doc comments in scope are well-formed, ifdocfxis installed (or installable viadotnet tool install -g docfx); a static site under_site/(or the project’s configuredbuild.dest) on success. -
A plain-text report: per type, how many members were already documented vs. gaps found and filled (named); per namespace, whether namespace-level documentation applies at all and its status; any test-class argument excluded; whether the DocFX report was generated, or skipped (with the install error shown) because
docfxcouldn’t be installed. -
No behavior/signature changes, no analyzer fixes outside doc comments, and no test changes.
Execution flow
Dependencies
Invokes
None — iru-dotnet-docfx is a leaf skill; it only runs dotnet/docfx commands, reads/edits C# source, and reports,
it does not call any other skill in this catalog.
Invoked by
-
.NET Code One Task Group — Step 3, once per task group’s bucket, via the
iru-gate-runneragent, to update XML doc comments for every type the bucket touched and confirm the DocFX build passes (or was skipped cleanly becausedocfxisn’t installed).
Related agents
-
iru-gate-runner—iru-dotnet-code-one-task-group(see .NET Code One Task Group) always invokes this skill from inside airu-gate-runnersub-agent it spawns, not inline.
Source
SKILL.md on GitHub — the file this page was generated from.