一键导入
requirements-interview
Mandatory step-0 requirements discovery for non-trivial work before any implementation or SDD routing decisions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mandatory step-0 requirements discovery for non-trivial work before any implementation or SDD routing decisions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mandatory thoth-mem workflow contract for orchestrator/subagent memory ownership, parent session_id/project dispatch, prompt-save prohibitions, project-scoped read tools, session-summary ownership, and durable observation rules. Use whenever work mentions thoth-mem, persistent memory, orchestrator/subagents, session_id, project, saved prompts, session summaries, or project-level memory context.
Execute SDD task lists with real-time progress tracking, sub-agent dispatch, and verification checkpoints.
Review SDD task plans for execution blockers and return [OKAY] or [REJECT].
Generate phased `tasks.md` checklists from specs and design.
Repository understanding and hierarchical codemap generation
Execute assigned SDD tasks and return structured implementation results.
| name | requirements-interview |
| description | Mandatory step-0 requirements discovery for non-trivial work before any implementation or SDD routing decisions. |
| metadata | {"author":"oh-my-opencode-lite","version":"1.0"} |
Use this skill as the mandatory step-0 entry point for non-trivial requests. The goal is requirement clarity, scope calibration, and a user-approved handoff path before implementation begins.
~/.config/opencode/skills/_shared/openspec-convention.md~/.config/opencode/skills/_shared/persistence-contract.md~/.config/opencode/skills/_shared/thoth-mem-convention.mdquestion tool for user-input
prompts.(Recommended) in that label.Other option manually; rely on custom: true unless custom
input must be disabled.multiple: true only when multiple simultaneous selections are genuinely
valid.@explorer for codebase context. Dispatch @librarian
only when the request involves external APIs, dependency versions, library
migration, or public documentation.question tool.Evaluate these 6 dimensions. Rate each as Low, Medium, or High:
| Dimension | Low | Medium | High |
|---|---|---|---|
| Logic depth | Copy, CSS, rename, simple wiring | Localized behavior tweak, validation, one workflow step | Algorithm, state-machine, or business-rule rewrite with many invariants |
| Contract sensitivity | Presentation only, internal refactor | User-visible behavior change in one flow | API, schema, data model, migration, auth, privacy, or public contract |
| Context span | Can be done in one bounded pass | Several dependent edits or choices to coordinate | Many sequential steps where earlier decisions must be remembered |
| Discovery need | Request and acceptance criteria are already clear | Some ambiguity, a few viable approaches | Goal is clear but solution requires investigation or tradeoff analysis |
| Failure cost | Mistakes are obvious and cheap to revert | Needs integration or regression checks | Subtle correctness bugs, customer-facing, data, or compliance impact |
| Concern coupling | Single concern | Two related concerns | Multiple independent concerns that could conflict |
question tool to confirm the preferred approach before moving on.Present:
Then wait for explicit user confirmation.
Use the question tool for this approval gate.
Nothing proceeds without explicit approval in this phase. The user is the sole approver during requirements discovery. Do not request oracle review here.
Recommend a route based on the complexity assessment, then wait for the user to confirm it:
Direct implementation — when all of:
Accelerated SDD (propose -> tasks) — when:
Full SDD (propose -> spec -> design -> tasks) — when any of:
Quick decision heuristics:
Before any SDD generation starts, present the artifact store policy choice:
How would you like to persist planning artifacts?
1. none — No persistence. Ephemeral exploration, privacy-sensitive work, or when no backend is available. Results are inline only and not saved across sessions.
2. thoth-mem — Memory only. Lightest token cost. No repo files.
3. openspec — Repo files only. Visible and reviewable.
4. hybrid — Both. Maximum durability, higher token cost.
Default: hybrid
Collect this choice with the question tool rather than plain prose.
When the user selects a mode that includes OpenSpec (openspec or hybrid),
verify that openspec/ is initialized. If it is not, recommend running
sdd-init before proceeding:
~/.config/opencode/skills/sdd-init/SKILL.md
Once route, persistence mode, and initialization are confirmed, hand off to the corresponding SDD pipeline phase. The handoff MUST include:
pipeline-type: accelerated or full (matching the confirmed route)persistence-mode: the user's chosen artifact store modechange-name: derived from the approved scopeHand off to:
~/.config/opencode/skills/sdd-propose/SKILL.md~/.config/opencode/skills/sdd-spec/SKILL.md~/.config/opencode/skills/sdd-design/SKILL.md~/.config/opencode/skills/sdd-tasks/SKILL.mdDo not silently choose the handoff route or artifact store mode. Recommend, ask, and wait.