seed
它能做什么
这项技能把一组已确定的需求(通常来自访谈)转化为固定的种子规格,智能体可据此构建并进行检查。适合已经决定想要什么、并需要把它写成正式规格的人。
适用场景
- ✓当目标、限制和成功标准已经达成一致时。
- ✓当你刚完成一次访谈,想把结果保存为种子规格时。
- ✓当你希望之后智能体能执行并验证一份规格时。
技能链接
https://github.com/Q00/ouroboros/blob/main/skills/seed/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我们对报表功能已达成一致的需求整理成一份种子规格,并附上清晰的验收标准。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能检查来自访谈或对话的需求,与你确认各项回答,然后生成一份一经冻结便无法更改的种子规格。规格包括目标、约束和验收标准。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/ouroboros:seed
Generate a validated Seed specification from an interview or from requirements this conversation already settled.
Required Skill Capabilities
ask_user (the active runtime's user-question surface), inspect_code, call_mcp, orchestrate_subagents (lateral persona payloads), run_shell (audit-trail and prefs writes), refine_answer (confirm free-form decisions), maintain_ledger (QA scores, candidate decisions, rejected proposals).
Usage
ooo seed [session_id]
/ouroboros:seed [session_id]
Instructions
Python Runtime (Required)
Define this resolver in the same shell before running any shell snippet below, and call ouroboros_python with every argument quoted. It accepts only Python 3.12 or newer and falls back to uv.
ouroboros_python() {
if command -v python3 >/dev/null 2>&1 &&
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python3 -c 'import sys; raise SystemExit(sys.version_info < (3, 12))') >/dev/null 2>&1
then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python3 "$@")
return
fi
if command -v python >/dev/null 2>&1 &&
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python -c 'import sys; raise SystemExit(sys.version_info < (3, 12))') >/dev/null 2>&1
then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python "$@")
return
fi
if command -v uv >/dev/null 2>&1; then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command uv run --no-project --quiet --python '>=3.12' python "$@")
return
fi
printf '%s\n' 'Ouroboros skills require Python >= 3.12 or uv on PATH.' >&2
return 127
}
<!-- ouroboros-python-resolver:end -->
Loading MCP tools (deferred-schema guard)
Ouroboros tools may be deferred, and a schema loaded on one turn can unload by the next. Immediately before each ouroboros_* call, load it with the active runtime's tool-discovery capability: "+ouroboros seed" for ouroboros_generate_seed; "+ouroboros qa" for ouroboros_qa; "+ouroboros lateral" for ouroboros_lateral_think. A call whose schema is not loaded fails with "Invalid tool parameters". If the tool is already callable, discovery is a no-op and an empty result is expected. Use the fallback only when the tool is genuinely absent.
Load ouroboros_generate_seed before choosing a path: if it is callable, use Path A; use Path B only when it is genuinely absent (no Ouroboros MCP server).
Delegated responses are not artifacts. If any tool below returns status: "delegated_to_subagent" (with dispatch_mode: "plugin" and possibly an _subagents array), keep the returned session ID, wait for the plugin-managed subagent results, and parse the artifact (Seed YAML, QA verdict, or persona texts) from those results, never from the envelope or its prompts.
Path A: MCP Mode (Preferred)
Pick the entrance:
session_idgiven, or a recentouroboros_interviewsession ID in the conversation: use the interview session (step 2).- No interview, but THIS conversation already settled the goal, the constraints, and verifiable success criteria (a lateral decision, a brownfield scan, or plain discussion that converged): use the interview-less path below. Do not send the user to
ooo interviewto repeat what they already said. - Otherwise ask the user which interview or requirements to seed.
Interview-less path (
session_context):Tool: ouroboros_generate_seed Arguments: session_context: goal: <the user's own settled wording, verbatim, never your paraphrase> acceptance_criteria: [<verifiable checks: a command, a visible behaviour, a measurable state>] constraints: [<optional>] decisions: [<optional; each becomes a constraint>] project_type: greenfield | brownfieldEvery value enters the Seed byte-for-byte, so shell chains in an AC (
ruff check && pytest) are allowed. If the response hasstatus: "gap_questions_required", ask the user exactly the listed questions, merge the answers intosession_context, and call again; that is the whole interview.Interview session:
Tool: ouroboros_generate_seed Arguments: session_id: <interview session ID>The tool extracts req
常见问题
可以用于模糊的请求吗?
不可以。描述中说明,当请求模糊时,应先进行访谈。
之后还能编辑规格吗?
描述中说明,种子规格生成后即不可更改。
输出里有什么?
输出是一份经过验证的种子规格,包含目标、约束和验收标准。
详情
作者的原始描述
Use when goal, constraints, and success criteria are already settled and the user wants them frozen into a formal spec an agent can execute and verify: 'turn this into a spec', 'write it up as a Seed', or right after an interview. Returns an immutable Seed with acceptance criteria. Not for vague requests (use interview first).
repo: Q00/ouroboros
热度
- GitHub 星标
- 6.3k
- 排名
- #14359
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …