From claude-code-starter
Automatically generates documentation comments and docstrings for code functions/classes, matching project style or language conventions like Google/NumPy for Python, JSDoc for JS/TS, godoc for Go.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-starter:docThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
为代码自动添加文档注释,省去手写文档的麻烦。
为代码自动添加文档注释,省去手写文档的麻烦。
如果用户指定了文件或函数,直接读取。
如果没有指定,问:
你想给哪段代码加文档?可以告诉我文件名、函数名或类名。
查看项目中已有的文档注释,了解:
如果项目没有已有文档,根据语言社区惯例选择最常用的格式。
为目标代码生成文档注释,包括:
规则:
展示生成的文档,询问用户:
文档生成好了,要我写入文件吗?
用户确认后写入。
npx claudepluginhub lightpointventures/claude-code-starterGenerates JSDoc for JS/TS, docstrings for Python, Rustdoc, Javadoc, GoDoc, READMEs, and API docs by analyzing code signatures, params, returns, and examples.
Generates JSDoc/docstring documentation for public APIs, functions, and modules when exports or signatures change.
Generates clear code documentation using language-specific standards like JSDoc, Python docstrings, JavaDoc, and inline comments.