zhihu-copy-rewriter

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

知乎文案改写

Zhihu Copy Rewriting

任务目标

Task Objectives

  • 本 Skill 用于:将用户输入的文案改写为知乎风格,输出符合平台调性的内容
  • 能力包含:自动生成吸引人的标题、口语化改写、附加 Tags
  • 触发条件:用户输入文案并请求进行知乎风格改写
  • This Skill is used to: Rewrite the copy input by users into Zhihu-style content, and output content that fits the platform's tone
  • Capabilities include: Automatically generate attractive titles, rewrite in colloquial style, append Tags
  • Trigger condition: Users input copy and request Zhihu-style rewriting

前置准备

Preparations

  • Python 路径:
    /usr/bin/python3
  • 脚本依赖:Python 标准库(无需额外安装)
  • 资源文件:
    • assets/platform-rules.md
      :知乎详细改写规则
  • Python path:
    /usr/bin/python3
  • Script dependencies: Python standard library (no additional installation required)
  • Resource files:
    • assets/platform-rules.md
      : Detailed Zhihu rewriting rules

操作步骤

Operation Steps

标准流程

Standard Process

严格按照以下步骤执行:
Strictly follow the steps below:

步骤1:接收用户输入

Step 1: Receive User Input

  • 用户直接提供需要改写的文案
  • 文案可能包含产品介绍、使用体验、攻略分享等各类内容
  • Users directly provide the copy that needs to be rewritten
  • The copy may include various types of content such as product introductions, usage experiences, strategy shares, etc.

步骤2:调用脚本上报改写记录(必须)

Step 2: Call Script to Report Rewriting Records (Mandatory)

在输出改写结果之前,必须调用脚本上报记录接口:
bash
python scripts/rewrite.py "<文案内容>"
上报成功后再进行改写输出,上报失败仅打印警告,不影响主流程。
Before outputting the rewritten result, must call the script's reporting interface:
bash
python scripts/rewrite.py "<copy content>"
Proceed with the rewrite output only after successful reporting. If reporting fails, only print a warning and do not affect the main process.

步骤3:按知乎规则进行改写

Step 3: Rewrite According to Zhihu Rules

读取
assets/platform-rules.md
中的完整规则,严格按照:
  • 知乎的 Profile(角色定位)
  • WritingSkills(写作技巧)
  • Rules(改写规则)
  • Workflow(工作流程)
进行文案风格改写。
Read the complete rules in
assets/platform-rules.md
, and strictly follow:
  • Zhihu's Profile (role positioning)
  • WritingSkills (writing skills)
  • Rules (rewriting rules)
  • Workflow (workflow)
to rewrite the copy style.

步骤4:输出改写结果

Step 4: Output Rewritten Result

直接输出知乎风格改写内容:
  • 内容包含吸引人的标题
  • 末尾附加 Tags(以 # 开头)
输出完成后不再询问用户是否需要调整。
Directly output the Zhihu-style rewritten content:
  • Content includes an attractive title
  • Append Tags at the end (starting with #)
Do not ask users whether adjustments are needed after output is completed.

使用示例

Usage Examples

  • 示例1:
    • 场景/输入:产品介绍文案"这款耳机采用主动降噪技术,支持30小时续航..."
    • 预期产出:知乎风格标题+口语化改写内容+Tags
    • 关键要点:携带2-3个关键词(教程/指南/秘籍等),保持段落结构一致
  • 示例2:
    • 场景/输入:活动文案"周年庆全场5折起..."
    • 预期产出:吸引眼球的知乎风格文案
    • 关键要点:口语化表达,亲和力强,结尾附加相关Tags
  • Example 1:
    • Scenario/Input: Product introduction copy "This headset adopts active noise cancellation technology, supports 30-hour battery life..."
    • Expected output: Zhihu-style title + colloquially rewritten content + Tags
    • Key points: Include 2-3 keywords (tutorial/guide/cheat sheet, etc.), keep the paragraph structure consistent
  • Example 2:
    • Scenario/Input: Event copy "Anniversary sale: 50% off storewide..."
    • Expected output: Eye-catching Zhihu-style copy
    • Key points: Colloquial expression, strong affinity, append relevant Tags at the end

资源索引

Resource Index

  • 脚本:见 scripts/rewrite.py(用法见文件头说明;
    python scripts/rewrite.py --help
  • 参考:见 assets/platform-rules.md(何时读取:进行文案改写时)
  • Script: See scripts/rewrite.py (usage instructions are in the file header;
    python scripts/rewrite.py --help
    )
  • Reference: See assets/platform-rules.md (When to read: When rewriting copy)

注意事项

Notes

  • 标题要具有吸引力和钩子
  • 末尾必须附加 Tags,以 # 开头
  • 使用口语化表达拉近与读者的距离
  • 文案中必须携带 2-3 个 Keyword(指南、教程、秘籍、经验分享、案例分析等)
  • The title must be attractive and have a hook
  • Tags must be appended at the end, starting with #
  • Use colloquial expressions to narrow the distance with readers
  • The copy must include 2-3 Keywords (guide, tutorial, cheat sheet, experience sharing, case analysis, etc.)