dsh-dev-workflow

DSH PLUGIN工具与能力

仓库 melosic/dsh-dev-workflow · npm @melosic/dsh-dev-workflow

工具与能力 未标注验证等级 安全审查:未标注 可信度:未标注 可安装插件
安装这个插件

把开发工作流规范打包成 DSH plugin:按需加载的技能规范、提交信息与文档同步检查工具,以及提交、建 PR、打标签前的守卫与审批。

一句话选型结论

按资料字段整理

dsh-dev-workflow 是工具与能力类的 DSH 可安装插件,未做沙盒验证,暂无安全审查结论,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类工具与能力 收录类型可安装插件 验证等级未标注验证等级 安全审查未标注
验证等级 UNKNOWN 未标注验证等级
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-10-06 创建于 2026-10-04
README 11.2 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add @melosic/dsh-dev-workflow
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名@melosic/dsh-dev-workflow可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-dev-workflow:为 DeepSeek Harness 带来可执行的开发工作流规范

  • 工作流规范按需加载为技能
  • 提交信息与文档同步检查工具
  • 提交、PR、打标签前触发
  • 危险操作守卫与审批
  • 设置面板实时开关

上游标签

dshdsh-plugin

验证等级与安全审查

未标注验证等级
自动化流程结论,不是人工审核
验证等级未标注验证等级上游未给出验证结论,安装前请自行确认
安全审查未标注静态分析结论,未标注不代表已通过审查
仓库健康度未标注按仓库活跃度与最近更新时间给出
可信度未标注综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 安全审查还没结论,装之前先看仓库改了什么、要什么权限。
  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在工具与能力场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-dev-workflow当前 未做沙盒验证 未标注 0 未标注 有
huashu-design 未做沙盒验证 未标注 3.0 万 未标注 有
loopx 未做沙盒验证 未标注 6,233 未标注 无
agy-staff 未做沙盒验证 未标注 870 未标注 有
dsh-startup-screen 未做沙盒验证 未标注 633 未标注 有
minara-skills L4 · 沙盒安装通过 中风险 360 未标注 有

仓库档案

工具与能力
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方melosic仓库 dsh-dev-workflow · 默认分支 main
分类工具与能力workflow
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言TypeScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-04 · 2026-10-06最后推送 2026-10-06
本站收录2026-10-07首次进入本站目录的时间

README 全文

11.2 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-dev-workflow

中文 | English

A conventions gate for DeepSeek Harness (dsh)

check the commit message before it commits · the PR description before it opens · the version before it releases · ask before a command that cannot be undone · 200–250 tokens resident

dsh plugin --profile web add @melosic/dsh-dev-workflow


If your git commit, gh pr create and git tag are run by an agent, these checks are for you. The rest of this file covers only when it speaks up, and why.

Why

Every project writes some conventions down — how a commit message is shaped, which sections a PR carries, how a version is chosen. They usually live in AGENTS.md, CONTRIBUTING.md and a document or two.

Text does not enforce itself. Reading a rule and following it are two different things: the guide says the subject stays under 50 characters and the agent still writes 62. This plugin turns the parts a machine can check into checks that run — at commit, pull request and release time — and stops to ask before anything irreversible.

What it saves is rework:

  • a commit rejected by CI, then amended;
  • a PR sent back for a missing section, then rewritten;
  • a release discovered to disagree with package.json.

It only touches three kinds of action: the ones awkward to change once committed, seen by others once pushed, and gone once run.

Two words recur below:

  • Triggers check the work against the project's rules at commit, pull request and release time.
  • Guards stop before a command or a file operation runs.

When it speaks

You are It does
git commit Checks the message format, whether a feat added a CHANGELOG entry, and whether docs moved with the code
gh pr create Checks the description for the sections the template asks for, unticked checklist items, and a linked issue
git tag / npm publish Checks the version is semver, that tag and package.json agree, and that the changelog has the section
git reset --hard, rm -rf, git push --force Stops and asks first
Reading .env, a real secret in the arguments Refuses — no per-call approval

The rest of the time it says nothing.

What it says when it stops you is one line of why, plus the safer alternative:

