dsh-git-commit
Manifest valid@{name=dsh-git-commit; version=0.1.0; description=Git commit assistant: Analyze repository changes to generate standardized Conventional Commits commit messages, generate CHANGELOG based on commit history, and suggest the next version number based on semantic versioning; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=
dsh-git-commit · Git 提交助手
分析 git 仓库,生成规范化提交信息、CHANGELOG 与版本号建议。纯 Node + git 实现,无网络、无外部服务。
提供的工具
| 工具 | 作用 |
|---|---|
suggest_commit | 分析 git status 变更,按 Conventional Commits 生成提交信息建议 |
generate_changelog | 读提交历史(按类型分组)生成 CHANGELOG.md |
suggest_version | 按 SemVer 规则建议下一个版本号(major/minor/patch) |
安装
dsh plugin add dsh-git-commit
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-git-commit"。
用法示例
帮我生成一条规范的提交信息
→ 调用 suggest_commit()
生成 CHANGELOG
→ 调用 generate_changelog(since="v1.0.0", outFile="CHANGELOG.md")
下个版本号该发多少
→ 调用 suggest_version()
说明
- 提交类型按文件分类自动判断:新代码→
feat、改代码→fix、测试→test、文档→docs、配置→chore、样式→style。 - 版本号建议:有
BREAKING CHANGE/!:→ major,有feat→ minor,其余 → patch。 - 建议信息是启发式默认值,可让模型在生成后进一步润色为更贴切的描述。
安装
dsh plugin add github:uckkk/dsh-git-commit
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-git-commit
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Comments
Loading…
Similar plugins
dsh中查看git修改,支持编辑和git暂存、提交等操作,支持使用dsh中配置的模型生成提交信息
★ 0
Apache-2.0
JavaScript
dsh plugin --profile web add @shin/dsh-git-viewby cherrchen
DSH Git 仓库服务与 Client UI 插件,依赖 Details Host;DeepSeek Harness Desktop 预装。 / DSH Git repository service and client UI; requires Details Host; pre-installed in DeepSeek Harness Desktop.
★ 1
MIT
TypeScript
Oct 25, 2026
dsh plugin --profile web add @dsh-electron/dsh-plugin-gitby xia-sc
DeepSeek Harness Web GUI 的完整 Git 管理插件,形态为一个可折叠的悬浮面板, 实时跟随当前会话的工作区——在侧边栏点击不同的会话/工作区,面板会瞬间 重新绑定到对应仓库。 支持的工作流: 分支切换 · 拉取更新(fetch) · 拉取合并(pull,仅快进) · 暂存全部 · 提交(commit,可用 AI 起草提交信息) · 推送(push) · 状态(status) · 最近提交 · 未提交文件列表 · 点击变更看差异 · 基于某分支新建分支。
★ 3
↓ 36/wk
MIT
JavaScript
Nov 6, 2026
dsh plugin --profile web add @xia-sc/dsh-gitby uckkk
@{name=dsh-unit; version=0.1.0; description=单位换算:长度/重量/温度/数据量/时间单位换算; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.com>; lic
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-unitby uckkk
@{name=dsh-json-tools; version=0.1.0; description=JSON 规范化:递归排序键、美化/压缩 JSON; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.co
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-json-toolsby uckkk
@{name=dsh-toml; version=0.1.0; description=TOML ↔ JSON 转换; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.com>; license=MIT;
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-toml