ralph-specum-cancel

仓库创建 2026年1月12日最近提交 4 天前SkillHot 收录 21 天前
▸ 精选理由

用于强制停止或清理执行状态,含删除确认。

▸ 风险提示

可能删除磁盘上的 spec 目录,需确认权限。

这个 Skill 做什么

停止当前 Spec 执行并可选择删除对应规格目录。

用来终止正在运行的规格执行并可选删除对应目录。会根据明确路径、精确名称或 .current-spec 定位目标,结束时清除执行状态并在删除前做确认。遇到名称不明确不会随意猜测,保证不误删除重要内容。

▸ 展开 SKILL.md 英文原文

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.

开发编程取消执行规格管理危险操作Codex
431
Stars
37
Forks
30
仓库内 Skill
+16
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tzachbon/smart-ralph/main/plugins/ralph-specum-codex/skills/ralph-specum-cancel/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tzachbon/smart-ralph/main/plugins/ralph-specum-codex/skills/ralph-specum-cancel/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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

1. Resolve the target spec. If none exists, report that there is nothing to cancel.
2. Read `.ralph-state.json` when present and summarize the current phase and progress.
3. Safe cancel is the default. Delete `.ralph-state.json` only and keep the spec files unless the user asked for full removal.
4. If the user wants full removal, confirm first, then delete the spec directory
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有