Skip to content
Back to skills

Feishu Card

ASecurity

Feishu card JSON 2.0 for feishu_send_card - card shape, header colors, components (markdown, table, column_set, img, button, hr) and local images. Read before sending a custom Feishu card.

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
developmentgoapi

Works with

  • api

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add yoqu/gonggong-space --skill feishu-card --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feishu Card?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feishu Card
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yoqu-feishu-card/badge)](https://www.skillsdirectory.com/skills/yoqu-feishu-card)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: feishu-card
description: Feishu card JSON 2.0 for feishu_send_card - card shape, header colors, components (markdown, table, column_set, img, button, hr) and local images. Read before sending a custom Feishu card.
---

# Feishu cards (JSON 2.0)

Only for `feishu_send_card`; ordinary replies reach Feishu by themselves. JSON 2.0 rejects properties it does not support, so stick to what is listed here. Write the card's text in the chat's language.

## Shape

```json
{
  "schema": "2.0",
  "header": {
    "title": { "tag": "plain_text", "content": "部署完成" },
    "subtitle": { "tag": "plain_text", "content": "luke-server → test" },
    "template": "green"
  },
  "body": { "elements": [] }
}
```

- `schema: "2.0"` is required. Elements stack top to bottom in array order.
- `template`: blue, wathet, turquoise, green, yellow, orange, red, carmine, violet, purple, indigo, grey, default.

## Components

- **markdown** `{"tag":"markdown","content":"**粗体** [链接](https://…)"}`: headings `#`–`######`, lists (`-`, `1.`, 4 spaces per level), links (http/https only), `<font color=green>…</font>`, `<at id=all></at>`, code blocks, `>` quotes, `---` dividers. Its tables page after 5 rows and allow 4 per component: use **table** beyond that.
- **table** `{"tag":"table","page_size":5,"columns":[{"name":"svc","display_name":"服务","data_type":"text","width":"auto"}],"rows":[{"svc":"api"}]}`: `data_type` is text, lark_md, options, number, persons, date or markdown; each row maps column `name` to its value.
- **column_set** `{"tag":"column_set","flex_mode":"none","columns":[{"tag":"column","width":"weighted","weight":1,"elements":[…]}]}`: `width` auto, weighted (`weight` 1–5) or 16–600px; `flex_mode` none, stretch, flow, bisect, trisect.
- **img** `{"tag":"img","img_key":"chart","alt":{"tag":"plain_text","content":""}}`: `alt` is required; `scale_type` crop_center, crop_top or fit_horizontal.
- **button** `{"tag":"button","text":{"tag":"plain_text","content":"查看日志"},"type":"primary","behaviors":[{"type":"open_url","default_url":"https://…"}]}`: `type` default, primary, danger, text, primary_text, danger_text, primary_filled, danger_filled, laser.
- **hr** `{"tag":"hr"}`.

## Local images

Write a placeholder as the `img_key` (such as `"chart"`) and map it in the tool's `images`: `{"chart": "out/chart.png"}` (workspace paths, at most 10, 10 MB each). The tool uploads them and fills in the real keys. Render a chart to PNG first to show it.

## Example

```json
{
  "schema": "2.0",
  "header": { "title": { "tag": "plain_text", "content": "周报 · 支付服务" }, "template": "blue" },
  "body": {
    "elements": [
      { "tag": "markdown", "content": "本周上线 **3** 个需求,<font color=red>1 个回滚</font>。" },
      {
        "tag": "table",
        "page_size": 5,
        "columns": [
          { "name": "item", "display_name": "需求", "data_type": "text", "width": "auto" },
          { "name": "state", "display_name": "状态", "data_type": "text", "width": "auto" }
        ],
        "rows": [{ "item": "退款对账", "state": "已上线" }, { "item": "分账", "state": "已回滚" }]
      },
      { "tag": "img", "img_key": "trend", "alt": { "tag": "plain_text", "content": "" } },
      { "tag": "hr" },
      {
        "tag": "button",
        "text": { "tag": "plain_text", "content": "查看详情" },
        "type": "primary",
        "behaviors": [{ "type": "open_url", "default_url": "https://example.com/report" }]
      }
    ]
  }
}
```

with `images: {"trend": "out/trend.png"}`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.