dby-rewrite
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese多平台文案改写 · dby-rewrite
Multi-Platform Copy Rewriting · dby-rewrite
把一份原文改写成某个平台读者习惯的样子。七个平台,一次可以指定一个、几个或全部(一稿多发 = 各出一版,不是一版群发七处)。
⚠️ 本包纯本地不计费,改写全在你自己的 agent 里完成;服务端曾有过的云端改写能力已于 2026-08-28 整条下线,不存在任何计费的改写接口。
Rewrite a single source text into the way readers of a given platform expect. Seven platforms; you can pick one, a few, or all at once (multi-posting = one distinct version per platform, not one version sent to all seven).
⚠️ This package is fully local and free; the rewriting happens entirely inside your own agent. The server-side cloud rewriting capability that once existed was fully decommissioned on 2026-08-28, and there is no paid rewriting interface whatsoever.
1. 怎么用(三步)
1. How to Use (Three Steps)
第 1 步:拿到原文和目标平台
Step 1: Get the source text and target platform
用户没说平台就问一句,别默认公众号。
If the user didn't specify a platform, ask — don't default to WeChat Official Account.
第 2 步:读该平台的规则
Step 2: Read the rules for that platform
🔑 一平台一文件,读要的那个就行,别整摞读。
| 用户要哪个平台 | 读这份 | 这个平台的要害 |
|---|---|---|
| 公众号 / 微信公众号 | | 金句 + 钩子;标题字数口径(15–28 字,见该文件);正文带 2–3 个 Keyword;末尾 5–10 个 |
| 视频号 / 微信视频号 | | 口播感,开头三秒抓人 |
| 抖音 / dy | | 第一句就是钩子(黄金三秒);夸张只许用在情绪,不许用在功效 |
| 快手 / ks | | 接地气、短小精悍、直给 |
| B站 / 哔站 / bilibili / 哔哩哔哩 | | 社区黑话与弹幕感 |
| 小红书 / 红书 / xhs | | 标题 ≤20 字、正文 ≤1000 字是发布硬上限;至少 5 个不重复 emoji;二极管标题法;种草口吻;末尾 3–5 个 |
| 知乎 / zhihu | | 论证感、有理有据、克制 |
每份规则的结构都一样:(角色定位)/ (写作技巧)/ (改写规则)/
(工作流程)。照着 Workflow 走,别只扫一眼 Role 就动笔。
RoleWritingSkillsRulesWorkflow也可以让脚本把规则打出来(脚本读的就是上面这些文件):
bash
python3 scripts/rewrite.py list # 七个平台和它们的别名
python3 scripts/rewrite.py 小红书 # 单平台规则
python3 scripts/rewrite.py 抖音,知乎 "原文…" # 多平台(逗号或空格分隔都行)
python3 scripts/rewrite.py all # 全平台(一稿多发)
python3 scripts/rewrite.py --selfcheck # 离线自检:平台表与规则文件一一对应🔑 One platform, one file — read only the one you need, don't read the whole stack.
| User asks for | Read this | Key points for this platform |
|---|---|---|
| 公众号 / WeChat Official Account | references/公众号.md | Catchphrases + hooks; title length guideline (15–28 characters, see file); body with 2–3 keywords; 5–10 |
| 视频号 / WeChat Channels | references/视频号.md | Oral-broadcast feel; hook within the first three seconds |
| 抖音 / Douyin (dy) | references/抖音.md | First sentence as the hook (golden three seconds); exaggeration only for emotion, never for product claims |
| 快手 / Kuaishou (ks) | references/快手.md | Down-to-earth, short, punchy, straight to the point |
| B站 / bilibili | references/B站.md | Community jargon and danmaku vibe |
| 小红书 / Xiaohongshu (xhs) | references/小红书.md | Title ≤20 chars, body ≤1000 chars is the hard publishing limit; at least 5 distinct emojis; binary-opposition title method; grass-planting tone; 3–5 |
| 知乎 / Zhihu (zhihu) | references/知乎.md | Argumentative, well-supported, restrained |
Each rule file has the same structure: (positioning) / (writing skills) / (rewrite rules) / (workflow). Follow the Workflow — don't just glance at the Role and start writing.
RoleWritingSkillsRulesWorkflowYou can also have the script print the rules (the script reads exactly the files above):
bash
python3 scripts/rewrite.py list # 七个平台和它们的别名
python3 scripts/rewrite.py 小红书 # 单平台规则
python3 scripts/rewrite.py 抖音,知乎 "原文…" # 多平台(逗号或空格分隔都行)
python3 scripts/rewrite.py all # 全平台(一稿多发)
python3 scripts/rewrite.py --selfcheck # 离线自检:平台表与规则文件一一对应第 3 步:直接输出改写结果
Step 3: Output the rewritten result directly
按该平台的 Workflow 改写,直接给成品。
同时给一份改动清单(原文这句 → 改写成什么 → 为什么),交付后问一次要不要存进稿件——
清单怎么拆、命令行怎么调见 。
references/draft/draft-changes.mdRewrite according to that platform's Workflow, and give the finished product directly.
Also provide a list of changes (original sentence → what it was rewritten to → why). After delivery, ask once if they want it saved to drafts — how to break down the list and how to use the CLI is in references/draft/draft-changes.md.
2. 通用纪律(七个平台都适用)
2. Universal Discipline (Applies to All Seven Platforms)
- 以文案发起者的身份写:把用户的文案当自己的文案,只做风格转换。 ❌ 不要说「帮你改写了」「以下是改写后的版本」,直接出成品。
- 只改风格,不改事实:产品参数、价格、功效、时间地点一律照搬原文;编出来的卖点会变成用户的虚假宣传。
- 不反问、不确认:输出完就结束,别再问「需要调整吗」。
- 多平台时逐个平台各出一版,别出一版说「通用」。
- Write as the person who initiated the copy: treat the user's copy as your own, only transform the style. ❌ Don't say "I've rewritten it for you" or "here is the rewritten version" — just output the final result.
- Change only the style, not the facts: product specs, prices, claims, times, and places must be copied exactly from the original; made-up selling points would become false advertising on the user's behalf.
- Don't ask back, don't confirm: stop after the output, don't ask "would you like any adjustments?"
- For multiple platforms, output one version per platform, don't output one version and call it "universal."
3. 交付前自检(超限稿不交付)
3. Pre-delivery Self-check (Do not deliver copy that exceeds limits)
逐平台过完这张单再交;超限的当场改到限内,不交「差一点点」的稿:
- 小红书:标题 ≤20 字(emoji 计入)、正文 ≤1000 字、标签 3–5 个、无外站联系方式(微信 / vx / 电话 / 公众号同名)。
- 公众号:标题 15–28 字。
- 七平台通用 · 极限词与功效承诺不进标题 / 摘要 / 正文:权威口径与词表在 , 本包不自建一份,过一遍就行:
dby-banned-words命中即改;其余四平台不在检测口径里,但《广告法》第九条一样管,极限词照删。bashpython3 <dby-banned-words>/scripts/check_multi.py "<标题+正文>" --platforms xiaohongshu,douyin,gongzhonghao # 只留本次涉及的平台 - 事实核对:产品参数 / 价格 / 时间地点逐项对回原文(第 2 节「只改风格,不改事实」的执行面)。
Recovery: 读不到 → 如实说明这个平台的规则缺失、不凭印象改,其余平台照常出。
references/<平台>.mdGo through this checklist platform by platform before delivering; fix any over-limit copy immediately and never deliver something that's "just a little off":
- Xiaohongshu: title ≤20 characters (emoji count), body ≤1000 characters, 3–5 tags, no off-platform contact info (WeChat / vx / phone / same-name official account).
- WeChat Official Account: title 15–28 characters.
- All seven platforms · banned superlatives and efficacy claims must not appear in titles / summaries / body: the authoritative scope and word list is in . This package doesn't maintain its own list; just run it:
dby-banned-wordsIf a hit occurs, change it; the other four platforms aren't in the check scope, but Article 9 of the Advertising Law still applies, so remove banned superlatives anyway.bashpython3 <dby-banned-words>/scripts/check_multi.py "<标题+正文>" --platforms xiaohongshu,douyin,gongzhonghao # 只留本次涉及的平台 - Fact check: verify product specs / price / time and place item by item against the original (the execution of Section 2, "Change only style, not facts").
Recovery: if cannot be read → honestly state that the rules for this platform are missing and do not rewrite from memory; output for the remaining platforms as usual.
references/<platform>.md