跳到正文
TakoAPI
返回技能列表

feishu-card

由 autogame-17 提供

PDF & Documents
1.8k下载量由 clawskills.sh 提供
3星标
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接