[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M771AY83JVE5YDXPBFG6ZPAN":3,"skill-same:01M771AY83JVE5YDXPBFG6ZPAN":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M771AY83JVE5YDXPBFG6ZPAN","china-notification-service",null,"Implement multi-channel notification services for Chinese applications using WeChat Template Messages, WeChat Subscription Messages, SMS (Alibaba Cloud\u002FTencent Cloud), DingTalk Bot, Feishu Bot, and Email. Teach AI agents how to build unified notification dispatch systems, handle rate limits, implement priority-based routing, and ensure delivery compliance. Covers: unified notification dispatch interface, WeChat template\u002Fsubscription messages, SMS via Chinese cloud providers, enterprise IM bot notifications (DingTalk\u002FFeishu), and notification compliance and rate limiting. Triggers on: 中国通知服务, china notification service, 微信模板消息, wechat template message, 微信订阅消息, wechat subscription message, 短信通知, SMS notification china, 钉钉机器人通知, dingtalk bot notification, 飞书机器人通知, feishu bot notification, 多渠道通知, multi-channel notification, 通知分发, notification dispatch, 消息推送, message push china, 通知合规, notification compliance","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fchina-notification-service\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: china-notification-service\ndescription: \"Implement multi-channel notification services for Chinese applications using WeChat Template Messages, WeChat Subscription Messages, SMS (Alibaba Cloud\u002FTencent Cloud), DingTalk Bot, Feishu Bot, and Email. Teach AI agents how to build unified notification dispatch systems, handle rate limits, implement priority-based routing, and ensure delivery compliance. Covers: unified notification dispatch interface, WeChat template\u002Fsubscription messages, SMS via Chinese cloud providers, enterprise IM bot notifications (DingTalk\u002FFeishu), and notification compliance and rate limiting. Triggers on: 中国通知服务, china notification service, 微信模板消息, wechat template message, 微信订阅消息, wechat subscription message, 短信通知, SMS notification china, 钉钉机器人通知, dingtalk bot notification, 飞书机器人通知, feishu bot notification, 多渠道通知, multi-channel notification, 通知分发, notification dispatch, 消息推送, message push china, 通知合规, notification compliance\"\n---\n\n# China Notification Service - 中国通知服务专家\n\nYou are an expert at building multi-channel notification systems for Chinese applications. You handle the unique challenges of notification delivery in China: WeChat message limits, SMS provider integration, and enterprise IM bot configuration.\n\n## Core Philosophy\n\n**One notification, multiple channels, smart routing.** Different messages need different delivery channels. Urgent → SMS + DING. Important → WeChat + Feishu. Informational → Email + DingTalk. You build the routing logic.\n\n## Channel Comparison\n\n| Channel | Delivery Guarantee | Speed | Cost | Best For |\n|---------|-------------------|-------|------|----------|\n| SMS | ⭐⭐⭐⭐⭐ | \u003C5s | ¥0.04\u002F条 | Verification codes, urgent alerts |\n| WeChat Template | ⭐⭐⭐⭐ | \u003C10s | Free | Order updates, status changes |\n| WeChat Subscribe | ⭐⭐⭐ | \u003C10s | Free | Content updates, reminders |\n| DingTalk Bot | ⭐⭐⭐⭐ | \u003C3s | Free | Team notifications, alerts |\n| Feishu Bot | ⭐⭐⭐⭐ | \u003C3s | Free | Team notifications, reports |\n| Email | ⭐⭐ | \u003C30s | Free | Reports, newsletters, receipts |\n\n## Workflow 1: Unified Notification Dispatch\n\n### Architecture\n```\nApp Event → Notification Service → Channel Router → Channel Adapter → User\n                                      ↓\n                              Priority Check\n                              Rate Limiter\n                              Compliance Check\n                              Template Engine\n```\n\n### Implementation\n```javascript\nclass NotificationService {\n  constructor() {\n    this.channels = {\n      sms: new SMSChannel(),\n      wechat_template: new WeChatTemplateChannel(),\n      wechat_subscribe: new WeChatSubscribeChannel(),\n      dingtalk: new DingTalkBotChannel(),\n      feishu: new FeishuBotChannel(),\n      email: new EmailChannel()\n    }\n  }\n\n  async send(notification) {\n    const { userId, type, priority, channels, template, data } = notification\n    \n    \u002F\u002F 1. Check rate limits\n    await this.checkRateLimit(userId, type)\n    \n    \u002F\u002F 2. Resolve user channel preferences\n    const targetChannels = this.resolveChannels(userId, priority, channels)\n    \n    \u002F\u002F 3. Render template with data\n    const rendered = await this.renderTemplate(template, data)\n    \n    \u002F\u002F 4. Send to each channel\n    const results = await Promise.allSettled(\n      targetChannels.map(ch => this.channels[ch].send(userId, rendered))\n    )\n    \n    \u002F\u002F 5. Log delivery status\n    await this.logDelivery(userId, type, results)\n    \n    return results\n  }\n\n  resolveChannels(userId, priority, preferredChannels) {\n    \u002F\u002F Priority-based routing\n    if (priority === 'urgent') return ['sms', 'dingtalk', 'feishu']\n    if (priority === 'high') return ['wechat_template', 'dingtalk']\n    if (priority === 'normal') return preferredChannels || ['wechat_template', 'email']\n    if (priority === 'low') return ['email']\n    \n    return preferredChannels || ['wechat_template']\n  }\n}\n```\n\n## Workflow 2: WeChat Template Messages\n\n### Setup\n1. 登录 mp.weixin.qq.com → 模板消息\n2. 选择或创建模板（需审核）\n3. 获取 template_id\n\n### Send Template Message\n```javascript\nasync function sendWeChatTemplate(openid, templateId, data) {\n  const accessToken = await getAccessToken()\n  \n  const result = await axios.post(\n    `https:\u002F\u002Fapi.weixin.qq.com\u002Fcgi-bin\u002Fmessage\u002Ftemplate\u002Fsend?access_token=${accessToken}`,\n    {\n      touser: openid,\n      template_id: templateId,\n      \u002F\u002F url: 'https:\u002F\u002Fyour-app.com\u002Forder\u002F123',  \u002F\u002F Optional click URL\n      \u002F\u002F miniprogram: { appid: 'xxx', pagepath: 'pages\u002Findex' },  \u002F\u002F Or mini program\n      data: {\n        first: { value: '您有一笔新订单', color: '#173177' },\n        keyword1: { value: data.orderId },\n        keyword2: { value: data.productName },\n        keyword3: { value: data.amount },\n        keyword4: { value: data.time },\n        remark: { value: '点击查看详情' }\n      }\n    }\n  )\n  \n  return result.data.errcode === 0\n}\n```\n\n### WeChat Subscription Messages (Mini Program)\n```javascript\n\u002F\u002F 1. Request user subscription (frontend)\nwx.requestSubscribeMessage({\n  tmplIds: ['template_id_1', 'template_id_2'],\n  success: (res) => {\n    \u002F\u002F res['template_id_1'] === 'accept' | 'reject'\n  }\n})\n\n\u002F\u002F 2. Send subscription message (backend)\nasync function sendSubscribeMessage(openid, templateId, page, data) {\n  const accessToken = await getAccessToken()\n  \n  return axios.post(\n    `https:\u002F\u002Fapi.weixin.qq.com\u002Fcgi-bin\u002Fmessage\u002Fsubscribe\u002Fsend?access_token=${accessToken}`,\n    {\n      touser: openid,\n      template_id: templateId,\n      page: page,  \u002F\u002F 'pages\u002Forder\u002Fdetail?id=123'\n      data: {\n        thing1: { value: data.productName },  \u002F\u002F 20 chars max\n        amount2: { value: data.amount },\n        time3: { value: data.time },\n        thing4: { value: data.remark }        \u002F\u002F 20 chars max\n      }\n    }\n  )\n}\n```\n\n### ⚠️ WeChat Limits\n- Template messages: No limit on count, but users must have interacted in last 48h\n- Subscription messages: User must explicitly subscribe (one-time consent)\n- Each subscription = one message send (must re-subscribe for next)\n\n## Workflow 3: SMS via Chinese Cloud Providers\n\n### Alibaba Cloud SMS\n```javascript\nconst Core = require('@alicloud\u002Fpop-core')\n\nconst client = new Core({\n  accessKeyId: process.env.ALI_ACCESS_KEY,\n  accessKeySecret: process.env.ALI_ACCESS_SECRET,\n  endpoint: 'https:\u002F\u002Fdysmsapi.aliyuncs.com',\n  apiVersion: '2017-05-25'\n})\n\nasync function sendSMS(phone, signName, templateCode, templateParam) {\n  return client.request('SendSms', {\n    PhoneNumbers: phone,\n    SignName: signName,           \u002F\u002F Must be pre-approved\n    TemplateCode: templateCode,   \u002F\u002F Must be pre-approved\n    TemplateParam: JSON.stringify(templateParam)\n  }, { method: 'POST' })\n}\n\n\u002F\u002F Examples\nawait sendSMS('+8613800138000', '我的应用', 'SMS_123456', { code: '123456' })\nawait sendSMS('+8613800138000', '我的应用', 'SMS_789012', { name: '张三', amount: '99.00' })\n```\n\n### Tencent Cloud SMS\n```javascript\nconst tencentCloud = require('tencentcloud-sdk-nodejs')\nconst smsClient = tencentCloud.sms.v20210111.Client\n\nconst client = new smsClient({\n  credential: {\n    secretId: process.env.TC_SECRET_ID,\n    secretKey: process.env.TC_SECRET_KEY\n  },\n  region: 'ap-guangzhou'\n})\n\nasync function sendSMS(phone, templateId, params) {\n  return client.SendSms({\n    SmsSdkAppId: process.env.TC_SMS_APP_ID,\n    SignName: '我的应用',\n    TemplateId: templateId,\n    TemplateParamSet: params,\n    PhoneNumberSet: [`+86${phone}`]\n  })\n}\n```\n\n## Workflow 4: Enterprise IM Bot Notifications\n\n### DingTalk Bot (Webhook)\n```javascript\nasync function sendDingTalk(webhookUrl, message) {\n  \u002F\u002F Text message\n  await axios.post(webhookUrl, {\n    msgtype: 'text',\n    text: { content: message }\n  })\n  \n  \u002F\u002F Markdown message\n  await axios.post(webhookUrl, {\n    msgtype: 'markdown',\n    markdown: {\n      title: 'Alert Title',\n      text: '## Alert\\n\\n**Service**: API Server\\n**Status**: Down\\n**Time**: 2026-05-26 18:00'\n    }\n  })\n  \n  \u002F\u002F ActionCard message\n  await axios.post(webhookUrl, {\n    msgtype: 'actionCard',\n    actionCard: {\n      title: 'Order Alert',\n      text: 'New order received!',\n      btnOrientation: '1',\n      singleTitle: 'View Order',\n      singleURL: 'https:\u002F\u002Fyour-app.com\u002Forders\u002F123'\n    }\n  })\n}\n```\n\n### Feishu Bot (Webhook)\n```javascript\nasync function sendFeishu(webhookUrl, message) {\n  \u002F\u002F Text message\n  await axios.post(webhookUrl, {\n    msg_type: 'text',\n    content: { text: message }\n  })\n  \n  \u002F\u002F Rich text (post) message\n  await axios.post(webhookUrl, {\n    msg_type: 'post',\n    content: {\n      post: {\n        zh_cn: {\n          title: 'Alert Title',\n          content: [\n            [{ tag: 'text', text: 'Service: ' }, { tag: 'text', text: 'API Server' }],\n            [{ tag: 'text', text: 'Status: ' }, { tag: 'text', text: 'Down' }],\n            [{ tag: 'a', text: 'View Details', href: 'https:\u002F\u002Fyour-app.com' }]\n          ]\n        }\n      }\n    }\n  })\n}\n```\n\n## Workflow 5: Notification Compliance & Rate Limiting\n\n### Rate Limit Rules\n```javascript\nconst RATE_LIMITS = {\n  sms: {\n    per_user_per_minute: 1,\n    per_user_per_hour: 5,\n    per_user_per_day: 10,\n    per_app_per_second: 50\n  },\n  wechat_template: {\n    per_user_per_day: 100,    \u002F\u002F WeChat limit\n    per_app_per_day: 100000   \u002F\u002F Account-level limit\n  },\n  wechat_subscribe: {\n    per_user_per_template: 1, \u002F\u002F One per subscription\n    per_template_per_day: 100000\n  },\n  dingtalk: {\n    per_bot_per_minute: 20,\n    per_bot_per_hour: 500\n  },\n  feishu: {\n    per_bot_per_minute: 50,\n    per_bot_per_hour: 1000\n  },\n  email: {\n    per_user_per_day: 5,\n    per_app_per_minute: 100\n  }\n}\n```\n\n### Compliance Checklist\n- [ ] SMS content pre-approved by provider (签名+模板审核)\n- [ ] WeChat templates pre-approved by platform\n- [ ] Unsubscribe mechanism for marketing messages\n- [ ] No marketing SMS before 8:00 or after 21:00\n- [ ] User consent recorded before sending\n- [ ] Delivery status logged for audit\n- [ ] Rate limits enforced per channel per user\n\n## Safety Rules\n\n1. **Never send marketing SMS without consent** — PIPL requirement\n2. **Always check rate limits** — exceeding limits gets your account suspended\n3. **Template approval first** — WeChat and SMS templates must be pre-approved\n4. **Fallback channels** — if primary channel fails, try secondary\n5. **Idempotency** — same notification should not be sent twice\n6. **Sensitive data** — never include full ID\u002Fphone in notification content\n7. **Test with sandbox** — always test in sandbox before production\n\n## Quick Reference\n\n| Channel | Setup Time | Cost | Limit | Best For |\n|---------|-----------|------|-------|----------|\n| SMS | 1-3 days | ¥0.04\u002F条 | 1\u002Fmin\u002Fuser | Verification, urgent |\n| WeChat Template | 1-3 days | Free | 100\u002Fday\u002Fuser | Status updates |\n| WeChat Subscribe | 1-3 days | Free | 1\u002Fsub | Reminders |\n| DingTalk Bot | 5 min | Free | 20\u002Fmin | Team alerts |\n| Feishu Bot | 5 min | Free | 50\u002Fmin | Team reports |\n| Email | 1 day | Free | 100\u002Fmin | Reports, receipts |\n","# China Notification Service - 中国通知服务专家\n\nYou are an expert at building multi-channel notification systems for Chinese applications. You handle the unique challenges of notification delivery in China: WeChat message limits, SMS provider integration, and enterprise IM bot configuration.\n\n## Core Philosophy\n\n**One notification, multiple channels, smart routing.** Different messages need different delivery channels. Urgent → SMS + DING. Important → WeChat + Feishu. Informational → Email + DingTalk. You build the routing logic.\n\n## Channel Comparison\n\n| Channel | Delivery Guarantee | Speed | Cost | Best For |\n|---------|-------------------|-------|------|----------|\n| SMS | ⭐⭐⭐⭐⭐ | \u003C5s | ¥0.04\u002F条 | Verification codes, urgent alerts |\n| WeChat Template | ⭐⭐⭐⭐ | \u003C10s | Free | Order updates, status changes |\n| WeChat Subscribe | ⭐⭐⭐ | \u003C10s | Free | Content updates, reminders |\n| DingTalk Bot | ⭐⭐⭐⭐ | \u003C3s | Free | Team notifications, alerts |\n| Feishu Bot | ⭐⭐⭐⭐ | \u003C3s | Free | Team notifications, reports |\n| Email | ⭐⭐ | \u003C30s | Free | Reports, newsletters, receipts |\n\n## Workflow 1: Unified Notification Dispatch\n\n### Architecture\n```\nApp Event → Notification Service → Channel Router → Channel Adapter → User\n                                      ↓\n                              Priority Check\n                              Rate Limiter\n                              Compliance Check\n                              Template Engine\n```\n\n### Implementation\n```javascript\nclass NotificationService {\n  constructor() {\n    this.channels = {\n      sms: new SMSChannel(),\n      wechat_template: new WeChatTemplateChannel(),\n      wechat_subscribe: new WeChatSubscribeChannel(),\n      dingtalk: new DingTalkBotChannel(),\n      feishu: new FeishuBotChannel(),\n      email: new EmailChannel()\n    }\n  }\n\n  async send(notification) {\n    const { userId, type, priority, channels, template, data } = notification\n    \n    \u002F\u002F 1. Check rate limits\n    await this.checkRateLimit(userId, type)\n    \n    \u002F\u002F 2. Resolve user channel preferences\n    const targetChannels = this.resolveChannels(userId, priority, channels)\n    \n    \u002F\u002F 3. Render template with data\n    const rendered = await this.renderTemplate(template, data)\n    \n    \u002F\u002F 4. Send to each channel\n    const results = await Promise.allSettled(\n      targetChannels.map(ch => this.channels[ch].send(userId, rendered))\n    )\n    \n    \u002F\u002F 5. Log delivery status\n    await this.logDelivery(userId, type, results)\n    \n    return results\n  }\n\n  resolveChannels(userId, priority, preferredChannels) {\n    \u002F\u002F Priority-based routing\n    if (priority === 'urgent') return ['sms', 'dingtalk', 'feishu']\n    if (priority === 'high') return ['wechat_template', 'dingtalk']\n    if (priority === 'normal') return preferredChannels || ['wechat_template', 'email']\n    if (priority === 'low') return ['email']\n    \n    return preferredChannels || ['wechat_template']\n  }\n}\n```\n\n## Workflow 2: WeChat Template Messages\n\n### Setup\n1. 登录 mp.weixin.qq.com → 模板消息\n2. 选择或创建模板（需审核）\n3. 获取 template_id\n\n### Send Template Message\n```javascript\nasync function sendWeChatTemplate(openid, templateId, data) {\n  const accessToken = await getAccessToken()\n  \n  const result = await axios.post(\n    `https:\u002F\u002Fapi.weixin.qq.com\u002Fcgi-bin\u002Fmessage\u002Ftemplate\u002Fsend?access_token=${accessToken}`,\n    {\n      touser: openid,\n      template_id: templateId,\n      \u002F\u002F url: 'https:\u002F\u002Fyour-app.com\u002Forder\u002F123',  \u002F\u002F Optional click URL\n      \u002F\u002F miniprogram: { appid: 'xxx', pagepath: 'pages\u002Findex' },  \u002F\u002F Or mini program\n      data: {\n        first: { value: '您有一笔新订单', color: '#173177' },\n        keyword1: { value: data.orderId },\n        keyword2: { value: data.productName },\n        keyword3: { value: data.amount },\n        keyword4: { value: data.time },\n        remark: { value: '点击查看详情' }\n      }\n    }\n  )\n  \n  return result.data.errcode === 0\n}\n```\n\n### WeChat Subscription Messages (Mini Program)\n```javascript\n\u002F\u002F 1. Request user subscription (frontend)\nwx.requestSubscribeMessage({\n  tmplIds: ['template_id_1', 'template_id_2'],\n  success: (res) => {\n    \u002F\u002F res['template_id_1'] === 'accept' | 'reject'\n  }\n})\n\n\u002F\u002F 2. Send subscription message (backend)\nasync function sendSubscribeMessage(openid, templateId, page, data) {\n  const accessToken = await getAccessToken()\n  \n  return axios.post(\n    `https:\u002F\u002Fapi.weixin.qq.com\u002Fcgi-bin\u002Fmessage\u002Fsubscribe\u002Fsend?access_token=${accessToken}`,\n    {\n      touser: openid,\n      template_id: templateId,\n      page: page,  \u002F\u002F 'pages\u002Forder\u002Fdetail?id=123'\n      data: {\n        thing1: { value: data.productName },  \u002F\u002F 20 chars max\n        amount2: { value: data.amount },\n        time3: { value: data.time },\n        thing4: { value: data.remark }        \u002F\u002F 20 chars max\n      }\n    }\n  )\n}\n```\n\n### ⚠️ WeChat Limits\n- Template messages: No limit on count, but users must have interacted in last 48h\n- Subscription messages: User must explicitly subscribe (one-time consent)\n- Each subscription = one message send (must re-subscribe for next)\n\n## Workflow 3: SMS via Chinese Cloud Providers\n\n### Alibaba Cloud SMS\n```javascript\nconst Core = require('@alicloud\u002Fpop-core')\n\nconst client = new Core({\n  accessKeyId: process.env.ALI_ACCESS_KEY,\n  accessKeySecret: process.env.ALI_ACCESS_SECRET,\n  endpoint: 'https:\u002F\u002Fdysmsapi.aliyuncs.com',\n  apiVersion: '2017-05-25'\n})\n\nasync function sendSMS(phone, signName, templateCode, templateParam) {\n  return client.request('SendSms', {\n    PhoneNumbers: phone,\n    SignName: signName,           \u002F\u002F Must be pre-approved\n    TemplateCode: templateCode,   \u002F\u002F Must be pre-approved\n    TemplateParam: JSON.stringify(templateParam)\n  }, { method: 'POST' })\n}\n\n\u002F\u002F Examples\nawait sendSMS('+8613800138000', '我的应用', 'SMS_123456', { code: '123456' })\nawait sendSMS('+8613800138000', '我的应用', 'SMS_789012', { name: '张三', amount: '99.00' })\n```\n\n### Tencent Cloud SMS\n```javascript\nconst tencentCloud = require('tencentcloud-sdk-nodejs')\nconst smsClient = tencentCloud.sms.v20210111.Client\n\nconst client = new smsClient({\n  credential: {\n    secretId: process.env.TC_SECRET_ID,\n    secretKey: process.env.TC_SECRET_KEY\n  },\n  region: 'ap-guangzhou'\n})\n\nasync function sendSMS(phone, templateId, params) {\n  return client.SendSms({\n    SmsSdkAppId: process.env.TC_SMS_APP_ID,\n    SignName: '我的应用',\n    TemplateId: templateId,\n    TemplateParamSet: params,\n    PhoneNumberSet: [`+86${phone}`]\n  })\n}\n```\n\n## Workflow 4: Enterprise IM Bot Notifications\n\n### DingTalk Bot (Webhook)\n```javascript\nasync function sendDingTalk(webhookUrl, message) {\n  \u002F\u002F Text message\n  await axios.post(webhookUrl, {\n    msgtype: 'text',\n    text: { content: message }\n  })\n  \n  \u002F\u002F Markdown message\n  await axios.post(webhookUrl, {\n    msgtype: 'markdown',\n    markdown: {\n      title: 'Alert Title',\n      text: '## Alert\\n\\n**Service**: API Server\\n**Status**: Down\\n**Time**: 2026-05-26 18:00'\n    }\n  })\n  \n  \u002F\u002F ActionCard message\n  await axios.post(webhookUrl, {\n    msgtype: 'actionCard',\n    actionCard: {\n      title: 'Order Alert',\n      text: 'New order received!',\n      btnOrientation: '1',\n      singleTitle: 'View Order',\n      singleURL: 'https:\u002F\u002Fyour-app.com\u002Forders\u002F123'\n    }\n  })\n}\n```\n\n### Feishu Bot (Webhook)\n```javascript\nasync function sendFeishu(webhookUrl, message) {\n  \u002F\u002F Text message\n  await axios.post(webhookUrl, {\n    msg_type: 'text',\n    content: { text: message }\n  })\n  \n  \u002F\u002F Rich text (post) message\n  await axios.post(webhookUrl, {\n    msg_type: 'post',\n    content: {\n      post: {\n        zh_cn: {\n          title: 'Alert Title',\n          content: [\n            [{ tag: 'text', text: 'Service: ' }, { tag: 'text', text: 'API Server' }],\n            [{ tag: 'text', text: 'Status: ' }, { tag: 'text', text: 'Down' }],\n            [{ tag: 'a', text: 'View Details', href: 'https:\u002F\u002Fyour-app.com' }]\n          ]\n        }\n      }\n    }\n  })\n}\n```\n\n## Workflow 5: Notification Compliance & Rate Limiting\n\n### Rate Limit Rules\n```javascript\nconst RATE_LIMITS = {\n  sms: {\n    per_user_per_minute: 1,\n    per_user_per_hour: 5,\n    per_user_per_day: 10,\n    per_app_per_second: 50\n  },\n  wechat_template: {\n    per_user_per_day: 100,    \u002F\u002F WeChat limit\n    per_app_per_day: 100000   \u002F\u002F Account-level limit\n  },\n  wechat_subscribe: {\n    per_user_per_template: 1, \u002F\u002F One per subscription\n    per_template_per_day: 100000\n  },\n  dingtalk: {\n    per_bot_per_minute: 20,\n    per_bot_per_hour: 500\n  },\n  feishu: {\n    per_bot_per_minute: 50,\n    per_bot_per_hour: 1000\n  },\n  email: {\n    per_user_per_day: 5,\n    per_app_per_minute: 100\n  }\n}\n```\n\n### Compliance Checklist\n- [ ] SMS content pre-approved by provider (签名+模板审核)\n- [ ] WeChat templates pre-approved by platform\n- [ ] Unsubscribe mechanism for marketing messages\n- [ ] No marketing SMS before 8:00 or after 21:00\n- [ ] User consent recorded before sending\n- [ ] Delivery status logged for audit\n- [ ] Rate limits enforced per channel per user\n\n## Safety Rules\n\n1. **Never send marketing SMS without consent** — PIPL requirement\n2. **Always check rate limits** — exceeding limits gets your account suspended\n3. **Template approval first** — WeChat and SMS templates must be pre-approved\n4. **Fallback channels** — if primary channel fails, try secondary\n5. **Idempotency** — same notification should not be sent twice\n6. **Sensitive data** — never include full ID\u002Fphone in notification content\n7. **Test with sandbox** — always test in sandbox before production\n\n## Quick Reference\n\n| Channel | Setup Time | Cost | Limit | Best For |\n|---------|-----------|------|-------|----------|\n| SMS | 1-3 days | ¥0.04\u002F条 | 1\u002Fmin\u002Fuser | Verification, urgent |\n| WeChat Template | 1-3 days | Free | 100\u002Fday\u002Fuser | Status updates |\n| WeChat Subscribe | 1-3 days | Free | 1\u002Fsub | Reminders |\n| DingTalk Bot | 5 min | Free | 20\u002Fmin | Team alerts |\n| Feishu Bot | 5 min | Free | 50\u002Fmin | Team reports |\n| Email | 1 day | Free | 100\u002Fmin | Reports, receipts |\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fchina-notification-service",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill china-notification-service",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill china-notification-service",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill china-notification-service","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fchina-notification-service\u002FSKILL.md",true,[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]