lonelymoon87/dsh-specflow

Specification-driven development toolkit for DeepSeek Harness.

Bundle 已验证 MIT TypeScript v0.1.2
Bundle 已验证

已收录

2

Workflow

Bundle 已验证

版本v0.1.2
语言TypeScript
许可证MIT
在 GitHub 查看

预览

第 1 个预览,共 2 个:lonelymoon87/dsh-specflow
第 2 个预览,共 2 个:lonelymoon87/dsh-specflow

功能介绍

增加规格工件、技能、命令、由 goal 驱动的实施流程和任务进度上下文。

适合

  • 希望把需求、设计决策和实施任务保存为可审查工作区文件的团队。
  • 受益于持久 goal、显式恢复和 Markdown 复选框进度上下文的长期功能开发。

不适合

  • 不值得维护规格、计划和任务工件的小型临时任务。
  • 需要 `/implement` 替换无关活动 goal,或不通过 Markdown 复选框行记录完成状态的工作流。

README

dsh-specflow

CI Latest DSH compatibility Release License

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, and implement;
  • four discoverable UI commands: /specify, /plan-spec, /tasks, and /implement;
  • a specflow_status tool that reads checkbox progress from tasks.md;
  • goal creation and explicit resume for /implement;
  • active goal and task progress in DSH runtime context;
  • templates for spec.md, plan.md, and tasks.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.
  • /implement refuses 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

MIT

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:lonelymoon87/dsh-specflow。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。