SuperAPI AI Directory

wechat-writer-kit

General & other

View repository

Updated 10-16 08:44

About this skill

WeChat Official Account Writing Assistant (General Version)

Suitable for any WeChat Official Account direction, supports multi-account management. Profiles and styles are saved in the user workspace; the skill itself does not contain any account information.


Workflow Overview

首次使用 → 初始化公众号画像(Step 0)
多账号   → 切换账号(Step 0-B)
日常写作 → 选题推荐 → 确认 → 创作 → 存档(Step 1-4)
持续优化 → 更新风格 / 标记优质文章(Step 5)

Step 0-A: Initialize WeChat Official Account profile (first use / new account)

Trigger conditions: references/profiles/ The directory is empty, or the user says "create a new WeChat Official Account" or "initialize".

Ask the user all questions at once (do not split into multiple rounds):

我需要了解你的公众号,3个问题一次回答就好:

1. 公众号名称和定位是什么?(做什么的,解决读者什么问题)
2. 目标读者是谁?(年龄、身份、关注点、核心痛点)
3. 内容风格偏好?(希望读者看完什么感觉,有哪些写作偏好或禁忌)

如果你有多个公众号,可以逐个告诉我,我会分别建档。

After receiving the answers:

  1. Generate a short account identifier (such as "fitness", "parenting", "workplace") to use as the filename
  2. Write the content to references/profiles/account-{标识符}.md, format see references/profile-template.md
  3. Write the current account identifier to references/active-account.md
  4. Inform: "Recorded, no need to repeat it later. Say 'switch to xxx account' or 'update style' anytime to modify."

Step 0-B: Switch account (multi-account users)

Trigger conditions: The user says "switch to xxx account", "change account", "use xxx's profile", or references/profiles/ there are multiple files under it.

  1. List all current accounts (read references/profiles/ all files under it)
  2. After the user selects, update references/active-account.md to the corresponding identifier
  3. Confirm: "Switched to 'xxx', next we will follow this account's style."

If the user has not specified, before starting topic selection first ask "You have multiple accounts, which one are we writing for this time?"


Step 1: Daily topic selection (trigger words: "what to write today", "give me topic ideas")

  1. Read references/active-account.md to determine the current account
  2. Read the corresponding references/profiles/account-{标识符}.md to get the profile and keywords
  3. Read references/article-index.md to exclude topics that have already been written

Perform search:

  • Use web_search to search: account core keywords + trending topics
  • Search again:今日热搜, to capture social sentiment and topical resonance points
  • Filter out unsuitable directions based on the "content taboos" in the profile

Output 5 topic ideas, format:

### 选题 N:[标题草案]
- 核心角度:这篇文章的核心洞察(一句话)
- 热度来源:为什么现在写这个(时机/共鸣点)
- 预计共鸣:哪类读者会转发
- 标题备选:2-3 个不同风格的标题

Finally ask: "Which direction do you prefer? Or do you have new ideas?"


Step 2: Topic confirmation

After the user selects, briefly follow up (can be skipped):

  • Core viewpoint you want to convey (one sentence)?
  • Do you have specific material/stories/cases?

If the user says "just write it" → skip the follow-up and enter Step 3.


Step 3: Article creation

  1. Read the current account profile (references/profiles/account-{标识符}.md) style requirements
  2. Read the general writing guidelines (references/writing-rules.md)
  3. Write according to the profile style + general guidelines

Writing requirements:

  • Title first, provide 2-3 alternatives
  • Default medium length (1500-2500 words), the user can specify the length
  • Strictly follow the anti-AI tone requirements in writing-rules.md Anti-AI-tone requirements in
  • Style takes priority based on the "Writing Preferences" in the account profile; when the profile has no special instructions, use the general specifications by default

Step 4: Automatic Archiving (Optional)

After the article is completed, ask: "Do you want to save it to a WeCom document?"

After the user confirms:

  1. Call the wecom-doc skill to save the article to a WeCom document
  2. Update references/article-index.md(title, date, account, document link)
  3. Tell the user the document link

Document naming:[日期][账号] 文章标题, e.g. [2026-04-03][健身] 40岁后你更需要的是撸铁而不是跑步


Step 5: Continuously Update Style

Trigger words: "Update the official account style", "This article is well written", "Change the style to... from now on", "Remember this style"

Scenario A: The user proactively updates the style

Read the current account profile, update the corresponding fields according to the user's description, and inform the user of what has been updated.

Scenario B: The user marks a high-quality article

  1. In references/article-index.md , mark the article as ⭐ 优质
  2. Extract the writing highlights (title structure, opening method, rhythm, angle, etc.)
  3. Append to the "High-Quality Article Patterns" section of the current account profile

Format:

## 优质文章规律(持续积累)
- [日期] 《标题》:亮点描述

File structure description

references/
├── profiles/
│   ├── account-{标识符}.md   ← 各账号画像(用户数据,自动生成)
│   └── ...
├── active-account.md          ← 当前激活的账号标识符
├── profile-template.md        ← 画像模板(引导用户填写的格式)
├── writing-rules.md           ← 通用写作规范(与账号无关)
└── article-index.md           ← 文章存档索引(所有账号共用)