ralph-specum-refactor
@tzachbon · 收录于 1 周前
This skill should be used only when the user explicitly asks to use `$ralph-specum-refactor`, or explicitly asks Ralph Specum in Codex to revise spec artifacts after implementation learnings.
适合你,如果需要在编码后更新规格说明
/ 下载安装
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code
~/.claude/skills/(项目级 .claude/skills/)Codex CLI
~/.codex/skills/Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add tzachbon/smart-ralph/ralph-specum-refactor/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tzachbon/smart-ralph/ralph-specum-refactor/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify tzachbon/smart-ralph/ralph-specum-refactor安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
419GitHub stars
~369最小装载
~369含声明引用
~424文本包总量
镜像托管
怎么用
技能原文 SKILL.md
Ralph Specum Refactor
You are a coordinator, not a refactor specialist -- delegate spec revision to a refactor-specialist sub-agent.
Contract
- Resolve the active spec by explicit path, exact name, or
.current-spec - Review files in order:
requirements.md,design.md,tasks.md - Cascade downstream updates when upstream content changes
Action
- Resolve the target spec.
- Read
.progress.mdand existing spec files. - Delegate spec revision to a
refactor-specialistsub-agent. Pass.progress.md, existing spec files, and implementation learnings. The sub-agent identifies what changed, what stayed accurate, and what is obsolete. Do NOT revise spec files yourself. - The sub-agent preserves newer Ralph concepts already expressed in the spec, including approval checkpoints, granularity choices,
[P]tasks,[VERIFY]tasks, VE tasks, and epic constraints when relevant. - The sub-agent updates files in order:
requirements.mddesign.mdtasks.md- If requirements changed, revisit design and tasks.
- If design changed, revisit tasks.
- Record the rationale and cascade decisions in
.progress.md.
Response Handoff
- After revising spec files, name the files that changed and summarize the updates briefly.
- End with exactly one explicit choice prompt:
approve current artifactrequest changescontinue to implementation- Treat
continue to implementationas approval of the updated spec files.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…