Cancel Ralph

作者 cursorccb5507cec15無授權條款10K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop.

AI 產生的概覽

透過刪除狀態檔案並回報所處迭代次數,停止正在執行的 Ralph Loop。

功能
此技能用於取消正在執行的 Ralph Loop。它會檢查狀態檔案 .cursor/ralph/scratchpad.md 是否存在;若不存在,則回報未發現作用中的迴圈。若存在,則從 iteration 欄位讀取目前迭代次數,刪除 .cursor/ralph 目錄及任何完成旗標,並回報已取消與迭代次數。
適用情境
當使用者想要停止、取消或中止正在執行的 Ralph 迴圈時使用。僅適用於目前工作區可能有作用中 Ralph Loop 的情況。
執行需求
不隨附指令碼,僅為指示。需要存取工作區檔案系統,以檢查並刪除 .cursor/ralph 目錄。

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:
      bash
      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.

來源與署名

來源:cursor/plugins位於ralph-loop/skills/cancel-ralph提交ccb5507

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架