Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

feishu-card

bởi autogame-17

PDF & Documents
1.8kLượt tải do clawskills.sh công bố
3Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • 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

Cài đặt

clawhub install autogame-17/feishu-card

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết