yuwen-cool/yuwen-publish-precheck

发布前审|发抖音/小红书/视频号前先让 AI 审一遍:哪句踩线、依据哪条官方规则、给能直接用的改法。38 篇真实样本校准判定尺度,80+ 条官方原文引文可查证,你踩过的坑沉淀成本地规则库越用越准。不承诺过审,不教绕审。

What is this?

yuwen-publish-precheck is an AI-powered "pre-publish compliance checker" for short-video scripts on Chinese platforms (Douyin, Xiaohongshu, WeChat Channels). You paste a draft script, and it tells you whether it can be published, which lines are risky, and how to rewrite them — before the platform penalizes you after the fact.

It's packaged as an Agent Skill: you install it into AI coding tools like Cursor, Codex, or Claude Code, then ask the AI to review your script.

How it works

Two-stage detection:

  1. Word-level pre-check — a fast scan flags candidate phrases (e.g., "lost 8 pounds in 2 weeks," "lowest price on the internet").
  2. Semantic judgment — the AI decides whether a flagged phrase actually violates rules in context. This is the key difference from a simple banned-word list: "earning 10k/month" is fine in a personal story but problematic when tied to a paid course.

If violations are found, it produces a rewritten version that keeps the original hook and tone but removes the offending claims, then re-checks the rewrite. It also outputs a per-platform pre-publish checklist (e.g., "mark this as an ad," "use the official product link").

The rule base (42 rules) is anchored to official sources — China's Advertising Law, regulatory documents, and platform community guidelines — with 80+ quoted citations that link to the original text.

Notable design choices

  • Local-first learning: Users can teach the tool their own rules ("watch for 'betting-style promises'", "'fat-burning' is fine in my fitness content") via one-line feedback. Everything is stored as plain text in a local data/ directory, never uploaded.
  • Survivorship-bias defense: If you say "but this big account does it and never got banned," the tool explains whether that's actually safe or tells you the big account can absorb risks you can't.
  • Refuses evasion tricks: It will not provide homophones, character-splitting, or other ways to dodge moderation — it only helps you phrase things compliantly.
  • Zero third-party dependencies: Pure Python 3.10+, runs entirely locally.

Who is this for?

Content creators, social-media operators, and marketing teams publishing on Douyin, Xiaohongshu, or WeChat Video Channels — especially those selling products or working in regulated industries (health, finance) where violations are costly.

Why it's interesting

Platform moderation is opaque: you usually find out you violated a rule only when you get a penalty notice. This tool addresses that pain point with a genuinely thoughtful design — context-aware judgment instead of keyword matching, citable rule sources, a principled refusal to help evade moderation, and a learning loop that gets more accurate with use. It's a practical, well-scoped application of AI to a real, high-stakes problem.

Related

  • Project
  • Project
  • Project
  • Project
  • Project