Reaction action protocol

From KarryViber/Orb · View interactive version

Reaction action protocol is an AI agent skill from the GitHub repository KarryViber/Orb. Reaction quick-reply 信号统一协议——✅/👉/🚀/🔄/✋/👀 六个 reaction(以及对应文字打「收工 / 继续 / 派吧 / 换条思路 / 先停一下 / 展开看看」)触发后的语义解读 + 动作链。✅ 收工含完整 SOP(自测 → commit → 清过程产物 → 报告)。Use when reaction inject 触发 / 用户文字命中其中关键词 / 多步任务自评估走收尾 / cron 自动 wrap-up。🔥 rerun 不在此 skill 范围(adapter 硬编码)。

How to use this skill

Skill file

触发机制

对 bot 消息(Orb 最后一条回复)打 reaction,等价于在 thread 发同名文字指令——adapter 自动转 inject 注入 worker:

| Reaction | Slack name | 等价文字 |

|---|---|---|

| ✅ | white_check_mark | 收工 |

| 👉 | point_right | 继续 |

| 🚀 | rocket | 派吧,干 |

| 🔄 | arrows_counterclockwise | 换条思路 |

| ✋ | hand | 先停一下 |

| 👀 | eyes | 展开看看 |

| 🔥 | fire | rerun(effort:xhigh,单独路径) |

对非 bot 消息的 reaction 被静默忽略;同一 reaction 30s 内去重。

触发场景

任意以下条件命中即召回:

信号 → 动作

✅ 「收工」— 完整 SOP

Step 1: 自测

Step 2: Commit

Step 3: 清过程产物

| 类别 | 典型路径 | 处理 |

|---|---|---|

| 临时 spec | specs/<name>.md 已落地的 | mv 到 specs/_archive/<YYYY-MM>/ |

| Debug 输出 | /tmp/*.log, console.log / print 调试代码 | rm tmp 文件 / git diff 检查未删 debug print |

| Dry-run 输出 | *-DRYRUN.md, *.dry-run.json | 评估归档或 rm |

| 中间 patch | *.patch, *.diff, git stash 残留 | rm / git stash drop |

| 测试报告 | audit-reports/, *.report.json 临时态 | 评估归档或 rm |

| 备份文件 | *.bak, *.last, *.legacy sibling | 先 grep 源码确认无运行时引用再 rm |

Step 4: 报告

✅ 收工
- commits: <hash1> <hash2> ...
- 自测: <跑了什么 / 结果>
- 清理: <清掉的文件清单 / 归档路径>
- 残留: <主动留下的产物 + 原因>

👉 「继续」— 推进信号

🚀 「派吧 / 干」— 批量放权信号

🔄 「换条思路」— 框架级重审

✋ 「先停一下」— 暂停信号

👀 「展开看看」— 细节展开

🔥 rerun — 不在此 skill 范围

Gotchas

失败处理

相关 skill

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.