gitwtfhub

wtf is yuwen-publish-precheck?

yuwen-cool/yuwen-publish-precheck — explained in plain English

Analysis updated 2026-05-18

375PythonAudience · writerComplexity · 2/5LicenseSetup · easy

TL;DR

An AI skill that checks social media posts against Chinese platform rules before publishing and suggests compliant rewrites.

Mindmap

mindmap
  root((PublishPrecheck))
    What it does
      Scans draft text
      Flags risky phrases
      Suggests rewrites
    Tech stack
      Python
      Agent skill format
    Use cases
      Precheck Douyin posts
      Precheck Xiaohongshu posts
      Build personal rule library
    Audience
      Chinese content creators
    Notes
      Local data only
      No moderation bypass tricks

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Check a video script or caption for compliance issues before posting to Douyin, Xiaohongshu, or WeChat Channels.

REASON 2

Get a specific rewritten version of a flagged sentence that keeps the original tone.

REASON 3

Build a personal rule library of phrases to always flag or always ignore based on your own niche.

REASON 4

Review why a post got limited distribution and turn that lesson into a saved rule.

What's in the stack?

Python

How it stacks up

yuwen-cool/yuwen-publish-precheckjlevy/reprenjuyterman1000/entroly
Stars375371382
LanguagePythonPythonPython
Setup difficultyeasyeasyeasy
Complexity2/51/52/5
Audiencewriterdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Requires only Python 3 and installs as an agent skill, runs entirely locally.

Free to use on your own content, but commercial redistribution or bundling into a paid product needs the author's permission.

Wtf does this do

This project is an AI skill, meant to be installed into tools like Claude Code, Cursor, or Codex, that checks a piece of content before you publish it on Chinese social platforms such as Douyin, Xiaohongshu, or WeChat Channels. The core problem it addresses is that creators often do not find out a post violates platform rules until after it is published and already penalized, since platforms rarely warn creators in advance. Rather than relying on a simple banned word list, the tool works in two steps. First a script quickly scans the draft for candidate phrases that might be risky. Then the AI evaluates each candidate in context, since the same words can be fine or against the rules depending on how they are used, such as sharing a personal experience versus using the same phrase to sell a product. If it finds a real problem, it suggests a specific rewritten sentence that keeps the original tone and hook while removing the violation, then rechecks the revised text automatically. Its rule base is built from 38 real world scripts that platforms actually approved, so it calibrates what counts as acceptable rather than overreacting. Every rule it applies is tied to a real, citable source, such as advertising law or official platform community guidelines, and the README states there are 72 referenceable citations behind its judgments. It explicitly refuses to teach ways to sneak past moderation, such as replacing risky words with homophones or symbols, stating that trading a small risk for a bigger one is not worth it. The tool also builds a personal, local rule library over time. A user can tell it in plain language to watch for a certain phrase going forward, or to stop flagging a word that is normal in their specific niche, and this personal data is stored only in a local folder on the user's own computer, never uploaded anywhere. It runs entirely locally using only Python, with no other dependencies, and it explicitly states it does not guarantee any piece of content will actually be approved by a platform, since final moderation decisions depend on factors the tool cannot see.

Yoink these prompts

Prompt 1
Use yuwen-publish-precheck to check whether this script is safe to post on Douyin.
Prompt 2
Help me rewrite this caption so it would pass Xiaohongshu's content rules.
Prompt 3
Add a rule to my local library to always flag this specific phrase going forward.
Prompt 4
Review why this post might have been limited in distribution and suggest a fix.

Frequently asked questions

wtf is yuwen-publish-precheck?

An AI skill that checks social media posts against Chinese platform rules before publishing and suggests compliant rewrites.

What language is yuwen-publish-precheck written in?

Mainly Python. The stack also includes Python.

What license does yuwen-publish-precheck use?

Free to use on your own content, but commercial redistribution or bundling into a paid product needs the author's permission.

How hard is yuwen-publish-precheck to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is yuwen-publish-precheck for?

Mainly writer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.