A technical writer agent keeps documentation current with the codebase. It watches for merged PRs that introduce new APIs, configuration options, or user-facing changes, then updates or creates the corresponding documentation.
Documentation quality depends on knowing your audience and your doc system. A role-specific prompt encodes your doc format, the voice and style guide, where different types of docs live, and the threshold for what requires documentation versus inline comments.