> A force push rewrites remote history and can discard other people's commits.
> Prefer --force-with-lease: it refuses to overwrite commits you have not seen.

How it works

The plugin hangs off DSH's tool-execution chain. Before the agent runs a command or writes a file, it looks once:

One layer judges "is this within the rules" — commit messages, PR descriptions, version numbers. The other judges "can this be undone" — lost work, rewritten history, things others will see. When both fire, there is one prompt showing both sets of reasons, never two questions in a row.

The full spec is not on this path either: it stays resident as one summary line and is read only when needed, which is why the resident cost is 200–250 tokens.

The five guards

Guard Blocks Default
Command rm -rf /, mkfs, dd of=/dev/sda — irreversible ask
git reset --hard, clean -f, push --force, branch deletion, --no-verify, git restore . ask
Outward push, tag, gh pr create, npm publish — others will see it ask
Sensitive files .env, *.pem, private keys, credentials deny
Credentials A real secret in the command arguments deny

The first three ask rather than refuse: most of these actions are legitimate, they are just worth one confirmation. The last two refuse — reading a private key has no "fine once you confirm it" case, and printing the path in an approval dialog is itself a second leak, so there is no per-call approval. The false positives are already excluded: sample files such as .env.example do not count, and neither does grep -rn "credentials" . — the check that tells you whether a secret is in the tree, because a search expression is not a path. To make one file readable, drop it from fileGuard.noRead or turn that guard off.

In a session with approvals turned off, "ask" becomes a refusal, and the prompt says how to get past it.

Install, update, uninstall

From the window

Plugins (top left) → Add plugin (top right of the page) → paste the package name → Install:

@melosic/dsh-dev-workflow

Then check the plugin list to confirm it is enabled.

The dialog's Registry selector defaults to your own pnpm configuration; you can also pick the official npm registry or the mainland-China mirror directly. On a slow connection to npmjs, registry.npmmirror.com is usually much faster.

This is the only path that needs no terminal, and it works in the desktop app too.

Command line

Install it into the profile you boot dsh with. If you start with dsh web, that is web:

dsh plugin --profile web add @melosic/dsh-dev-workflow

The templates that ship with dsh are web, headless, acp, sdk and sdk-minimal; a profile of your own takes its own name.

The desktop app is the exception: its profile is desktop, and the plain dsh command refuses to manage it (profile "desktop" is managed exclusively by the Electron application). Use the CLI the app ships:

"/resources/runtime/cli/bin/dsh.cmd" plugin --profile desktop add @melosic/dsh-dev-workflow

Use DSH's installer rather than npm install: a profile only loads the bundles named in its own dsh.profile.bundles list, and the installer is what writes both the dependency and that entry.

# update / uninstall — copy the profile prefix from above
dsh plugin --profile web add @melosic/dsh-dev-workflow@latest
dsh plugin --profile web remove @melosic/dsh-dev-workflow

Reload dsh, then run /dev-workflow status to confirm it is working:

$ /dev-workflow status
dev-workflow is on. Conventions stay resident as a short summary; details are read on demand.
Locale: en-US (configuration says "auto").
Scope: every repository. This working directory is checked.
No check has run in this session yet.
Guard hits: none.
Security audit enabled. Guard decisions are appended to .dev-docs/audit-log.jsonl, which stays out of version control and out of the model's context.

If the first line says "is on", the install worked. If it says "off for this session" or "this one is NOT marked", the plugin is deliberately doing nothing — type /dev-workflow on, or create the marker file described in the next section.

Behaviour is changed in the settings panel; nothing there needs a restart.

Configuration

The defaults are the common ones (Conventional Commits, Keep a Changelog). Everything a machine can check is adjustable — the type list, whether a scope is required, subject length, which PR sections are expected, the changelog category names, which publishing tools count. Tuned to your guide, it is that project's gate rather than this repository's. The full field list is in docs/CONFIGURATION.md.

  • Per repository, not per machine. scope: 'marked' limits the rules to repositories whose root carries a .dsh/dev-workflow.yml; elsewhere the guards and triggers stay quiet and the skill-catalogue line disappears (the two tool definitions are registered per process, so they ride along).
  • 200–250 tokens resident. The full spec is read on demand; what stays resident is two tool definitions and one skill-catalogue line. See docs/TOKEN-BUDGET.md.
  • off really turns it off. /dev-workflow off withdraws the tools, skill, triggers and guards, and the resident cost drops to zero. The command stays, so /dev-workflow on brings it back.

