feishu-card

Solid

发送飞书互动卡片(Card JSON 2.0)。当需要让飞书用户填写表单、做选择、确认操作、或查看 结构化数据时,发送交互卡片代替纯文字问答。需要 feishu-cards 插件工具: feishu_send_card / feishu_send_form / feishu_update_card。

Data & Documents 3,964 stars 1088 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## 触发场景 **发卡片** 而非纯文字的情况: - 需要用户做选择(按钮/下拉/人员选择等) - 需要用户填写表单(输入框 + 提交按钮) - 需要展示结构化数据(表格、图表、多列布局) - 需要确认高风险操作(确认/取消双按钮) - 需要提供快速操作入口(按钮组) **纯文字**:简单回复、解释说明、无需交互时,无需发卡片。 --- ## 工具说明 | 工具 | 用途 | 主要参数 | |------|------|---------| | `feishu_send_card` | 发送卡片消息 | `chat_id` / `user_id`,`card`(JSON字符串) | | `feishu_send_form` | 发送含表单容器的卡片 | 同上,card 内须含 `form` 组件 | | `feishu_update_card` | 更新已发卡片内容 | `token`(回调中获取),`card`(新JSON) | --- ## 卡片顶层结构 ```json { "schema": "2.0", "config": { ... }, "card_link": { "url": "..." }, "header": { ... }, "body": { "elements": [ ... ] } } ``` ### config 字段速查 | 字段 | 默认值 | 说明 | |------|--------|------| | `streaming_mode` | false | 流式更新模式 | | `enable_forward` | true | 是否可转发 | | `update_multi` | true | 共享卡片(JSON 2.0 仅支持 true) | | `width_mode` | default(600px) | `compact`(400px) / `fill`(撑满) | | `enable_forward_interaction` | false | 转发后是否仍可交互 | | `summary.content` | - | 自定义聊天栏预览文案 | ### header 字段速查 | 字段 | 说明 | 枚举/格式 | |------|------|---------| | `title.tag` | 标题文本类型 | `plain_text` / `lark_md` | | `title.content` | 主标题内容 | 字符串,最多4行 | | `subtitle.content` | 副标题内容 | 字符串,最多1行 | | `template` | 标题栏颜色 | `blue` `wathet` `turquoise` `green` `yellow` `orange` `red` `carmine` `violet` `purple` `indigo` `grey` `default` | | `icon.tag` | 图标类型 | `standard_icon` / `custom_icon` | | `icon.token` | 图标库token | 如 `chat_outlined` | | `text_tag_list[].color` | 后缀标签颜色 | `neutral` `blue` `turquoise` `lime` `orange` `violet` `indigo` `wathet` `green` `yellow` ...

Details

Author
openclaw
Repository
openclaw/skills
Created
4 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

claude-design-card

将任意文本、网页或 URL 生成符合 Claude/Anthropic 设计语言的 HTML 信息卡片,通过 Playwright 截图为 PNG。 支持 14 种格式:平台封面(公众号、视频号、B站、抖音)、图文内容卡(小红书、教程、对比分析)、 社交分享卡(金句、数据、方形)、长文编辑排版(Broadsheet、Feature、Reader、Digest)。 当用户提到「信息卡、卡片、封面、图文笔记、排版、截图、生成图、内容卡」时使用本技能。

324 Updated 3 days ago
geekjourneyx
Data & Documents Listed

card-creator

Create knowledge cards from user input. Automatically detects card type if not specified, then fills in the appropriate template and saves to 04_Knowledge/00_Cards/. Use this whenever the user wants to create a knowledge card, note, or atomic piece of content for their knowledge base—even if they don't explicitly mention "cards" or "templates". Keywords: create card, new card, add note, save to cards, knowledge card, card from...

20 Updated 4 days ago
jexchan
Web & Frontend Solid

card-xiaohongshu

小红书风格知识卡片, 多张联排可滑动浏览

5,466 Updated 2 days ago
nexu-io
Web & Frontend Featured

deck-swiss-international

16 列网格 + 单一饱和 accent + 22 个锁死版面 (Klein Blue / Lemon / Mint / Safety Orange)

5,466 Updated 2 days ago
nexu-io
Web & Frontend Solid

card-twitter

推特金句 / 数据卡, 适合配推文

5,466 Updated 2 days ago
nexu-io