DeepSHPlugins
dsh-specflow 项目预览
GITHUB / COMMUNITY PROJECT

dsh-specflow

Agent 与自动化TypeScriptMIT

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

4 Starslonelymoon87 更新时间 2026-08-21
访问 GitHub 仓库
dsh-specflow 项目预览

项目介绍

中文

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

English

Adds specification artifacts, skills, commands, goal-backed implementation, and task-progress context.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
lonelymoon87
仓库
lonelymoon87/dsh-specflow
GitHub Stars
4
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-08-21
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

60/ 100
维护活跃
86
文档与实用信息
85
生态关注度
20
安装便捷信号
100
项目声明信号
100

近 21 天仍在更新;README 含完整安装与使用说明;关注度尚低(4)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:lonelymoon87/dsh-specflow

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-specflow

SpecFlow turns durable specifications into resumable DeepSeek Harness work

CI Latest DSH compatibility npm Release License

Turn an idea into a reviewable specification, implementation plan, task list, and resumable DeepSeek Harness goal.

SpecFlow stores the work in the repository instead of one conversation. A later session can read the same artifacts, recover the next unchecked task, and resume the matching durable DSH goal.

The v0.1.4 release is live on npm and tested with DSH 0.1.0-rc.8 and 0.1.1-rc.1 while retaining the rc.6-compatible peer range.

简体中文

Quick start

dsh plugin --profile web add dsh-specflow
dsh web

In a DSH session, enter /specflow to see the workflow. A complete run uses these commands:

/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

After a restart or a new session, recover the durable state without reconstructing the conversation:

/specflow 001-resumable-exports
/implement 001-resumable-exports
flowchart LR
  Idea["Feature idea"] --> Specify["/specify"]
  Specify --> Spec["spec.md"]
  Spec --> Plan["/plan-spec → plan.md"]
  Plan --> Tasks["/tasks → tasks.md"]
  Tasks --> Implement["/implement"]
  Implement --> Goal["Durable DSH goal"]
  Goal --> Verify["Verify task → check tasks.md"]
  Verify -->|next task| Implement
  Goal -->|new session| Resume["/specflow → /implement"]

See examples/001-resumable-export for a complete artifact set paused at 2/4 tasks.

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.

SpecFlow provides:

  • five portable skills: constitution, specify, plan-spec, tasks, and implement;
  • six discoverable UI commands: /specflow, /constitution, /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.

Permissions and data

  • SpecFlow reads tasks.md through the mounted DSH filesystem service. Its skills may ask the agent to create or update files under .dsh/memory/ and .dsh/specs/ through the profile's normal tool and approval policy.
  • When autoInjectContext is enabled, the active goal and the most recently observed task counts become model-visible runtime context.
  • The plugin does not make network requests, resolve credentials, transmit telemetry, or register a custom durable session event.

Install

The package supports the DSH >=0.1.0-rc.6 <0.2.0 plugin APIs and Node.js ^22.19 || >=24.

dsh plugin --profile web add dsh-specflow

To pin the current release or install without npm resolution, use the prebuilt GitHub Release tarball:

dsh plugin --profile web add https://github.com/lonelymoon87/dsh-specflow/releases/download/v0.1.4/dsh-specflow-0.1.4.tgz

The release tarball needs no build allowance. A pinned source install is also supported:

dsh plugin --profile web add github:lonelymoon87/dsh-specflow#v0.1.4

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:

/specflow
/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

/specflow <NNN-slug> reports the durable checkbox progress, next task, artifact path, and exact resume command. The same status is available to the agent through specflow_status.

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.4 tarball installs directly from its HTTPS release URL into clean DSH 0.1.0-rc.8 and 0.1.1-rc.1 profiles.
  • The same prebuilt package is published as dsh-specflow and installs through the public npm registry.
  • The packed bundle and pinned GitHub source install both appear in dsh --dump-config.
  • CI covers Node 22.19 and Node 24; a compatibility matrix repeats the real install against DSH 0.1.0-rc.8 plus the latest and next npm tags.
  • Bugs and compatibility reports are tracked in GitHub Issues.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目