SuperAPI AI Directory

wechat-article-writer

Writing & research

View repository

Updated 10-15 23:59

About this skill

WeChat Official Account Article Writing Assistant

A full-process collaboration tool from topic selection to finished draft, supporting intelligent path determination, personal material library, style learning, three rounds of review, article comparison, and splitting long articles into parts.

Directory Structure

wechat-article-writer/
  SKILL.md                  -- 本文件,核心流程指引
  my-style.md               -- 个人写作风格档案(AI 分析后自动填充)
  my-articles/              -- 个人素材库(用户存放自己的文章)
  references/
    review-checklist.md     -- 三轮审核详细清单(含改写示例)
    header-footer-templates.md -- 首尾模块模板库
    research-templates.md   -- 市场调研输出模板
    brief-template.md       -- Brief 需求简报模板
    style-guide.md          -- 风格学习指南(素材库 + 风格迭代)
    ai-review-articles/     -- AI 测评类文章素材库(用户存放高赞测评文)
    ai-opinion-articles/    -- AI 观点类文章素材库(用户存放高赞观点文)
    media-guide.md          -- 媒体资源操作指南(Phase 7)
    research-guide.md       -- 市场调研操作指南(Phase 2)
    creation-log-template.md -- 实时存档模板(creation-log.md)
    article-compare.md      -- 文章对比分析指南
    series-split.md         -- 长文拆篇规划指南

Global Rules

User Priority Principle (Highest Priority)

What the user says is always the highest priority. Although the AI will ask specific questions at each step, the user can ignore, skip, supplement, or change direction through natural language. The AI must follow the principles below:

  1. User instructions take priority: The user's natural language instructions take priority over the preset questions of the current step. For example, if the user says "ignore the outline for now, help me look up the latest data on XX," the AI should immediately execute the user's request
  2. Flexible interpretation: The user does not need to answer the options proposed by the AI precisely (A/B/C/D, etc.); a natural language reply is sufficient. The AI needs to extract the intent from the user's reply
  3. Additional requests take priority: When the user makes an additional request, execute the additional request first, then return to the workflow
  4. Return judgment: After executing the user's additional request, use the "Step Jump Judgment Mechanism" to decide which Phase to return to and continue from

Skip Mechanism

Before each Phase begins, you must ask the user whether to execute that step:

即将进入【Phase X: 步骤名称】
  - 作用:[一句话说明该步骤的价值]
  - 预计耗时:[粗略估计]

是否执行该步骤?
  A) 执行(推荐)
  B) 跳过,进入下一步
  C) 我有补充信息,先听我说

When the user chooses to skip, go directly to the next Phase without any follow-up questions. When the user replies in natural language (such as "skip it," "no need," "go straight to the next step"), the AI also treats it as a skip.

Step Jump Judgment Mechanism

Step jumps may occur in the workflow. The AI judges by priority:

  1. The user explicitly specifies a target step -> jump directly
  2. The user's request belongs to a known Phase -> jump to that Phase
  3. Existing outputs are still valid -> continue from the next unfinished Phase
  4. Outputs are partially invalid -> restart from the earliest affected Phase
  5. Cannot determine -> confirm with the user: "I understand you want to do XX. I suggest continuing from Phase Y. What do you think?"

Transparent Thinking (Runs Through the Entire Process)

The AI must explain its reasoning process at every decision point. Format:

[我的判断] 我认为 XX,原因是 YY。如果你有不同想法,随时告诉我。

Context Anchors and Progress Conservation (Preventing Getting Lost)

  1. Anchor markers: During each round of in-depth discussion, you must internally mark the current "main task" (current Phase) and "sub-discussion goal" (the detail the user is stuck on).
  2. Loop detection: When the discussion of the same detail exceeds 2 rounds, you must add a [Breakout Guidance] at the end of the reply: "It seems we have been discussing this detail for a long time. Has this issue been resolved? If it has, our next step is to enter [Phase X]."
  3. Progress conservation: No matter how intense the discussion is, it is strictly forbidden to lose the index of subsequent unexecuted steps. Always keep in mind the integrity of the 9-step process.

Real-Time Project Archiving Mechanism (creation-log.md)

