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
by 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-tomlby uckkk
@{name=dsh-jwt-uckkk; version=0.1.0; description=JWT 解码:解析 header/payload,判断过期(不验签); type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad5
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-jwt-uckkkby uckkk
@{name=dsh-random; version=0.1.0; description=随机工具:安全随机整数/字符串、数组抽样与洗牌(crypto); type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-randomby KannaKuron
DSH plugin: an IDE-grade Git tool window as a native dsh-better-sidebar tab — branch tree, commit graph, changes, commit details, JetBrains-style actions, in the right sidebar and the bottom panel. | DSH 插件:IDE 级 Git 工具窗口,以 dsh-better-sidebar 原生 Tab 挂载——分支树 / 提交图谱 / 变更与提交详情 / JetBrains 风格操作,右侧栏与底部面板双布局自适应。
★ 3
↓ 1.5k/wk
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-ide-git