界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

sending-reactions

sending-reactions

【效率与协作】Emoji reactions and thinking indicators for XMTP agents. Use when adding reactions to messages or showing processing state with thinking emoji. Triggers on emoji reactions, thinking indicator, or message acknowledgment.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: sending-reactions description: Emoji reactions and thinking indicators for XMTP agents. Use when adding reactions to messages or showing processing state with thinking emoji. Triggers on emoji reactions, thinking indicator, or message acknowledgment. license: MIT metadata: author: xmtp version: "1.0.0"

XMTP reactions

Send and receive emoji reactions, including thinking indicator patterns.

When to apply

Reference these guidelines when:

  • Reacting to user messages with emoji
  • Showing processing/thinking state
  • Receiving and handling reactions
  • Implementing acknowledgment patterns

Rule categories by priority

PriorityCategoryImpactPrefix
1SendHIGHsend-
2ReceiveHIGHreceive-
3PatternsMEDIUMpatterns-

Quick reference

Send (HIGH)

  • send-reaction - Send emoji reactions to messages

Receive (HIGH)

  • receive-reaction - Handle incoming reactions

Patterns (MEDIUM)

  • patterns-thinking - Thinking indicator pattern

Quick start

// Send a reaction
await ctx.conversation.sendReaction({
  reference: ctx.message.id,
  action: "added",
  content: "👍",
  schema: "unicode",
});

// Thinking indicator pattern
await ctx.conversation.sendReaction({
  reference: ctx.message.id,
  action: "added",
  content: "⏳",
  schema: "unicode",
});

// Process...

await ctx.conversation.sendReaction({
  reference: ctx.message.id,
  action: "removed",
  content: "⏳",
  schema: "unicode",
});

How to use

Read individual rule files for detailed explanations:

rules/send-reaction.md
rules/receive-reaction.md
rules/patterns-thinking.md
我的收藏