Skip to content
Development
Command

/cancel-ralph

取消活動中的 Ralph 循環

From plugin
claude-plugin-marketplace
2614 skills18 agents14 commands
Install
$ npx -y skills add DennisLiuCk/claude-plugin-marketplace --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cancel-ralph

Context preview

What this command does when you run it.

取消活動中的 Ralph 循環

Command definition

cancel-ralph.md
description: "取消活動中的 Ralph 循環"
allowed-tools: ["Bash(test -f .claude/ralph-loop.local.md:*)", "Bash(rm .claude/ralph-loop.local.md)", "Read(.claude/ralph-loop.local.md)"]
hide-from-slash-command-tool: "true"

取消 Ralph

要取消 Ralph 循環:

1. 使用 Bash 檢查 `.claude/ralph-loop.local.md` 是否存在:`test -f .claude/ralph-loop.local.md && echo "EXISTS" || echo "NOT_FOUND"`

2. **如果 NOT_FOUND**:說「沒有找到活動的 Ralph 循環。」

3. **如果 EXISTS**:

  • 讀取 `.claude/ralph-loop.local.md` 以獲取 `iteration:` 欄位中的當前迭代次數
  • 使用 Bash 刪除檔案:`rm .claude/ralph-loop.local.md`
  • 報告:「已取消 Ralph 循環(之前在第 N 次迭代)」,其中 N 是迭代值
Ships withclaude-plugin-marketplace

專為繁體中文使用者設計的 Claude Code 插件集合,提供開發、生產力、安全與學習等工具。

Get the whole plugin, auto-invoked
Stats
26
Stars
1
Views
5
Forks
Maintained
Maintenance
Python
Language
5mo ago
Last commit
8mo ago
Created

Repo: DennisLiuCk/claude-plugin-marketplace