在 DeepSeek Harness(DSH)的插件生态中,手动维护项目文档(README、API 说明、变更日志)是一个常见负担。dsh-plugin-auto-docs 通过定义技能,让智能体自动完成文档的生成与更新。
这是一个 DeepSeek Harness 的自动文档生成技能,由开发者 YYTbit 维护。它解决的问题是:如何利用智能体自动从项目结构、代码签名和 Git 历史中提取信息,生成标准化的文档。
核心功能如下:
- 从项目结构生成 README 文件
- 从代码签名生成 API 文档
- 从 Git 历史生成 changelogs
- 添加内联 JSDoc 注释
安装与启用:
dsh plugin --profile your-profile add dsh-plugin-auto-docs
典型用法示例:
- “Write a README for this project”
- “Generate API docs for src/utils.ts”
- “Create a changelog from the last tag”
- “Add JSDoc comments to all exported functions”
适用场景与注意:
该插件以当前 DSH 进程的权限运行。安装前请检查源码与许可证(MIT)。