插件目录 / Developer / dsh-specflow
dsh-specflow
已验证 · 实测可装 lonelymoon87
功能简介
dsh-specflow — DSH 插件(工具)
可用 — 实测通过,早期项目
dsh-specflow — DSH 插件(工具) 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-specflow
Specification-driven development for DeepSeek Harness, built from native skills, commands, goals, tools, and runtime context.
The installable v0.1.2 release targets DSH 0.1.0-rc.6. This project currently distributes prebuilt packages through GitHub Releases and is not published on npm.
Why SpecFlow
SpecFlow keeps requirements, design decisions, and task progress in reviewable workspace files instead of relying on one chat's memory. A durable DSH goal represents the whole specification, while tasks.md remains the authoritative record for individual work items.
The MVP provides:
- five portable skills:
constitution,specify,plan-spec,tasks, andimplement; - four discoverable UI commands:
/specify,/plan-spec,/tasks, and/implement; - a
specflow_statustool that reads checkbox progress fromtasks.md; - goal creation and explicit resume for
/implement; - active goal and task progress in DSH runtime context;
- templates for
spec.md,plan.md, andtasks.md.
Artifact protocol
.dsh/
├── memory/
│ └── constitution.md
└── specs/
└── 001-example-feature/
├── spec.md
├── plan.md
└── tasks.md
The spec directory is the durable source of truth. SpecFlow does not add a required custom session event or maintain a second hidden task database.
Install
The package currently targets the DSH 0.1.0-rc.6 plugin APIs and Node.js ^22.19 || >=24.
dsh plugin --profile web add https://github.com/lonelymoon87/dsh-specflow/releases/download/v0.1.2/dsh-specflow-0.1.2.tgz
The release tarball is prebuilt and needs no build allowance. A pinned source install is also supported:
dsh plugin --profile web add github:lonelymoon87/dsh-specflow#v0.1.2
The source install runs this package's prepare build. pnpm 10 and later reject it until the profile allowlists the exact package key printed by the failed command; apply that instruction and rerun the same dsh plugin add command. Replace web with headless to install into the one-shot agent profile.
To upgrade, rerun dsh plugin add with the newer release URL. To uninstall:
dsh plugin --profile web remove dsh-specflow
After installation, start DSH with the same profile and use:
/constitution Require focused tests for every behavior change
/specify Add resumable exports to the CLI
/plan-spec 001-resumable-exports
/tasks 001-resumable-exports
/implement 001-resumable-exports
Configuration
The bundle inserts the plugin with defaults. A profile may configure the plugin entry directly:
- id: specflow
name: dsh-specflow
config:
specsDir: .dsh/specs
autoInjectContext: true
specsDir may be workspace-relative or absolute. autoInjectContext controls only the model-facing progress snapshot; it does not change goal or artifact behavior.
Design constraints
- Exports are named only; no default export is mixed into the Loader module.
- All registry contributions use the owning DSH service's effect-backed
register()method. - Commands enqueue an explicit user skill invocation so the skill loader remains the single owner of method instructions.
/implementrefuses to replace an unrelated active goal.- Task completion is counted only from Markdown checkbox lines.
Release evidence
- The v0.1.2 tarball installs directly from its HTTPS release URL into a clean DSH profile.
- The packed bundle and pinned GitHub source install both appear in
dsh --dump-config. - CI covers Node 22.19 and Node 24; a scheduled workflow repeats the real install against
@deepseek-ai/dsh@latest. - Bugs and compatibility reports are tracked in GitHub Issues.
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-specflow」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:lonelymoon87/dsh-specflow Headless(CLI)profile:
dsh plugin --profile headless add github:lonelymoon87/dsh-specflow 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。
适合谁
想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。
二次开发建议
工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。