Android Dokka
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Audit given Kotlin class(es)/file(s)/package scope — and the module(s)/package(s) they live in — for complete
KDoc coverage, generate whatever is missing grounded in the actual code and current changes, then run the
project’s Dokka V2 dokkaGenerate Gradle task to confirm the generated site is well-formed. Unlike a purely
read-only audit, iru-android-dokka does modify files: it writes KDoc comments and, where needed, creates/wires
module.md/package.md includes into dokkaSourceSets — but it never changes behavior, signatures, or
non-KDoc code, and test classes are exempt from the documentation requirement.
Purpose
iru-android-dokka closes KDoc gaps without assuming a fixed house style: it first discovers the project’s own
documentation bar (a contributor guide, a Detekt comments rule set’s UndocumentedPublicClass/
UndocumentedPublicFunction/UndocumentedPublicProperty settings, a documentedVisibilities override, or
observed practice in nearby classes) and phrasing conventions grounded in
irurueta-android-glutils, then audits every type,
primary/secondary constructor, property, function, enum entry, companion-object member, and nested/inner
declaration in scope, fills in what’s missing, ensures each touched module has a module.md and each touched
package a # Package section wired via includes.from(…), and proves the result actually builds via the
project’s own dokkaGenerate task — since, unlike Javadoc/TypeDoc, Dokka does not fail or warn on undocumented
members by default.
Kotlin Multiplatform projects are out of scope: when the Kotlin Multiplatform plugin is applied anywhere in the build (a KMP app’s Android host module included), the skill stops and hands the request to KMP Dokka instead.
Plugin
Shipped by the iru-android plugin of the ai-catalog marketplace (install with /plugin install iru-android@ai-catalog; see Plugins).
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
Comma-separated class names, file paths, or a package glob to audit. A simple class name is located via
|
None — defaults to every main-source |
Outputs
-
Edits (via the Edit tool) to the in-scope Kotlin files, adding or completing KDoc comments — no logic, signatures, formatting outside the added comments, or member ordering is changed.
-
A new or completed
module.mdfor every touched module missing one, and a# Package <fqn>section (inmodule.mdor a dedicatedpackage.md) for every touched package that didn’t already have one, plus thedokka { dokkaSourceSets { named("main") { includes.from(…) } } }wiring if it wasn’t already present. -
A confirmed, warning-free run of the project’s
dokkaGenerate(ordokkaGeneratePublicationHtml) Gradle task scoped to the module(s) touched, output at<module>/build/dokka/html. -
A plain-text report: per class, how many members were already documented vs. gaps found and filled (named) vs.
@suppress-tagged and excluded; per module/package, whethermodule.md/package.mdcoverage already existed, was extended, or was newly created (and whetherincludes.from(…)wiring had to be added); the finaldokkaGenerateresult; any test-class argument excluded; any out-of-scope pre-existing Dokka warning surfaced as a separate follow-up note. -
No Detekt/lint fixes outside KDoc, and no test changes — those are left to other skills.
Execution flow
Dependencies
Invokes
None — iru-android-dokka is a leaf skill; it only runs Gradle commands, reads/edits Kotlin source, and reports,
it does not call any other skill in this catalog.
It stops and redirects Kotlin Multiplatform projects to KMP Dokka (a hand-off, not an invocation).
Invoked by
-
Android Code One Task Group — Step 3, item 2, once per task group’s bucket, via the
iru-gate-runneragent, to update KDoc for every class the bucket touched and confirm thedokkaGeneratebuild passes.
Related agents
-
iru-gate-runner—iru-android-code-one-task-group(see Android 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.