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:
| Dimension | Optimization Points |
|---|
| Opening attractiveness | Capture readers in the first 3 seconds, cut in with pain points/suspense/data/scenarios |
| Paragraph order | Adjust paragraph positions, place important content first, make logic smoother |
| Paragraph rhythm | Short paragraphs (no more than 4 lines on mobile phones), more white space, easy to scan |
| Language expression | Colloquial, friendly, address readers with "you", concretize abstract concepts |
| Subheadings | Use questions/numbers/comparison/interest-driven expressions to guide reading |
| End conversion | Add summary/interaction/action/welfare/golden sentences to give readers reasons to take action |
| Typography format | Bold 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:
- Run the script to read the file
- Analyze content structure
- Optimize according to 6 dimensions
- Save as article.optimized.md
- 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:
- Focus on optimizing the opening part
- Keep other content unchanged
- 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:
- Identify formal/stiff expressions
- Replace with colloquial expressions
- Add modal particles and transition sentences
- Adjust sentence length
Notes
- Retain the core information of the original text: Optimize expression, do not tamper with the original meaning
- Respect user style: Adjust the optimization degree according to user requirements
- Accurate technical content: Ensure the accuracy of professional terms after optimization
- Retain code blocks: Keep the code in technical articles as it is
- 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