feishu-card

Send rich interactive cards to Feishu (Lark) users or groups. Supports Markdown (code blocks, tables), titles, color headers, and buttons.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "feishu-card" with this command: npx skills add ypyt1/all-skills/ypyt1-all-skills-feishu-card

Feishu Card Skill

Send rich interactive cards via Feishu Open API.

⚠️ CRITICAL FORMATTING RULES (READ BEFORE USING)

  1. Escape Newlines: If using --text via CLI, you MUST escape newlines as \\n.
    • ❌ Wrong: --text "Line 1\nLine 2" (Shell eats the backslash)
    • ✅ Right: --text "Line 1\\nLine 2"
  2. Prefer File Input: For any content longer than one line, ALWAYS use --text-file.
    • ✅ Best: echo "Line 1\nLine 2" > msg.md && node send.js ... --text-file msg.md
    • This avoids ALL shell escaping issues.
  3. Markdown Support: Supports Bold, Italic, Links.
    • ⚠️ Code Blocks: Support is limited. Use single backticks `code` for safety.

Usage

# Via argument (Simple)
node skills/feishu-card/send.js --target "ou_..." --text "Hello **World**"

# Via file (Recommended for Reports/Long Text)
cat <<EOF > msg.md
**Status**: Ready
**Details**:
- Item 1
- Item 2
EOF
node skills/feishu-card/send.js --target "ou_..." --title "Report" --text-file msg.md
rm msg.md

Options

  • -t, --target: User Open ID (ou_...) or Group Chat ID (oc_...).
  • -x, --text: Markdown content.
  • -f, --text-file: Read markdown from file.
  • --title: Card header title.
  • --color: Header color (blue, red, green, etc.).
  • --button-text: Add a bottom button.
  • --button-url: Button URL.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

desktop-app-dev

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review-assistant

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

sonoscli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

react-native-dev

No summary provided by upstream source.

Repository SourceNeeds Review