need-explorer
GitHub用于在创建代码制品前澄清意图、范围和约束,将模糊需求转化为稳定的变更定义。通过单步提问和方案对比确定问题、目标及成功标准,为后续开发提供明确依据。
Trigger Scenarios
Install
npx skills add MageByte-Zero/spec-superflow --skill need-explorer -g -y
SKILL.md
Frontmatter
{
"name": "need-explorer",
"description": "Clarify intent, scope, constraints, and success criteria before artifact creation. Invoke when the request is fuzzy, the user is comparing options, or the workflow needs a stable change definition before writing artifacts."
}
Need Explorer
Bundled runtime
Before executing a CLI line below, replace its leading SSF with node "<plugin-root>/scripts/spec-superflow.mjs"; <plugin-root> is the absolute directory two levels above this file. Never run SSF literally or call an ssf from PATH.
Workflow routing
A new request follows this file without loading legacy instructions. For an existing change, inspect the recorded state and receipt/plan (available through SSF workflow show <change-dir> --json and SSF execution show <dir> --json when needed). Current paths are workflow_variant: direct with a valid workflow-selection receipt schema_version: 3, or workflow_variant: planned with an execution plan schema_version: 2. Older receipts (schema 1/2), legacy plans and other recorded variants use the matching section of SSF runtime asset read docs/legacy-workflow.md; follow that section for this change. A direct variant alone is insufficient: legacy Quick/Hotfix/Lightweight can also record it. The internal workflow: full value alone is not a legacy signal. Missing or corrupt state, receipt or a required plan is a recovery problem; preserve evidence rather than reinitialize or downgrade the change.
Turn a rough idea into a stable change definition before writing artifacts.
Primary Goal
Agree on: problem, scope, non-goals, success criteria, whether to split before specification.
Process
1. Inspect Context First
Before asking questions, understand what exists and what constraints are in place.
2. One Question at a Time
Ask a single clear question, wait for the answer, digest, then ask the next. Never ask 3+ questions at once. Each answer informs the next question.
3. Prefer Multiple-Choice Questions
Present 2-3 options when reasonable answers are finite. This reduces cognitive load and surfaces unconsidered choices.
4. Propose 2-3 Approaches with Trade-Offs
For each approach: what it is, upside, downside, best-for. Then recommend one and explain why. Never present a single path — always name at least one alternative.
5. Finish with a concrete scope
Summarize the problem, scope, non-goals, success criteria and decomposition decision for spec-writer. Reuse decisions already supplied by the user. Resolve missing material decisions, then hand off to spec-writer to draft proposal.md and tasks.md together; the concrete plan has one approval, handled by workflow-start. Exploration does not create a separate approval receipt.
Completion
Leave a usable change name, problem statement, scope, non-goals, success criteria and decomposition decision. Self-check contradictions and placeholders. Do not implement code during exploration. On interruption, resume from existing decisions and the unanswered question.
Version History
-
fb5d4d5
Current 2026-11-02 11:12
重构了工作流路由逻辑,分离旧版恢复机制与v2技能路径;新增对workflow receipt schema版本及legacy plan的兼容性检查,并优化了状态保存与恢复流程。
-
25d9b0c
2026-09-27 12:49
新增捆绑运行时执行说明,规范CLI命令替换方式以确保插件脚本正确调用。
-
10d5f08
2026-09-22 02:00
简化DP-1时间戳命令格式,移除不必要的date参数调用。
- fd8cf86 2026-08-04 19:02
-
9105098
2026-08-02 21:57
DP-1状态设置命令移除了npx包安装前缀,直接调用ssf命令。
- 1970fe7 2026-07-30 20:20


