send-wecom-msg

Solid

Send a WeCom message to a user via the wecom CLI. Use when the user wants to send a WeCom message, notify someone, or communicate via WeCom.

AI & Automation 93 stars 12 forks Updated 4 days ago Apache-2.0

Install

View on GitHub

Quality Score: 85/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

<objective> Send WeCom messages to any user using the `wecom send` CLI command (`@webank/wecom`). Automatically detects structured content and uses markdown formatting when appropriate. Helps draft messages with formatting guidance before sending. </objective> <quick_start> Send a message to a user: ```bash wecom send --to-user USERID --message "Hello from the team" --session-id ${CLAUDE_SESSION_ID} ``` Send a markdown message: ```bash wecom send --to-user USERID --message "**Bold** and `code`" --msg-type markdown --session-id ${CLAUDE_SESSION_ID} ``` If `wecom` is not in PATH, use `npx wecom` or the full path from `WECOM_CLI_PATH`. </quick_start> <workflow> 1. **Verify CLI version**: Before any send operation, check the installed CLI version: ```bash wecom --version ``` Expected: `1.2.0` or higher. If the version is lower, advise the user to update: ```bash npm install -g @webank/wecom@latest ``` If `wecom` is not found, check `npx wecom --version` or `${WECOM_CLI_PATH} --version`. If the CLI is not installed at all, advise the user to install it: ```bash npm install -g @webank/wecom ``` 2. **Determine intent**: Is the user asking to send immediately or draft first? 3. **Extract recipient**: Identify the target user ID from the user's request 4. **Build the message**: - If the user provides a message, use it as-is - If drafting, help format the message and confirm before sending 5. **Detect markdown**: If the message contains a...

Details

Author
ai-dvps
Repository
ai-dvps/comate
Created
3 months ago
Last Updated
4 days ago
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category