Introduction¶
The ecosystem philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” Plugins can extend host capabilities, or solidify a set of workflows into presets so that every new session follows the same delivery standards. dsh-oh-my-workflow is one such preset: it combines task grading, method skills, and real verification from software delivery, constraining the AI coding assistant into an auditable pipeline.
What It Is¶
dsh-oh-my-workflow is a DeepSeek Harness agent preset maintained by KianWu. It ships 22 built-in skills spanning entry points and engineering baselines, engineering method skills, and stack-style loop skills, covering the full lifecycle from requirement clarification, spec writing, ticket breakdown, implementation, review, verification, to handoff. The preset constrains model behavior through a behavior-contract section, controls task handling via a three-tier routing mechanism, ensures “changes must be truly verified” through turn guards, and manages context and complex tasks via structured compression and multi-agent collaboration.
Core Mechanisms¶
Three-tier routing. Each task is graded at the start, and the rationale is declared in the first reply:
- Fast tier: Clear objective, small change, low risk. Reads the necessary code, then directly modifies and verifies without creating any process documents.
- Standard tier: Multi-file changes or observable behavior changes. Performs one round of lightweight clarification first—only asking questions whose answers would change the approach; skipped if the goal is already clear—then presents a 3–6 step plan before implementing.
- Deep tier: Ambiguous requirements, high risk, or structural changes. After clarification and modeling, writes specs, plans, and decisions into .agent/workflow/, and stops before implementation; when to execute and in what order is left to the user. Exception: when the user explicitly requests continuous progression.
Behavior-contract section. A ~2.5 KB persistent prompt that constrains how each turn progresses: if information is sufficient, act; do not re-argue already-established facts; complete the entire task within a single turn without prematurely yielding control; only report what was actually observed, with failures stated in the first sentence. This is the primary source by which this plugin reduces idle turns and saves tokens.
Turn guards. A serial hook before the end of each turn reads the turn log and checks two rules: files were modified in this turn but no successful verification command was executed; the same fix failed two consecutive times. On violation, a short message is injected back into the session to prompt the turn to continue. If the guard itself throws an error, it only logs the issue without blocking the turn. Verification judgment defaults to balanced semantics (one successful verification after the first change in a round counts); untagged success results from the official shell are accepted as exit 0; both have configuration options to disable or tighten.
Structured compression. When context approaches the window threshold (default: the smaller of 80% and “window minus 65,536 token reserve,” host default value), the host compression engine triggers summarization. This plugin replaces the summarization instruction on top of the engine instance: it requires first drafting in an <analysis> section, then producing a nine-segment checkpoint; explicitly instructs how to handle truncated tool-result markers and forbids speculating about missing content; separately preserves the “all user messages” segment to prevent corrective instructions from being lost during compression. The draft is stripped before persistence. Thresholds, retention policies, and overflow recovery remain the host’s responsibility; on patch failure, it falls back to host default behavior.
Multi-agent collaboration. Complex tasks are not handled single-threaded. When there are two or more independent subtasks with clear boundaries, or when broad searching, batch reading, or independent review is needed, delegate via subagent (fresh context, can run in parallel) or subagent_fork (inherits current context); use workflow for large-scale fan-out. The main thread retains only the objective, decisions, and integration; sub-agents return only conclusions and evidence. Sub-agent briefs are written to the standard of “explaining to a colleague who just walked in”: state the goal and context, known facts, and the expected output format.
Skill Inventory¶
All 22 skills are bundled and loaded from this package’s directory at mount time. See NOTICE.md for sources and licenses.
| Group | Skills |
|---|---|
| Entry & engineering baseline (original to this project) | wf-route, wf-project-init, wf-engineering |
| Engineering methods (Matt Pocock skill pack, MIT) | grilling, grill-with-docs, domain-modeling, codebase-design, to-spec, to-tickets, implement, implement-spec, code-review, improve-codebase-architecture, wayfinder, handoff |
| Stack-style loops (dsh-stack, MIT) | st-plan-loop, st-review-loop, st-verify-loop, st-unstick, st-ledger, st-context-reset, st-ready |
Five skills (to-spec, to-tickets, implement, implement-spec, improve-codebase-architecture) are set to disable-model-invocation: true: the model cannot load them autonomously—writing specs, breaking down tickets, and implementing against specs must be initiated by the user. This is the permission-layer enforcement of the deep tier’s “documentation-first, execution-decoupled” principle.
Installation & Activation¶
Installation commands:
dsh plugin --profile web add dsh-oh-my-workflow
dsh plugin --profile web add github:KianWu/dsh-oh-my-workflow # Install from source
After installation, restart DSH and select Workflow (preset id: workflow) from the preset list in new sessions. Requires DeepSeek Harness >=0.2.2-rc.1 <0.2.3-0 and dsh-ops >=0.5.5 <0.6 (peer dependency, auto-resolved during installation).
CLI Tools¶
dsh-oh-my-workflow status # View installation status and default preset pointers per profile
dsh-oh-my-workflow doctor [--fix] [--dry-run] # Detect and fix dangling pointers and residual configuration
dsh-oh-my-workflow uninstall [--dry-run] [--yes]
Typical Usage¶
After selecting the Workflow preset in a new session, the model automatically determines the tier based on the task and explains the reasoning in its first reply. In the fast tier, the model directly modifies and verifies; in the standard tier, it clarifies first then presents a plan; in the deep tier, it completes the spec and plan first, stops before implementation, and waits for the user to confirm execution order. When context approaches the window threshold, the compression engine summarizes the conversation using the preset nine-segment checkpoint while preserving all user messages. In complex tasks, the user can trigger sub-agents or batch delegation; the model retains only the objective, decisions, and integration, while sub-agents return conclusions and evidence.
Use Cases & Notes¶
This plugin is suitable for developers who need to solidify software delivery discipline into a pipeline and want AI-delivered results to be verifiable. Before installing, it is recommended to review the source code and license (MIT). The plugin runs with the current DSH process permissions and depends on the host and peer dependency version ranges—please ensure the environment meets the requirements. Upon uninstallation or deactivation, the plugin resets the default preset pointer to standard only when it points to workflow, avoiding dangling pointers.
Closing¶
dsh-oh-my-workflow packages task grading, method skills, and real verification into a DSH preset, ensuring every session follows the same auditable delivery pipeline. Directory page: https://www.skillhub.cn/plugins/KianWu/dsh-oh-my-workflow; GitHub: https://github.com/KianWu/dsh-oh-my-workflow.