wechat-content-optimizer

Original🇨🇳 Chinese
Translated
1 scriptsChecked / no sensitive code detected

Optimize the content of Official Accounts articles in local Markdown files to make them more suitable for Chinese users aged 16-50 to read on the WeChat Official Accounts Platform. It supports optimizing article structure, language expression, and typography, as well as improving opening attractiveness, paragraph rhythm, and end conversion. This skill is applicable when users need to optimize Official Accounts articles, improve Markdown content quality, and enhance article reading experience.

2installs
Added on

NPX Install

npx skill4agent add steelan9199/wechat-publisher wechat-content-optimizer

SKILL.md Content (Chinese)

View Translation Comparison →

Official Accounts Content Optimization Expert

Optimize local Markdown files to make articles more suitable for reading on WeChat Official Accounts.

Applicable Scenarios

  • Local Markdown files need optimization before publishing to Official Accounts
  • Articles are too stiff and need to be more colloquial
  • Paragraphs are too long, not suitable for mobile reading
  • Paragraph order is unreasonable, important content is placed too far behind
  • Opening is not attractive enough, leading to high bounce rate
  • No guidance at the end, lack of interaction
  • Subheadings are too plain, need to be more attractive

Workflow

1. Receive user request

Users need to provide:
  • Markdown file path (required)
  • Specific optimization requirements (optional)

2. Read and analyze the file

Run the script to read the file content:
bash
node "<skill目录>/scripts/optimize.js" <markdown文件路径> --config "<skill目录>/config.json"
The script will output the file content for your analysis and optimization.

3. Multi-dimensional content optimization

Optimize from the following dimensions based on the optimization guide in references/optimization-guide.md:
DimensionOptimization Points
Opening attractivenessCapture readers in the first 3 seconds, cut in with pain points/suspense/data/scenarios
Paragraph orderAdjust paragraph positions, place important content first, make logic smoother
Paragraph rhythmShort paragraphs (no more than 4 lines on mobile phones), more white space, easy to scan
Language expressionColloquial, friendly, address readers with "you", concretize abstract concepts
SubheadingsUse questions/numbers/comparison/interest-driven expressions to guide reading
End conversionAdd summary/interaction/action/welfare/golden sentences to give readers reasons to take action
Typography formatBold key content, use appropriate quotes, present content in lists, clear hierarchy

4. Save the optimized file

Write the optimized content to the file:
  • Default save as a new file:
    <original file name>.optimized.md
  • Or overwrite the original file according to user requirements
  • Original file is automatically backed up as:
    <original file name>.md.backup

5. Report optimization results

Explain to the user:
  • Optimized file path
  • Main aspects that have been optimized
  • Reasons for optimization and expected effects

Optimization Principles

Target Audience

  • Age: Chinese users aged 16-50
  • Device: Mainly mobile reading
  • Scenario: Fragmented time
  • Attention span: Extremely short, the first 3 seconds determine whether to continue reading

Language Style

  • Friendly, easy to understand, internet-savvy but professional
  • Write like chatting with friends
  • Use "you" more, use "users" and "readers" less
  • Split long sentences into short ones, no more than 25 words per sentence

Typography Specifications

  • 3-4 lines per paragraph (mobile screen)
  • Leave a blank line between paragraphs
  • Subheadings must be added to guide reading rhythm
  • Bold key content to highlight

Detailed Optimization Guide

Reference file: references/optimization-guide.md
Read this file when needed to get:
  • Detailed optimization skills for each dimension
  • Optimization points for common content types
  • Comparison examples before and after optimization
  • Advanced writing frameworks (SCQA, AIDA)

Configuration Description

Configuration file: config.json
json
{
  "options": {
    "optimizeStructure": true,    // 优化文章结构
    "optimizeLanguage": true,     // 优化语言表达
    "optimizeFormatting": true,   // 优化排版格式
    "addEmojis": false,           // 是否添加 emoji
    "optimizeHeadings": true,     // 优化小标题
    "optimizeOrder": true         // 优化段落顺序
  },
  "audience": {
    "ageRange": "16-50岁",
    "style": "亲切、易懂、有网感但不失专业",
    "readingDevice": "mobile"
  },
  "output": {
    "backup": true,               // 是否备份原文件
    "overwrite": false,           // 是否覆盖原文件
    "suffix": ".optimized"        // 新文件后缀
  }
}

Usage Examples

Example 1: Basic optimization

User: Help me optimize this article F:/docs/article.md
Execution:
  1. Run the script to read the file
  2. Analyze content structure
  3. Optimize according to 6 dimensions
  4. Save as article.optimized.md
  5. Report optimization points

Example 2: Optimization for specific requirements

User: The opening of this article is too boring, help me make it more attractive, the file is F:/blog/post.md
Execution:
  1. Focus on optimizing the opening part
  2. Keep other content unchanged
  3. Provide 2-3 opening versions for selection

Example 3: Colloquial transformation

User: This article is too formal, help me make it more colloquial, like chatting
Execution:
  1. Identify formal/stiff expressions
  2. Replace with colloquial expressions
  3. Add modal particles and transition sentences
  4. Adjust sentence length

Notes

  1. Retain the core information of the original text: Optimize expression, do not tamper with the original meaning
  2. Respect user style: Adjust the optimization degree according to user requirements
  3. Accurate technical content: Ensure the accuracy of professional terms after optimization
  4. Retain code blocks: Keep the code in technical articles as it is
  5. Retain links and images: Do not modify the links and image references in the original text

Expected Optimization Effect

The optimized article should:
  • Capture readers' attention in the first 3 seconds of opening
  • Have short paragraphs, no pressure to read on mobile phones
  • Use friendly language, like a friend's recommendation
  • Have a clear structure, with subheadings guiding reading
  • Have clear action guidance at the end