dsh-skill-writing-plans: Making DSH Agents Write Plans Before Acting

Introduction

When using DeepSeek Harness (DSH) to have an Agent write code, build pages, or run experiments, a common approach is to dive right in: the model modifies files and fills in logic as it goes, only providing scattered explanations of “what it plans to do” in the conversation afterwards. The plan has no fixed location, and multi-file tasks can easily lose their structure midway.

dsh-skill-writing-plans (npm package name dsh-skill-writing-plans, current version 0.2.0), published by community maintainer linlin539, is a skill plugin: it registers a skill named plan-first with the host, requiring the Agent to produce a structured implementation plan before starting work, and then decide whether to complete it immediately or ask you to choose an execution method based on complexity. The plugin is categorized as “Model Reasoning” on SkillHub; the repository on GitHub is licensed under MIT.

The following section describes the problems it solves, how to install it, how to use it, and points to note when it coexists with the Trae skill of the same name.

What is this

dsh-skill-writing-plans is a skill plugin for DeepSeek Harness that registers the plan-first skill with the Host via a Cordis patch (the README clarifies: starting from v0.2.0, the skill name is plan-first, not writing-plans).

After installation, for requests involving writing code, building pages, or running experiments, the Agent will write a plan first before executing: simple tasks are completed inline; for complex tasks, the plan is saved and then offers a choice between “Subagent-driven” or “Execute in current session”. The plugin does not come with a UI; it may not be visible in the plugin list on the main interface, as it is the type that only registers a skill without UI components.

Core Features

The verifiable capabilities from the documentation are as follows.

Feature Description
Automatic planning first Requests for writing code, building pages, or running experiments will first produce a plan, without needing a verbal reminder every time
Fixed plan path Plans are written to docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md for easy review and archiving
Tiered by complexity Small requirements (e.g., single file): ~15–30 line plan, single task, executed directly after writing; multi-file, multi-task, or training-type requirements save the plan then ask for the execution method
Executable plans Tasks include specific paths, complete code snippets, executable commands, and expected results; avoids placeholders like TBD, TODO, or “implement later”
Plan only You can use commands like “Just make a plan, don’t write code yet” to only save the document without modifying code
TDD only when testable logic exists TDD loops can be written for scenarios with testable logic such as functions, APIs, data transformations; static pages do not get tests

Disambiguation from Trae’s writing-plans (Important)

If dsh-connect-trae is also installed, the Trae skill directory may contain the original writing-plans from obra/superpowers. When DSH retains only one skill with the same name, the Trae one might register first, causing this plugin’s skill to be silently discarded; editing this plugin’s SKILL.md might also not take effect.

v0.2.0 renames this plugin’s skill to plan-first to allow coexistence:

Trigger Method Skill Used
/plan-first This plugin (Chinese, concise; simple requirements executed directly)
/writing-plans Original Trae version (if integrated via dsh-connect-trae)

Installation and Enablement

The plugin runs with the permissions of the current DSH process; before installing, it is recommended to review the source code and MIT license on the GitHub repository yourself.

npm install dsh-skill-writing-plans

Or add the published package directly in DSH (use this method for the desktop client, as the installation boundary only accepts packages with exact version numbers from npm):

dsh plugin add dsh-skill-writing-plans@0..0

Install from Plugin Marketplace

  1. Open DeepSeek Harness → Plugin Marketplace (the community directory site SkillHub plugin page can be used as an entry reference; it has no official affiliation with DeepSeek / High-Flyer)
  2. Search for plan-first or dsh-skill-writing-plans
  3. Install and restart DSH as prompted

Install from GitHub Source (Standard dsh web / CLI only)

The README explains: After cloning the repository, place it in the packages/dsh-skill-writing-plans directory of the DSH profile you are using, add a link dependency in the profile’s package.json, insert the corresponding patch entry at the end of cordis.patch.yml, and then restart DSH. The desktop client cannot install from a pure GitHub source.

Use Skill File Only

Without installing the full plugin, you can copy assets/plan-first/SKILL.md from the repository to:

  • Project level: {project}/.dsh/skills/plan-first/SKILL.md
  • User level: {DSH_HOME}/skills/plan-first/SKILL.md

Disable or uninstall this package from the plugin marketplace to turn off this behavior.

Update example:

npm install dsh-skill-writing-plans@latest

Check the current version on npm:

npm view dsh-skill-writing-plans version

Typical Usage

To trigger the skill, use /plan-first, not the deprecated /writing-plans (unless you specifically want the original Trae version).

Simple Requirement: Execute immediately after planning

/plan-first Help me write an index.html that displays 'Hello World' in the center of the page

According to the README description, the Agent will declare the use of plan-first, quickly check the workspace, write a ~20-line plan to e.g., docs/superpowers/plans/2026-10-21-hello-world-page.md, and because it is a single step, directly create index.html, explaining the location of the plan file.

Complex Requirement: Save plan then choose execution method

/plan-first Help me implement a student information management system, including CRUD and database

After the plan is saved, it will ask: Subagent-driven (Recommended) (independent subagent per task) or Execute in current session (step-by-step execution with checkpoints).

Generate plan only

/plan-first Just make a plan, don't write code yet

Only writes the plan document, does not modify code.

Example plan document structure (simple requirement): Includes goals, architecture, tech stack, step-by-step tasks, and self-check items; complex plans may contain multiple tasks and include TDD steps when there is testable logic.

Applicable Scenarios and Notes

Who it is for

  • Developers who want to standardize “plan first, then implement” in DSH, with plans archived to docs/superpowers/plans/
  • Teams that need to coexist with Trae’s built-in writing-plans and use /plan-first for a concise Chinese workflow
  • Those who accept that skill plugins have no independent UI and need to confirm loading via the installed list in the plugin marketplace or logs

Notes

  • The old method of triggering this plugin with /writing-plans has been changed to /plan-first
  • The plugin may not appear on the main interface after installation; this is normal
  • Plan files left by old versions in the workspace will not be automatically deleted; if a plan is still verbose, please confirm it is a new file generated by plan-first after restarting DSH
  • The DSH ecosystem philosophy is “everything is a plugin”; installation and execution are still subject to the permissions of the current process, please review dependencies and source code yourself

Conclusion

dsh-skill-writing-plans uses the plan-first skill to integrate “structured implementation planning” into the Agent workflow: less talk for small tasks, selectable execution paths for large tasks, with clear conventions for plan paths and formats in the README. If you are already using dsh-connect-trae, be sure to use /plan-first to align with this plugin to avoid confusion with Trae’s /writing-plans.

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

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

Xiaoye