feishu-card
Installation
SKILL.md
Feishu Card Skill
Send rich interactive cards via Feishu Open API.
⚠️ CRITICAL FORMATTING RULES (READ BEFORE USING)
- Escape Newlines: If using
--textvia CLI, you MUST escape newlines as\\n.- ❌ Wrong:
--text "Line 1\nLine 2"(Shell eats the backslash) - ✅ Right:
--text "Line 1\\nLine 2"
- ❌ Wrong:
- 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.
- ✅ Best:
- Markdown Support: Supports Bold, Italic, Links.
- ⚠️ Code Blocks: Support is limited. Use single backticks `code` for safety.