agentleFS
The-Syntax-SlayerThe-Syntax-Slayer/skill-genie/skills/wechat-compliance-check/SKILL.md

wechat-compliance-check

Skill1 starsChanged 5 months agoMITView on GitHub

扫描微信公众号文章中的违规敏感词并自动改写。覆盖翻墙工具、政治敏感、灰产、 破解逆向、引流卖货等 8 大类 100+ 敏感词。输出违规报告和改写后的安全版本。 Use when publishing WeChat articles, checking \"违规\", \"敏感词\", \"审核\", \"公众号合规\", or \"wechat compliance\".

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

微信公众号内容合规检查与改写

扫描文章中的微信平台违规敏感词,生成违规报告,并自动改写为安全表述。

适用场景

  • 公众号文章发布前的合规自查
  • 已被判定违规的文章修复
  • 技术类文章中常见的敏感词替换(VPN、逆向、破解等)
  • 涉及海外平台、地缘政治内容的脱敏处理

使用方式

# 扫描文章
/wechat-compliance-check path/to/article.md

# 扫描并自动改写
/wechat-compliance-check path/to/article.md --fix

# 只输出报告不修改
/wechat-compliance-check path/to/article.md --report-only

检查流程

Step 1: 加载敏感词库

读取 references/sensitive-words.md 中的完整敏感词库。

Step 2: 全文扫描

对输入文件逐行扫描,匹配 8 大类敏感词:

类别风险等级示例
翻墙/代理工具🔴 极高VPN、Clash、Shadowsocks、V2Ray、科学上网、梯子
政治/地缘敏感🔴 极高中国封禁、GFW、防火墙、审查制度
破解/逆向🟡 高逆向工程、破解、crack、hack、漏洞利用、注入
封号/灰产🟡 高封号、封禁、转售、账号共享、代刷、薅羊毛
引流/商业化🟡 中付费源码、购买、下单、加微信领取
暴力/色情🔴 极高(平台自动检测,本技能不覆盖)
赌博/诈骗🔴 极高(平台自动检测,本技能不覆盖)
竞品/敏感品牌🟡 中视具体语境判断

Step 3: 生成违规报告

输出格式:

## 违规扫描报告

文件:article.md
扫描时间:2026-04-04 06:30
总命中:12 处

### 🔴 极高风险(3 处)
- 第 903 行:`VPN` → 建议改为「虚拟专用网络」
- 第 1098 行:`Clash` → 建议改为「网络规则工具」
- 第 1017 行:`中国开发者封号潮` → 建议改为「部分地区开发者受限」

### 🟡 高风险(6 处)
- 第 871 行:`封号` → 建议改为「账号限制」
- ...

### ⚠️ 中风险(3 处)
- 第 1826 行:`付费源码` → 建议改为「源码」
- ...

Step 4: 自动改写(--fix 模式)

当使用 --fix 参数时,自动执行改写:

  1. 备份原文件为 {filename}.bak-{timestamp}
  2. 按敏感词库中的替换规则逐一替换
  3. 对于需要上下文判断的词(如「注入」在技术语境中可能合法),标记为 [REVIEW] 供人工确认
  4. 输出改写摘要

Step 5: 二次验证

改写完成后,重新扫描一次确认无残留敏感词。如有残留,报告并提示手动处理。

改写原则

  1. 保留原意:改写后的表述必须传达相同的信息
  2. 自然流畅:替换词要在上下文中读起来自然,避免生硬
  3. 上下文感知:同一个词在不同语境下可能需要不同的替换
    • 「注入」在 SQL 注入语境 → 保留(技术术语)
    • 「注入」在「注入虚假工具」语境 → 改为「插入」
  4. 宁严勿松:不确定时优先替换,宁可过度谨慎

已知局限

  • 本技能覆盖文本层面的敏感词,不覆盖图片中的文字
  • 微信的审核规则会动态变化,敏感词库需要定期更新
  • 部分违规判定依赖上下文(如「代理」在技术文章中通常安全,但在翻墙语境中违规)
  • 不覆盖暴力、色情、赌博等微信平台自动检测的类别

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.