dsh-plugin-git-workflow
First-class Git tools for the model: status / diff / log / commit / branch with validated messages and paths - no bare-shell git calls.
一等公民的 Git 工具:status / diff / log / commit / branch,参数与路径校验、零 shell 调用,杜绝注入。
How to install
dsh plugin add dsh-plugin-git-workflow About
dsh-plugin-git-workflow DeepSeek Harness 插件:给模型提供**一等公民的 Git 工作流工具** —— 仓库状态、diff、规范 commit、历史、分支,不再需要裸 bash/pwsh 手搓 git。 背景 DSH 内置没有任何 git 工具。模型只能通过 bash/pwsh 调用 git,输出原始、易错、难解析,还容易把用户输入拼进 shell 命令(注入风险)。这个插件把 Git 变成**结构化、安全、可解析**的工具集。 工具 | 工具 | 作用 | |---|---| | git_status | 分支、upstream、ahead/behind、staged / unstaged / untracked / conflicts 清单(porcelain 解析) | | git_diff | 工作区 diff 或 staged diff(--cached),支持 --stat 摘要、路径过滤、行数截断 | | git_log | 最近提交(hash/日期/subject),可选 files 列出每个提交改动的文件 | | git_commit | 校验 message 后 git add(可选路径)+ git commit -m;清晰报出 "nothing to commit" | | git_branch | 本地分支列表,标记当…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 2
- mo. downloads
- 667
- Last push
- 2026-08-17
- Created
- 2026-08-14
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek, dsh, dsh-plugin
Related plugins
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-git-graph
Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header.
dsh-web
zhu1090093659/dsh-web/tree/main/packages/dsh-git-graph
Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header.
dsh-github
PerryLink/dsh-github
Official-grade GitHub CI integration: a composite action.yml, a polling PR review bot with idempotent inline comments and a status-check gate, plus PR/issues tools with every write gated by human approval.
dsh-diff-approval
9087/dsh-diff-approval
Pending-change review for DeepSeek Harness: every `edit`, `write` and `str_replace_editor` change is collected automatically into the file list, where a single change block, the blocks within a selection, or the whole file can be kept or reverted, and undo/redo is supported. It imports the workspace's version-control changes, shows the diff in a single-column or side-by-side view, and provides a Markdown preview in which changes can also be kept or reverted, in-file search, block jumping and copyable line references; the diff data is stored persistently, so the review continues after a restart.