通知威康
- 作者仓库星标 0
- 作者更新于 2026年8月24日 07:33
- 作者仓库 claude-code-skills
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @daymade · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 读取环境变量
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
/notify-wecom 服务上线成功 🚀
/notify-wecom 告警:build 失败,请检查
/notify-wecom 今日同步完成,0 缺失 0 滞后
# /notify-wecom
Send a single message to a WeCom group bot.
## Usage
```
/notify-wecom Claude Code 备份完成 ✅
```
The skill reads the webhook URL from the shared config file:
```
~/.config/setup-notifications-via-wecom/config.json
```
If the config is missing, it prints the one-line setup command and stops.
## Prerequisite
This skill is a lightweight companion to `setup-notifications-via-wecom`. Either:
- Install `setup-notifications-via-wecom` first (recommended — it provides the webhook setup steps and its bundled sender), or
- Create the config file manually as shown below.
## What It Does
1. Reads `~/.config/setup-notifications-via-wecom/config.json` for `webhook_url`.
2. Unsets all local proxy env vars (Tencent endpoints must be reached directly).
3. Sends the message via the WeCom webhook using the sender from `setup-notifications-via-wecom` (or an equivalent inline curl call).
4. Reports success or the exact WeCom error.
## Examples
```
/notify-wecom 服务上线成功 🚀
/notify-wecom 告警:build 失败,请检查
/notify-wecom 今日同步完成,0 缺失 0 滞后
```
## Multi-line Messages
For multi-line messages, wrap in triple quotes or use a file:
```
/notify-wecom "第一行
第二行
第三行"
```
## Failure Modes
- **Config missing**: Run the setup step from `setup-notifications-via-wecom`, or create the config file manually.
- **Webhook key invalid**: WeCom returns an `errcode`; the skill prints it.
- **Proxy still interfering**: If you have proxy vars set outside the standard names, unset them first.
## Limitations
- Plain text only. No markdown cards, images, or @mentions.
- Message length limit is 4096 bytes (UTF-8).
- No templating — use `setup-notifications-via-wecom` for structured backup/alert/status messages.
章节与文件索引
按说明文件中的顺序排列。
用途
先决条件
它的作用
多行消息
失效模式
文件/命令 -> setup-notifications-via-wecom · ~/.config/setup-notifications-via-wecom/config.json · webhook_url · errcode
内容校验值 -> b4f1e8751485
当前原文的自动摘译,尚未人工审校。
用途
该技能从共享配置文件中读取 webhook URL:如果配置丢失,它将打印一行设置命令并停止。
先决条件
该技能是
setup-notifications-via-wecom的轻量级伴侣。要么:首先安装setup-notifications-via-wecom(推荐 - 它提供了 Webhook 设置步骤及其捆绑的发送器),或者手动创建配置文件,如下所示。它的作用
将
~/.config/setup-notifications-via-wecom/config.json读作webhook_url。取消设置所有本地代理环境变量(必须直接到达腾讯端点)。使用来自setup-notifications-via-wecom的发送者(或等效的内联curl调用)通过WeCom webhook发送消息。报告成功或确切的 WeCom 错误。多行消息
对于多行消息,请用三引号括起来或使用文件:
失效模式
配置丢失:从
setup-notifications-via-wecom运行设置步骤,或手动创建配置文件。 Webhook 密钥无效:WeCom 返回errcode;技能会打印它。代理仍然干扰:如果您在标准名称之外设置了代理变量,请先取消设置它们。