@melosic/dsh-dev-workflow: Baking Development Standards into DSH for Auto-Validation and Interception at Critical Nodes

Introduction

When using coding agents in DeepSeek Harness (DSH) to write code, every project actually has a set of “development workflows”: how to name branches, what format to use for commit messages, whether documentation should be updated alongside code, and what conditions must be met before release. These conventions are often written in CONTRIBUTING or team documentation, but the agent might not necessarily consult them in the moment of actually modifying code, committing, or opening PRs; unwritten conventions must be repeated verbally in every session and are prone to drift.

The DSH ecosystem philosophy is “everything as plugins”—capabilities are attached to the runtime as plugins, rather than switching to a fixed pattern. @melosic/dsh-dev-workflow (maintainer Melosic) packages the above workflows into a plugin: specifications are injected on-demand via skills, mechanically checkable parts are handed over to tools, and operations that are irreversible or externally visible are gated first. Below, we introduce what it is, what it does, and how to install and verify its effectiveness.

What is this

@melosic/dsh-dev-workflow is a development workflow gatekeeper and orchestrator plugin for DSH (package description: Development-workflow gatekeeper and orchestrator plugin for DSH). It operates on top of your existing DSH modes and is not a new mode itself to replace others.

The plugin organizes conventions such as branching models, Conventional Commits, atomic commits, PR quality thresholds, documentation synchronization, releases, and CHANGELOGs into skills that the agent reads on demand; the resident context occupies only a small amount of tokens. The README explains: mechanically verifiable items are executed by tools; operations that are irreversible or should not be shown externally without your consent trigger guards or approvals before they occur.

The current npm package version is 0.4.0, license MIT (© 2026 Melosic). See the GitHub repository for source code and instructions; the community directory page is Melosic/dsh-dev-workflow on SkillHub (an independent site with no official affiliation with DeepSeek / High-Flyer).

Core Features

The following capabilities are derived from the project README and package metadata, categorized by module.

Specs injected as skills, rather than preachy long texts every turn

The complete workflow specifications are read only when needed; normally, only a short summary remains in the context, avoiding repeating the same guide in every turn.

Two checking tools

  • check_commit_message: Validates whether commit messages conform to Conventional Commits.
  • check_doc_sync: Checks whether documentation is updated in sync with code changes.

Three trigger points (quiet normally, speak up at key nodes)

  • Before executing git commit.
  • Before executing gh pr create.
  • Before executing git tag or release-related operations.

Five types of guards (unified form)

The README summarizes five categories of protection: irrecoverable shell commands, destructive git operations, externally visible operations, sensitive path reads, and credentials in parameters. For example, guarded operations like git clean -f will not execute silently: they will prompt for approval or be directly rejected if approval is disabled.

Toggles and Settings

  • Slash command /dev-workflow status: Reports current mode, locale, last check, and guard activity, etc.; off can unregister all capabilities registered by the plugin.
  • A settings panel is provided in DeepSeek Harness Settings, where various toggles and enum items can be changed and take effect without restart.

Environment Requirements

Component Version
DeepSeek Harness runtime >=0.2.0-rc.2
Node.js >=20
pnpm 10.x

The README specifically notes: Unsupported DSH versions will not cause installation failure but will disable the plugin—the plugin is still installed but will not appear in the interface. Please check against the table above using dsh --version before submitting an issue; version selection logic is detailed in docs/PUBLISHING.md in the repository.

The plugin development itself uses pnpm@10.30.3 (see the packageManager field in package.json).

Installation and Activation

Please use the official DSH installer instead of running npm install separately for the plugin directory: profiles only load bundles listed in their dsh.profile.bundles, and the installer writes both the dependency and the list entry.

dsh plugin --profile <profile> add @melosic/dsh-dev-workflow

Replace <profile> with the profile name you actually use.

After installation, run the following in DSH:

/dev-workflow status

You should be able to see the mode, locale, last check, guard counts, and audit log status, etc. You can try a guarded operation (such as git clean -f) to confirm that an approval prompt appears or it is rejected according to your settings, rather than executing silently.

If you want to modify the plugin source code yourself, the README points to CONTRIBUTING.md.

Typical Usage and Documentation Entry Points

In daily development, the agent will hit corresponding triggers before committing, opening PRs, tagging, or releasing; commit messages and documentation synchronization are gated by check_commit_message and check_doc_sync respectively. The full text of specific conventions is in the plugin’s bundled skills, loaded on-demand according to the scenario.

Repository documentation index (listed in README):

  • docs/README.md — General documentation index and reading path.
  • CHANGELOG.md — Release notes (Keep a Changelog format).
  • CONTRIBUTING.md — Local setup, branching, committing, and contribution process.

Use Cases and Notes

Who it is for: Teams or individuals already using coding agents in DSH for daily development, who want to “bake in” team or personal Git/PR/documentation/release conventions into the runtime, and automatically validate and intercept at nodes like commit / PR / tag.

Permissions and Security: The plugin runs with the same permissions as the current dsh process. Before installation, you should read the source repository and the MIT License to ensure that guard and trigger behaviors comply with your environment and compliance requirements.

Comparison with old habits: If relying solely on verbal prompts or static AGENTS.md, conventions easily drift between sessions; this plugin turns conventions into skills, mechanically checks items via tools, and guards high-risk operations, reducing the “said but not done” scenario.

Conclusion

@melosic/dsh-dev-workflow transforms development workflows from “a paragraph in documentation” into switchable, auditable plugin capabilities in DSH: on-demand skills, two checking tools, three trigger points, five types of guards, plus the /dev-workflow status command and the Settings panel. If you are organizing Git and release discipline under agent collaboration, you can start by installing the profile with the official installation command, and verify behavior using status and a guarded operation to see if it meets expectations.

  • Directory Page: https://www.skillhub.cn/plugins/Melosic/dsh-dev-workflow
  • GitHub: https://github.com/Melosic/dsh-dev-workflow
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye