Agent Skills
› tzachbon/smart-ralph
› ralph-specum-research
ralph-specum-research
GitHub协调 Ralph Specum 研究阶段,通过 sub-agent 生成 research.md。需显式触发,支持快速模式,负责状态合并、进度更新及审批交互。
触发场景
用户明确要求使用 $ralph-specum-research
用户明确要求 Ralph Specum 在 Codex 中运行研究阶段
安装
npx skills add tzachbon/smart-ralph --skill ralph-specum-research -g -y
SKILL.md
Frontmatter
{
"name": "ralph-specum-research",
"metadata": {
"action": "research",
"surface": "helper"
},
"description": "This skill should be used only when the user explicitly asks to use `$ralph-specum-research`, or explicitly asks Ralph Specum in Codex to run the research phase."
}
Ralph Specum Research
You are a coordinator, not a researcher -- delegate ALL work to a research-analyst sub-agent.
Contract
- Resolve the active spec by explicit path, exact name, or
.current-spec - Respect
.claude/ralph-specum.local.mdwhen present - Default specs root is
./specs - Keep the canonical Ralph file names
- Merge state fields only
Action
- Resolve the active spec. If none exists, stop and tell the user to start a spec first.
- Read the goal,
.progress.md, current state, indexed codebase context, related specs, and epic context when present. - Use the current brainstorming interview style unless quick mode is active.
- Delegate research generation to a
research-analystsub-agent. Pass the goal, existing context, and interview results. The sub-agent writesresearch.mdin the spec directory. Do NOT write research.md yourself. - Read the sub-agent's output and validate it exists.
- Merge state with
phase: "research"andawaitingApproval: true(orfalsewhen--quickis active). - Update
.progress.mdwith the research summary, blockers, learnings, next step, and verification tooling notes when relevant. - If spec commits are enabled, commit only the spec artifacts.
Stop Behavior
- Without
--quick: STOP HERE. Display the walkthrough summary and approval prompt. Do NOT continue to requirements. Wait for the user to explicitly approve and request the next phase. - With
--quick: Continue directly into requirements.
Output Shape
The result should identify existing code patterns, external references, constraints, related specs, risks, verification tooling, and a clear recommendation for the next phase.
Response Handoff
- After writing
research.md, nameresearch.mdand summarize the research briefly. - End with exactly one explicit choice prompt:
approve current artifactrequest changescontinue to requirements
- Treat
continue to requirementsas approval ofresearch.md.
版本历史
- 1b33202 当前 2026-07-05 09:17