Boundaries

  • It does not replace CI. It is a pre-flight check; CI is the verdict.
  • It does not review code, run tests, or format anything.
  • It does not decide for you: the question is asked of you, and your refusal stands.
  • It does not guess. When it cannot read the commit message or the changed-file list, it says that rule did not run instead of reporting a pass.
  • Some paths it cannot see are listed under "what we cannot see" in docs/TRIGGERS.md. That table is a promise, not a disclaimer.

Requirements

Component Version Notes
DeepSeek Harness runtime 0.2.0-rc.2 or 0.2.1-rc.2 dsh --version
Node.js >=20 required by dsh itself
pnpm any; not checked only needed by dsh plugin, and it must be on PATH

Those are the only two versions, not a range: they are the ones this plugin has actually been loaded on, and a range would also claim every 0.2 prerelease in between and every 0.3 after them. The cost is that a new DSH prerelease needs a new release of this plugin — which is the honest direction, because "not tested" should read as "unsupported". When the version is one of the others, dsh plugin add refuses the install outright (dsh: installation rejected: Plugin … is incompatible with dsh …, nothing is installed) and prints the dsh plugin allow-version escape hatch. An already-installed older copy behaves differently: the plugin is disabled at startup with dsh: disabling profile plugin … on stderr, and the rest of the profile loads normally. Both say why; neither is silent. Check dsh --version against the list above before filing a bug, and paste the output of /dev-workflow status into the issue; how the list is chosen is in docs/PUBLISHING.md.

Documentation

  • docs/README.md — the index of all documentation: start here and pick a reading path.
  • docs/SECURITY.md — what each of the five guards stops, why the defaults are what they are, and the known boundaries.
  • docs/CONFIGURATION.md — every adjustable field and its default, including the file-only settings the panel does not show.
  • CHANGELOG.md — release history, Keep a Changelog format.
  • CONTRIBUTING.md — how to set up, branch, commit, and submit changes.

Contributing

Contributions are welcome — read CONTRIBUTING.md first.

License

MIT © 2026 Melosic

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-dev-workflow 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add @melosic/dsh-dev-workflow` 即可。对应的 npm 包名是 `@melosic/dsh-dev-workflow`。

dsh-dev-workflow 的验证等级是什么意思?

未标注验证等级。上游未给出验证结论,安装前请自行确认

dsh-dev-workflow 安全吗?

未标注。

dsh-dev-workflow 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-dev-workflow 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-dev-workflow 有哪些功能?

工作流规范按需加载为技能、提交信息与文档同步检查工具、提交、PR、打标签前触发、危险操作守卫与审批、设置面板实时开关。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

1 条
不同作者的仓库分开列,请确认你要装的是哪一个
工具与能力
按星标排序,可作替代方案

huashu-design

huashu-design

在 DeepSeek Harness 里说一句话,就能拿回可交付的设计:网页、App 原型、可编辑 PPTX、动画与信息图,自带 84 种风

未标注验证等级 3.0 万 星

loopx

loopx

LoopX 是面向长周期 Agent 的本地优先控制平面,作为 DSH plugin 为 DeepSeek Harness 提供持久目标、证

未标注验证等级 6,233 星

agy-staff

agy-staff

把 Google Antigravity CLI 作为快速 Gemini 员工接入 DSH,提供子代理侧边栏、编排模式与多种角色技能。

未标注验证等级 870 星

dsh-startup-screen

dsh-startup-screen

DeepSeek Harness 的启动界面与启动动画插件。

未标注验证等级 633 星

dsh-blender-plugin

dsh-blender-plugin

让 AI 模型通过直连 TCP 通道实时驱动 Blender 的 DSH plugin:15 个工具覆盖视口取帧、任意角度渲染、内循环搜索、

未标注验证等级 211 星

melosic 的其它插件

1 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。