插件目录 / Developer / dsh-goal-scaffold
dsh-goal-scaffold
已验证 · 实测可装 zriyox
功能简介
一句话大需求先别急着跑:拦一下问你要不要先规划,自动生成带验收清单的 plan.md 再开工 — DeepSeek Harness 插件 / Catches one-sentence mammoth tasks and scaffolds plan.md + a capped goal first
可用 — 实测通过,早期项目
一句话大需求先别急着跑:拦一下问你要不要先规划,自动生成带验收清单的 plan.md 再开工 — DeepSeek Harness 插件 / Catches one-sentence mammoth tasks and scaffolds plan.md + a capped goal first 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-goal-scaffold
English | 中文
What it does, in one sentence: when you drop a huge one-liner like "build me a complete task management system", this plugin asks you "want to plan it first?" — before the agent burns twenty minutes improvising.
Without it, a mammoth one-sentence request goes straight to work: no plan, no acceptance criteria, and nobody can tell whether it's drifting. With goal-scaffold installed, the first such message in a session gets a gentle interception:
you send a big vague task
→ a three-option prompt pops up:
① Plan first (Recommended) ② Just start ③ Don't ask again this session
→ pick ①: your request goes through, and the agent is told to first write
plan.md (a checklist where every item has a verifiable acceptance
criterion), create a goal with a round cap, show you the plan — then
execute item by item, ticking boxes as it goes
You stay the boss of one click; the agent does the disciplined rest. Pairs with dsh-verify-judge, which makes the final "done" require passing tests.
Install
dsh plugin --profile web add github:zriyox/dsh-goal-scaffold
# or a local checkout:
dsh plugin --profile web add /absolute/path/to/dsh-goal-scaffold
Behavior notes
- Asks at most once per session. "Don't ask again" silences it; so does any answer, until a new session.
- Headless-safe: where no user-questions channel exists (e.g. the
headlessprofile), every message passes through untouched — nothing blocks, nothing errors. - Human messages only: goal-driver continuations, plugin injections, and tool artifacts never trigger detection.
- Fail-open on dismissal: if you dismiss the question to type something else, your original message proceeds as-is.
Configuration
- id: goal-scaffold
config:
enabled: true # master switch
minLength: 80 # minimum message length that participates in detection
extraSignals: ['迁移'] # extra case-insensitive scope phrases
Development
pnpm install
pnpm run build # tsc → lib/
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-goal-scaffold」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:zriyox/dsh-goal-scaffold Headless(CLI)profile:
dsh plugin --profile headless add github:zriyox/dsh-goal-scaffold 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。