docstring-generator
Installation
SKILL.md
Docstring Generator
Generates or updates doc comments for TypeScript and Rust source files. The skill analyzes the public API surface (functions, methods, classes/structs, traits/interfaces, enums) and produces language-idiomatic documentation.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
language |
string | yes | "typescript" or "rust" |
file_path |
string | yes | Path of the file being edited |
full_text |
string | yes | Entire contents of the file |
selection_range |
object | no | { start_line, end_line } (1-based, inclusive) |
mode |
string | no | "update_missing" (default) or "update_all" |
public_only |
boolean | no | If true (default), only document exported/public items |