返回 Skill 列表
extension
分类: 开发与工程无需 API Key

cancel-ralph

取消一个正在运行的Ralph循环。当用户想要停止、取消或中止正在运行的ralph循环时使用。

person作者: jakexiaohubgithub

Cancel Ralph

Trigger

The user wants to cancel or stop an active Ralph loop.

Workflow

  1. Check if .cursor/ralph/scratchpad.md exists.

  2. If it does not exist: Tell the user "No active Ralph loop found."

  3. If it exists:

    • Read .cursor/ralph/scratchpad.md to get the current iteration from the iteration: field.
    • Remove the state file and any done flag:
      rm -rf .cursor/ralph
      
    • Report: "Cancelled Ralph loop (was at iteration N)."

Output

A short confirmation with the iteration count, or a message that no loop was active.