// DOCS

Doc Generation

Auto-generate JSDoc, docstrings, and README sections from your code, context-aware rather than boilerplate.

All capabilities

Generated documentation that restates the signature is worse than none: it goes stale and it teaches readers to skip the comment block. CodePilot writes what the function does with the values it is given, what it returns, and what it raises, because it has read the callers as well as the definition.

JSDoc, Python docstrings, PHPDoc and Rust doc comments all follow the conventions already present in the file, down to the ordering of tags.

README sections are generated from the module they describe and re-generated when it changes, so the quickstart in the repository matches the code in the repository.