All skills
Skillintermediate

intake:document-codebase

Scan the entire codebase and generate documentation for all undocumented functions, classes, modules, and endpoints.

Claude Code Knowledge Pack7/10/2026

Overview

intake:document-codebase

Scan the entire codebase and generate documentation for all undocumented functions, classes, modules, and endpoints.

Status: Planned


Overview

The agent scans the codebase, identifies every function, class, module, and endpoint that lacks documentation, and prioritizes public APIs and external-facing interfaces first. Before generating anything, it presents a scope summary for approval. It then generates docstrings/JSDoc/XML docs throughout the codebase so that any developer or agent can understand function signatures without tracing implementations.

Inputs

NameTypeRequiredDescription
directorystringnoRoot directory to scan. Defaults to project root.

Outputs

NameTypeDescription
documentation-reportreportSummary of documentation added: function count, class count, module count

Prerequisites

  • Access to the project codebase
  • No external tooling required

Next Steps

After documenting the codebase, run intake:capture-behavior to create characterization tests for the newly-documented code.