Agent Skills
› tzachbon/smart-ralph
› ralph-specum-cancel
ralph-specum-cancel
GitHub用于停止 Ralph Specum 执行或移除规范。支持按路径或名称定位目标,读取状态文件总结进度。默认安全取消仅删除状态文件保留规范;全量删除需确认并清理目录及当前指针,同时保护 Epic 规划文件。
触发场景
用户明确要求使用 $ralph-specum-cancel
要求 Ralph Specum 停止执行
要求移除 spec
安装
npx skills add tzachbon/smart-ralph --skill ralph-specum-cancel -g -y
SKILL.md
Frontmatter
{
"name": "ralph-specum-cancel",
"metadata": {
"action": "cancel",
"surface": "helper"
},
"description": "This skill should be used only when the user explicitly asks to use `$ralph-specum-cancel`, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec."
}
Ralph Specum Cancel
Use this to stop execution and optionally remove a spec.
Contract
- Resolve the target by explicit path, exact name, or
.current-spec - Always clear execution state when the user wants to stop execution
- Confirm before deleting a spec directory
- Do not guess on ambiguous names
Action
- Resolve the target spec. If none exists, report that there is nothing to cancel.
- Read
.ralph-state.jsonwhen present and summarize the current phase and progress. - Safe cancel is the default. Delete
.ralph-state.jsononly and keep the spec files unless the user asked for full removal. - If the user wants full removal, confirm first, then delete the spec directory and clear
.current-specwhen it points to that spec. - If the removed spec belongs to the active epic, keep epic files intact unless the user explicitly asked to remove epic planning too.
- Report exactly what was removed.
版本历史
- 1b33202 当前 2026-07-05 09:17


