Back to skills
SKILL.md
Feishu Fallback
ASecurity**触发词**: feishuformaterror, markdown_render_failed, card_send_rejected, 飞书发送失败
- 2 stars
- 0 votes
- 0 copies
- 1 view
- Added October 18, 2026
Security analysis
100/100npx -y skills add johnalbertini14-glitch/openclaw-skills --skill feishu-fallback --agent claude-codeAre you the author of Feishu Fallback?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-feishu-fallback)# 飞书消息降级投递
**触发词**: feishuformaterror, markdown_render_failed, card_send_rejected, 飞书发送失败
## 问题
飞书消息发送失败(格式不支持、卡片被拒)
## 解决方案
降级链:富文本 → 卡片 → 纯文本
```javascript
async function sendFeishuWithFallback(message, chatId) {
// 1. 尝试富文本
try {
return await sendRichText(message, chatId);
} catch (e) {
if (!isFormatError(e)) throw e;
}
// 2. 降级到卡片
try {
return await sendCard(message, chatId);
} catch (e) {
if (!isCardError(e)) throw e;
}
// 3. 降级到纯文本
return await sendPlainText(stripMarkdown(message), chatId);
}
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.