Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Document a module or public API surface (functions, classes, CLI commands, endpoints) from the code itself. Use when the user asks for API reference, to document a module, or to write usage docs for a public interface.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 87% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-04 | ✓→✗ | ▼ Worse | -78% | 0% |
| case-06 | ✓→✗ | ▼ Worse | -76% | 0% |
| case-18 | ✓→✗ | ▼ Worse | -56% | 0% |
Produce reference docs that match the code exactly, derived from the source, not from assumptions about what the API "probably" does.
Identify the public surface to document (a module, class, CLI command group, or set of endpoints). Then have the researcher read it carefully:
purpose: explore) to enumerate the publicentry points and report each one's real signature, parameters, defaults, return shape, and raised errors — with file:line evidence.
values) over prose descriptions. Public vs. private follows the project's convention (e.g. a leading underscore, or an __all__ / export list).
For each entry point:
### <name>(<signature>)
<one-line summary of what it does>
Parameters
<name> (<type>, default <value>) — <meaning>Returns — <type>: <meaning>
Raises — <Error>: <when>
Example <minimal, runnable usage>
sections.
in the signature.
documented signature.
the contract, not a code tour.
Signatures, defaults, and error types drift fastest, so route the finished reference through the reviewer (purpose: review) to confirm every signature and default matches the current code.
Other measured skills in the registry, with their headline benchmark lift.