dsh-git-commands
把 git 提交, tag, push 与建仓库的工作流规范从 AGENTS.md 搬进 /commit, /commit-fast, /tag, /push, /repo-create 命令: 命令触发时自动附带仓库状态与历史, 省掉常驻上下文和重复的 git 读取 适合需要频繁进行Git提交和版本管理,且希望节省上下文Token的开发者。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:azazo1/dsh-git-commands配置
五个命令的规范文本, 以及两个采集上限 (历史条数, diff 行数上限), 都是插件的 Config 字段, 因此在 Settings 的 Plugins 区里会自动生成表单, 可以直接以多行文本编辑, 保存即写入当前 profile 的配置. 默认值就是内置文本, 点字段旁的 reset 可以退回默认值.
也可以在 profile 的 cordis.patch.yml 里直接配置:
- id: dsh-git-commands
name: dsh-git-commands
config:
logLimit: 10
diffLineLimit: 1500