تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

feishu-card

بواسطة autogame-17

PDF & Documents
1.8kالتنزيلات وفق ما يذكره clawskills.sh
3النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Send rich interactive cards to Feishu (Lark) users or groups.

الوصف

ما الذي تفعله هذه المهارة

Sends rich interactive cards to Feishu (Lark) users or group chats. Supports Markdown content including code blocks and tables, color-coded headers, action buttons, and image embeds. Includes persona variants that apply themed formatting automatically.

Avoids silent corruption of Markdown content by routing complex messages through temp files instead of relying on shell string escaping, which silently drops backticks and code blocks.

متى تستخدمها

  • Send a formatted code review summary with syntax-highlighted snippets to a team group
  • Alert a channel about a deployment failure with a red-header card
  • Share structured logs or stack traces to a specific user's Feishu inbox
  • Post a weekly report with a table to a Feishu group chat
  • Notify teammates with themed persona messages for different alert severity levels

مثال على سير العمل

الإدخال

User asks: Send this JS snippet to the dev group oc_abc123: console.log('hello world')

الوكيل
  1. 1

    Write the JavaScript snippet to temp/msg.md using the write tool

  2. 2

    Run send.js with --target oc_abc123, --text-file temp/msg.md, and --title 'Code Snippet'

  3. 3

    Feishu API receives the card payload with the Markdown-rendered code block

  4. 4

    Confirm delivery via API response

الإخراج

A formatted Feishu card appears in the dev group with a rendered code block and blue header

المتطلبات

  • Feishu (Lark) account with access to the target users or group chats
  • Feishu Open Platform app credentials (App ID and App Secret) for API authentication

التثبيت

clawhub install autogame-17/feishu-card

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط