feishu-card
от autogame-17
PDF & DocumentsКратко
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
Write the JavaScript snippet to temp/msg.md using the write tool
- 2
Run send.js with --target oc_abc123, --text-file temp/msg.md, and --title 'Code Snippet'
- 3
Feishu API receives the card payload with the Markdown-rendered code block
- 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 — любой кодинг-агент, которым пользуетесь.