技能备份 - 2026-04-15 (40个技能)

This commit is contained in:
root
2026-04-15 18:53:15 +08:00
parent f62f14814f
commit c65fce24e4
791 changed files with 190773 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# Feishu Post (RichText) Skill
Send Rich Text (Post) messages to Feishu.
This format is distinct from Cards. It supports native rich text elements but is less flexible in layout than cards.
It is better for long-form text mixed with images/links.
## Prerequisites
- Install `feishu-common` first.
- This skill depends on `../feishu-common/index.js` via `utils/feishu-client.js`.
## Features
- **Native Emoji Support**: Automatically converts `[微笑]`, `[得意]` etc. to Feishu native emoji tags.
- **Markdown-like Parsing**: Supports simple newlines and paragraphs.
- **Rich Text**: Uses Feishu's Post content structure.
## Usage
```bash
node skills/feishu-post/send.js --target "ou_..." --text-file "temp/msg.md" --title "Optional Title"
```
## Options
- `-t, --target <id>`: Target ID (user `ou_...` or chat `oc_...`).
- `-x, --text <text>`: Text content (supports `\n` for newlines and `[emoji]` tags).
- `-f, --text-file <path>`: Read content from file.
- `--title <text>`: Title of the post.
- `--reply-to <id>`: Message ID to reply to.
## Emoji List
Supported emojis include: `[微笑]`, `[色]`, `[亲亲]`, `[大哭]`, `[强]`, `[加油]`, and many more.
See `emoji-map.js` for the full mapping.