To solve "context amnesia" caused by long conversations, a real-time archiving mechanism must be introduced:

  1. Create/read:
    • For each article, create in the corresponding directory creation-log.md(see template in references/creation-log-template.md)。
    • At the start of each session or when switching Phase, you must first read this file to synchronize status。
  2. Real-time updates:
    • At the end of each Phase or after an in-depth discussion reaches a conclusion,Proactive updatethis file.
    • Record: current phase, consensus reached (outline/points), discussion conclusions, TODO, user preferences.
  3. Anti-redundancy: use "overwrite-style updates" or "concise summaries", keeping only decision information to avoid bloat.

Automated workflow and node confirmation (mandatory enforcement)

  1. Mandatory status update: after completing the tasks of each Phase, you must send the user a [process progress bar]:
    ---
    ✅ 已完成:Phase X(阶段名称)
    ⏳ 待开始:Phase Y(阶段名称)
    ---
    
  2. Proactively ask at pauses: it is strictly forbidden to remain silent at the end of a phase.
    • Especially after Phase 5 (review) ends, you must ask: "The current review is complete, and the final draft is ready. Shall we proceed directly to [Phase 6: Beginning and Ending Refinement], or do you need to make further manual fine-tuning based on the review results?"
  3. Context anchor: always keep in mind that the ultimate goal is to complete all 9 phases. If the user has not said "stop", you are responsible for guiding the user to the next node.

Language rules

  • Use Chinese when interacting with the user
  • Do not use emoji icons in the article body
  • All questions must include 3-5 reference answer examples to lower the threshold for user responses
  • Ask only one question at a time; do not throw out multiple questions at once

Session interruption recovery

If the conversation is interrupted midway through the workflow (such as closing the window or coming back after switching topics), when resuming:

  1. Ask the user which Phase they were on last time
  2. Confirm whether the existing outputs (outline, first draft, etc.) are still valid
  3. Continue execution from that Phase; there is no need to redo the previous steps

Segmented revision principles (Token optimization)

When the user requests article revisions,blindly rewriting the entire article is prohibited. Divide into three levels according to the scope of revision:

Level Judgment condition Operation
Full rewrite Changing the topic, changing the direction of the argument, restructuring Rewrite the full text after informing the user of the reason
Paragraph group revision Changes in the logical connections among multiple paragraphs Modify only the affected paragraphs, and list the scope
Local revision A certain paragraph, sentence, or point Change only that place; leave the rest unchanged

Execution rules: output only the revised part, use [...原文保持不变...] to mark unmodified paragraphs; after revision, show a before-and-after comparison; after completion, ask whether to view the full article.

