dshbase

插件目录 / UI & Skins / SpecWorkflow

SpecWorkflow

已验证 · 实测可装 MoonCoder-HAPPY

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-16最近推送
跨平台平台

功能简介

Workflow skill pack for DSH: requirements, specs, implementation, review, repair, bugs, and research

✅
我们的评价
可用 — 实测通过,早期项目

Workflow skill pack for DSH: requirements, specs, implementation, review, repair, bugs, and research 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

SpecWorkflow

English | 中文

SpecWorkflow is a shareable workflow skill pack for DeepSeek Harness and other Agent Skills-compatible tools. It gives an agent a disciplined path from a rough request to requirements, an implementation spec, code execution, delivery review, repair planning, bug diagnosis, and source-backed research.

It is intentionally not a heavy process for every request. Small, concrete edits can stay direct; ambiguous, cross-module, product-facing, data, permission, API, or release-sensitive work gets promoted into the full workflow.

SpecWorkflow Architecture

What It Does

Stage Skill What it handles
Research deep-research Source-backed investigation against docs, APIs, standards, code, or other primary sources.
1 to-grill Requirement grilling, ambiguity removal, risk review, and the direct-fix vs full-workflow decision.
2 to-spec Implementation-ready specs, amendments, acceptance criteria, validation plans, and optional tickets.
3 spec-do Execution from an approved spec, issue set, amendment, or repair plan.
4 do-review Final delivery review against request, spec, code, evidence, and acceptance criteria.
5 fix-review Repair specs and repair tickets for must-fix review findings.
Debug bugs-fix Reproduction, root-cause diagnosis, repair, and fix evidence for bugs or regressions.

Install

DSH

dsh plugin --profile web add specworkflow
dsh web

Other Agents

npx specworkflow install codex

Install globally with -g:

npx specworkflow install -g codex

Replace codex with another preset when needed:

Input Project install Global install with -g
codex, openai, agents, agent, agent-skills, agents-md, goose, zed, amp, sourcegraph-amp .agents/skills ~/.agents/skills
gemini, gemini-cli, antigravity, google-antigravity .agents/skills ~/.gemini/antigravity/skills
claude, claude-code, claudecode .claude/skills ~/.claude/skills
cursor, cursor-agent, cursor-native .cursor/skills ~/.cursor/skills
copilot, github-copilot, vscode, vs-code .github/skills ~/.github/skills
dsh, deepseek, deepseek-harness .dsh/skills ~/.dsh/skills
opencode, open-code .opencode/skills ~/.opencode/skills
windsurf, cascade .windsurf/skills ~/.windsurf/skills
cline, claudine .cline/skills ~/.cline/skills
roo, roo-code, roocode .roo/skills ~/.roo/skills
qwen, qwen-code, qwencode .qwen/skills ~/.qwen/skills
kiro .kiro/skills ~/.kiro/skills
kilo, kilo-code, kilocode .kilo/skills ~/.kilo/skills
augment, augment-code, augmentcode, auggie .augment/skills ~/.augment/skills
openclaw, claw skills ~/.openclaw/skills

Unknown plain names are rejected so a typo does not create the wrong folder. For unsupported agents, pass an explicit project-level skills path:

npx specworkflow install .my-agent/skills

With -g, relative explicit paths are resolved from your home directory.

Quick Start

Typical feature work:

Use to-grill to clarify this request, then move to to-spec when the requirement is ready.

Simple edits should stay simple:

Make the table font larger.

SpecWorkflow should route that kind of request to direct implementation instead of forcing the full five-stage path.

Workflow

SpecWorkflow does not start by writing a spec. It starts by deciding whether the request deserves one. Small, obvious work such as copy edits, style tweaks, or a missing guard should stay direct.

The full route is for work with product meaning, data semantics, permission boundaries, cross-module impact, release risk, or enough ambiguity that guessing would be expensive. Once a request enters the route, keep its artifacts under one .spec-workflow/<feature-slug>/ folder so every later pass has the same source of context.

to-grill -> to-spec -> spec-do -> do-review -> fix-review -> spec-do repair -> do-review

to-grill turns a vague request into something solid. It should inspect the repo before asking questions, separate facts the code can answer from decisions only the user can make, and decide whether the work should be direct, deferred, or promoted into a spec. When it hands off, it leaves a requirements conclusion that the next stage can actually use.

to-spec turns that conclusion into an implementation contract. A useful spec names the scope, the non-goals, the affected modules, the data and permission rules, the user-visible behavior, and the evidence that will prove the work is done. If the task is changing an existing spec, it records the amendment and its impact instead of pretending the work starts from a blank page.

spec-do is the first stage that should touch production code. It checks the branch, dirty worktree, and auto-commit permission before implementation, then works from the approved spec, tickets, amendment, or repair plan. Temporary evidence can live under .spec-workflow, but durable tests belong in the project's own test tree. Business logic should be wired for real, not mocked away just to make a validation run pass.

When implementation claims to be finished, do-review decides whether that claim holds. It compares the original request, spec, code diff, tests, and evidence, then looks for missed requirements, regressions, edge cases, and acceptance gaps. Review is not a quiet repair pass and not a place to expand scope; its job is a clear ship / no-ship judgment.

If the review finds must-fix issues, fix-review turns them into a focused repair plan. It cares about root cause, priority, verification, and whether the repair should be split into tickets. That plan goes back to spec-do, and the repair returns to do-review. The loop stays short: repair what blocks delivery, then review again.

deep-research and bugs-fix sit beside the main route rather than inside it. Reach for deep-research when the answer depends on primary sources, official docs, API behavior, standards, or external facts. Start with bugs-fix when the problem is already a failure, regression, exception, or performance issue; reproduce first, then diagnose the root cause.

Goal Mode is a continuous-execution switch for one spec at a time. Once the user explicitly enables it, the agent can move through implementation, review, repair planning, repair implementation, and another review without pausing at every handoff. It is not unlimited permission: product choices, safety concerns, git decisions, validation gaps, environment problems, and scope changes still stop the run.

Directory Output

SpecWorkflow keeps workflow files under .spec-workflow so project code and agent evidence stay separate.

.spec-workflow/<feature-slug>/
  requirements.md
  spec.md
  issues/
  amendments/
  implementation/
  review/
  repair-spec.md
  repair-issues/
  verification/
  debug/
  bugs/
  research/

Project tests still belong in the project's real test directories, not under .spec-workflow.

Verify

After installing into DSH:

dsh --profile web --dump-config

The composed config should include:

# == specworkflow
- id: specworkflow
  name: specworkflow

You can also ask the agent which SpecWorkflow skills are available and when to use to-grill.

Uninstall

dsh plugin --profile web remove specworkflow

Replace web with the profile you installed into.

License

MIT. See LICENSE.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 SpecWorkflow」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:MoonCoder-HAPPY/SpecWorkflow

Headless(CLI)profile:

dsh plugin --profile headless add github:MoonCoder-HAPPY/SpecWorkflow

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →