# `Nous.Skills.DocGen`
[🔗](https://github.com/nyo16/nous/blob/v0.21.1/lib/nous/skills/doc_gen.ex#L1)

Built-in skill — documentation generation.

Injects a system-prompt section covering module docs, function docs with
parameters and edge cases, type annotations and runnable examples, with
instructions to match the project's existing doc style, prioritise public
APIs, and never restate the obvious.

Activates on prompts containing "document", "add docs", "docstring",
"moduledoc", "write docs" or "generate docs". Group `:docs`;
tags `:docs`, `:documentation`, `:docstring`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
