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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案