Smart-ralph ralph-specum-cancel

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.

install
source · Clone the upstream repo
git clone https://github.com/tzachbon/smart-ralph
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tzachbon/smart-ralph "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/ralph-specum-codex/skills/ralph-specum-cancel" ~/.claude/skills/tzachbon-smart-ralph-ralph-specum-cancel && rm -rf "$T"
manifest: plugins/ralph-specum-codex/skills/ralph-specum-cancel/SKILL.md
source content

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 and clear
    .current-spec
    when it points to that spec.
  5. If the removed spec belongs to the active epic, keep epic files intact unless the user explicitly asked to remove epic planning too.
  6. Report exactly what was removed.