dsh-prompt-studio: DeepSeek Harness Prompt and Preset Evolution Workbench

Preface

In the development workflow of DeepSeek Harness, adjusting an Agent’s System Prompt or skill presets often lacks objective justification: after making changes, it’s difficult to determine whether the agent has become smarter or whether it has compromised code formatting or security.

dsh-prompt-studio is a professional prompt engineering and regression evaluation tool for DeepSeek Harness. It introduces version control and automated testing into the development workflow.

Core Features

Real-time Editing and Draft Workspace

Provides a real-time token estimation and syntax-friendly editing environment, with support for saving draft states, facilitating fine-tuning before publishing.

Git-style Version Timeline

Each modification generates a snapshot, recording commit messages and timestamps, and supports one-click rollback to any historical version, ensuring prompt changes are traceable and recoverable.

Golden Test Regression Test Suite

Provides pre-built test cases (such as coding, reasoning, refactoring, and security boundaries), offering objective scoring and time-consumption statistics for prompt performance before deployment, avoiding the introduction of regression issues.

Dynamic Cordis Injection

Supports dynamically injecting the currently active prompt version into the Agent’s system instruction chain, taking effect without restarting the DSH host process.

Installation and Activation

Install the plugin using the CLI command:

dsh plugin --profile web add dsh-prompt-studio

Typical Usage

  1. Open Settings → Prompt Studio ⚡.
  2. Edit system instructions in the Prompt Editor, then click Commit & Create Snapshot.
  3. Switch to the Golden Bench tab and run regression tests against standard coding and security prompts.
  4. If the new version introduces issues, switch to Version History and click Rollback to This to restore the previous stable baseline.

Notes

  • This plugin depends on @deepseek-ai/cordis version ^4.0.1.
  • The dynamic injection feature takes effect at the host runtime; no service restart is required after modifying configurations.
  • The license is MIT.

Summary

By introducing version control and automated testing, dsh-prompt-studio addresses the pain points of prompt engineering management in the DSH ecosystem, making iteration of Agent presets more controllable. For plugin details, please refer to the GitHub repository.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye