PenguinAndy/dsh-ezcommit-plugin ↗★ 2

dsh-ezcommit-plugin

按业务颗粒度拆分并分批提交代码 适合需要AI辅助分析Git改动并自动分批执行Commit的开发者。

套件
dsh-ezcommit-plugin
相容性
待驗證
版本
0.0.4
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PenguinAndy/dsh-ezcommit-plugin

使用流程

  1. 点击「一键 Commit」→ 确认框展示分支与改动计数(二次确认)。
  2. 「开始分析」→ Host 采集 status / diff / 未跟踪采样(敏感路径自动过滤,不采样、不进入提示词),调用当前会话已路由的模型裁决:
    • noise → 黄色提示框展示原因,不执行任何 git 写操作;
    • commit → 计划审查框展示拆分批次(顺序、message、文件清单)、被过滤的敏感文件与未覆盖文件告警。
  3. 「执行 N 批提交」→ 逐批 git add --pathspec-from-file=- --(文件清单经 stdin,天然规避空格/特殊字符路径)+ git commit -m title [-m body],返回每批短 hash。
  4. 完成后按钮立即刷新置灰;任一批失败即停止(不回滚),已成功批次照常报告。