返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

sending-reactions

用于XMTP代理的表情符号反应和思考指示器。在对消息添加反应或使用思考表情显示处理状态时使用。触发于表情符号反应、思考指示器或消息确认。

person作者: jakexiaohubgithub

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

| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Send | HIGH | send- | | 2 | Receive | HIGH | receive- | | 3 | Patterns | MEDIUM | patterns- |

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