Prohibition on narrative and background generation (absolute red line)

  1. Do not fabricate without authorization: it is strictly forbidden, without authorization, to add personal anecdotes, medical history, sentimental background, or fictional narrative plot elements (such as a person's life story, setbacks, etc.) to technical articles.
  2. Human touch detection point: if you believe that the article needs to "add human touch" or "narrative background" somewhere (such as the author's personal experience, story background, industry gossip, etc.),you must stop writing, and perform the following actions:
    • Ask the user: inform the user in list form where you suggest adding narrative content.
    • Provide options: A. [AI auto-generated]: Generate a brief background based on existing information. B. [User manual supplement]: Provide specific real experiences by the user. C. [Skip narration]: Keep it purely substantive output, go directly into technical details.
  3. Reject AI-flavored sentimentality: Strictly prohibit the use of typical AI writing clichés such as "an untold story," "at that very moment," "after enduring countless hardships," etc. All narration must serve the technical logic, not be sentimental for the sake of being sentimental.

Interaction protocol (must ask after outline confirmation)

After the article outline is completed, before entering Phase 4 writing,you must first ask the user: "I have identified X places in this article where narrative background can be added (e.g., Liu Qian's comeback background, your first-person feedback when trying to replicate it). Do you want me to generate them directly, have you supplement them, or skip them all and write only technical substance?"

Modular writing principles (mandatory)

Regardless of article length, during Phase 4 draft writing,generating the full text in one go is prohibited. You must strictly write in modules according to the outline structure:

  1. Output by chapter: Based on the outline's first-level headings, split the article into several modules (e.g., opening, part one, part two... ending).
  2. Confirm one by one: After generating one module, show it to the user and ask "Are you satisfied with this part? Do you need modifications or should I continue?"
  3. Final synthesis: After all modules are generated and confirmed correct, integrate them into a complete article for delivery.
  4. Advantages: Avoid logical confusion in long articles, and make it convenient for users to exercise fine-grained control over each stage.

Data privacy

All analysis is completed locally. Your articles and style profile will not leave your device.


Personal style system

my-articles/ personal material library

Users place articles they have written (Markdown or plain text) into the my-articles/ folder.

Reading strategy (Token optimization): See @references/style-guide.md. Core principles:my-style.md is the cache; prioritize reading it; only analyze articles on first use or when the user requests it (sample 3-5 articles, do not read all).

my-style.md style profile

This file is automatically generated and maintained by AI after analyzing the user's articles. For detailed operation guidelines, see @references/style-guide.md。

Personal material library management interface

Users can, atany time, trigger material library management through natural language. After AI identifies the intent, it pauses the current workflow, prioritizes handling it, and automatically returns to the workflow after completion. For detailed operation procedures and modification rules, see @references/style-guide.md in the "Personal material library management interface" section.


Workflow

Phase 0: Two-layer intelligent judgment

First layer -- task type judgment:

Signal Type Path
Input < 100 characters, no structure A. Brand-new writing Phase 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
User states "the idea is vague/the boundaries are unclear" A. Brand-new writing (mandatory reset) Phase 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Input 100-500 characters, with structured key points B. Has Brief Phase 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Input > 500 characters, coherent article C. Has draft Phase 5 -> 6 -> 7 -> 8 -> 9
Input 100-500 characters, scattered ideas D. Has an idea but no draft Phase 1 (streamlined) -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Explicitly says "help me revise/proofread" E. Proofreading only Phase 5 -> 9
Explicitly says "want to discuss/consult" F. Consultation Free-form conversation, can enter any Phase at any time
Says "view/modify style" "manage materials" G. Material library management Triggers the material library management interface (see Personal Style System)
Says "compare articles" H. Article comparison Triggers the comparison analysis interface (see new features below)

Layer 2 -- Context Detection:

Check whether the following resources are available (look in this Skill directory):

  • my-style.md Whether it already has content (non-template state) -- if so, match the style when writing
  • my-articles/ Whether it has files -- if so, materials can be retrieved later

The AI must inform the user of the judgment result: "I judge your input to be Type X, and will follow Path Y", and the user can correct it.

Fallback rule when classification is uncertain: When B and D are hard to distinguish (100-500 character input), default to the more complete path (D takes priority over B), and confirm with the user.


Phase 1: Requirement Clarification

Execution condition: Path A (full version) or Path D (streamlined version, only ask about missing dimensions)

Follow-up dimensions (5-8 questions, one at a time):

  1. Article type -- review/tutorial/opinion/story?
  2. Content format -- text only/text with images?
  3. Target readers -- who will read it?
  4. Writing goal -- what will readers gain after reading?
  5. Target word count -- how long do you want it to be?
  6. Publishing rhythm -- are you racing to catch a trend?
  7. Series relation -- standalone article or series?

For Path D: extract existing information from the user's input, and only ask about missing dimensions.


Phase 2: Market Research

Iron rule for information timeliness:

  • When searching, you must add the current year keyword, to ensure the latest information is obtained
  • Prioritize searches that include date filters
  • When information may be outdated, a timeliness reminder must be marked

Detailed research strategy and contingency plan: See @references/research-guide.md。

Research output: output according to the template in @references/research-templates.md .


Phase 3: In-depth Dialogue + Material Injection + Outline Co-creation (core stage)

3.1 Systematic follow-up

Ask one at a time, each with reference answers (core viewpoints, memorable quotes, writing style, pitfall reminders, structural preferences).

3.2 Material retrieval (prevent AI flavor in advance)

  1. Retrieve from the personal material library (my-articles/):

    • If my-style.md already has content: read and match the style.
    • If my-articles/ has files: retrieve related materials, and list them for the user to confirm.
  2. Retrieve from the reference article library (references/):

    • Review-type articles: If the user is writing a review, retrieve references/ai-review-articles/ as structural/angle references.
    • Opinion articles: If the user is writing an opinion piece, retrieve references/ai-opinion-articles/ as argumentation/logic references.
    • Tip: Proactively tell the user, "I found X similar reference articles. Would you like to draw on their structure or angle?"
  3. Interview-style material collection:

    • If none of the above material libraries contain relevant content, or the user wants to write about unique experiences:
    • "Interview" the user through conversation to collect 2-3 real experiences/cases.

3.3 Style preloading

  • If my-style.md already has content: read it and confirm "I will write in the following style: XX"
  • If the user provides a benchmark article to imitate: analyze its style characteristics
  • If neither is available: use a general style, which can be iterated later

3.4 Outline co-creation

Based on the above conversation, output a structured outline (title direction, target word count, core viewpoints, memorable points, structural plan). Checkpoint: The user must confirm the outline before entering Phase 4.

3.5 Long-form article splitting plan (new feature)

If the outline shows the article is too long (>3500 words) or has too many modules (>4), the AI proactively suggestswhether to split it into a series of articles. For detailed operations, see @references/series-split.md。


Phase 4: AI writes the first draft

Execution rules:

  1. Prohibition on narrative and background generation: Strictly follow the global rules; do not make things up without authorization.
  2. Modular writing: Write in modules according to the outline structure (opening, part one, part two... ending). After each part is generated, you must wait for user confirmation.
  3. Interaction protocol: Before writing, ask about narrative background needs (see global rules).
  4. Material first: Prioritize using the real materials collected in Phase 3 and the AI reviews/opinion articles in references.
  5. Style matching: Match the style characteristics in my-style.md .
  6. Word count control: Keep the word count within the target range (fluctuation no more than 10%).
  7. Mobile adaptation: Adapt paragraph length for mobile (3-5 lines per paragraph).
  8. Emoji enhancement: Use emoji icons appropriately to enhance readability (before titles, subtitles, and key points).
  9. Markdown conventions: Blockquotes (starting with > )A single quote must not exceed 300 characters; if it exceeds that, split it into multiple blockquotes or change it to body text.
  10. Information annotation: Mark uncertain points with [待确认: XXX]; mark points requiring user supplementation with [需要你补充: XXX]。
  11. Timeliness: When citing data/tools/policies, ensure the latest information is used.

Phase 5: Three rounds of review

The three rounds of review are executed in order. The user can choose to skip before each round begins. For the detailed checklist and rewriting examples, see @references/review-checklist.md。

First round: Content review (ensure it is "correct") Fact-checking, information timeliness check, logic check, structure check, sensitivity check.

Second round: Style review (ensure it is "easy to read") Remove boilerplate, split long sentences, make it conversational, add details, remove piled-up connectives, check for AI flavor.

Round 3: Detail polishing (ensure "refinement") Sentence rhythm, punctuation standards (Chinese em dashes, colons, periods, quotation marks, etc.), Chinese-English spacing, emoji usage, Markdown standards, WeChat official account formatting.

Mandatory inquiry after review completion: "The current review is complete and the final draft is ready. Shall we proceed directly to [Phase 6: Opening and Closing Refinement], or do you need to make further manual adjustments based on the review results?"


Phase 6: Opening and Closing Refinement

AI intelligently recommends suitable opening and closing modules based on the article type; the user confirms or customizes. For the complete template library, see @references/header-footer-templates.md。


Phase 7: Media Resources (Images + Videos)

This phase handles all media resources in the article: images and videos. For detailed workflow, generation modes, and annotation rules, see @references/media-guide.md。


Phase 8: Title and Summary Optimization

Title: Generate 3-5 candidates, each with an explanation of the strategy and recommendation rationale (suspense type, number type, pain point type, comparison type, question type). Summary: Generate 2-3 candidates (within 120 characters), suitable for WeChat forwarding cards.


Phase 9: Final Delivery

Output Deliverables:

  1. Complete Markdown manuscript (including opening and closing modules, media resource annotations)
  2. Article overview card: title, summary, word count, reading time, media resource list

Clean up temporary fragments (Clean-up): Before the task ends, check whether multiple intermediate fragments or temporary files were generated (such as segmented drafts, old versions). Ask the user how to handle them: A) One-click cleanup: Delete all intermediate fragments, keeping only the final merged draft. (Recommended) B) Keep all: Keep all files without deleting anything. C) Custom cleanup: Please list the specific file names you want to delete.

Style learning feedback: After delivery, prompt the user: "If you made manual edits to the article, you can save the edited version to the my-articles/ folder. I will learn from your edits, update my-style.md, and write more like you next time."


Extended Function Modules

Article comparison analysis

Triggered when the user wants to compare multiple articles. For detailed guide, see @references/article-compare.md。

Long article splitting plan

Automatically triggered when the outline is too long. For detailed guide, see @references/series-split.md。


Brief fast track

When the user provides a structured requirements document (Brief), skip Phase 1 and go directly to Phase 2. For the Brief template, see @references/brief-template.md。