# 公众号写作助手

> 微信公众号文章全流程创作技能。从选题构思到成稿排版的一站式写作助手，内置 Dan Koe 风格写作框架、AI痕迹智能去除、公众号专业排版输出。当用户需要撰写公众号文章、优化文章风格或排版输出时使用。

- **Type:** Skill
- **Install:** `agentstack add skill-laborany-laborany-wechat-writer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [laborany](https://agentstack.voostack.com/s/laborany)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [laborany](https://github.com/laborany)
- **Source:** https://github.com/laborany/laborany/tree/main/skills/wechat-writer
- **Website:** https://laborany.github.io

## Install

```sh
agentstack add skill-laborany-laborany-wechat-writer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 公众号写作助手

微信公众号文章全流程创作：选题写作 → 去AI味 → 排版输出。

## 工作流程概览

```
用户需求 → 阶段一：选题与写作 → 阶段二：去除AI味 → 阶段三：排版输出 → .html 文件
```

---

## 阶段一：选题与写作

### 步骤

1. **接收需求**：理解用户的写作主题、目标受众、核心观点
2. **信息补充**：如涉及新产品/技术，搜索相关信息补充背景
3. **选题方向**：提供 3-4 个选题方向（含标题 + 角度 + 预期受众）
4. **⏸ 等待用户确认选题**
5. **选择风格**：展示 `writers/` 目录下可用的写作风格
6. **⏸ 等待用户选择风格**（默认 Dan Koe）
7. **加载风格**：读取对应风格文件（如 `writers/dan-koe.md`），学习写作框架
8. **创作初稿**：按风格指南的文章结构完成初稿
9. **三遍审校**：
   - 第一遍：结构与逻辑（段落衔接、论点支撑）
   - 第二遍：风格与语感（是否符合所选风格要求）
   - 第三遍：细节与打磨（错别字、标点、格式）
10. **保存初稿**：输出为 Markdown 文件

### 写作风格速查

当前内置风格：

| 风格 | 文件 | 特点 |
|------|------|------|
| Dan Koe | `writers/dan-koe.md` | 深刻犀利、接地气、六段式结构 |

> 添加新风格：在 `writers/` 目录下新增 `.md` 文件即可，无需修改本文件。
> 风格文件应包含：核心DNA、文章结构、标题公式、格式规范、语气要求。

### Dan Koe 风格核心DNA

- 身份优先于行动：改变从认知开始
- 所有行为都有目的：拖延是保护机制
- 反对盲目专精：多元兴趣是超能力
- 写作即思考：表达不清说明没想清楚
- 像朋友聊天，不像老师讲课

六段式结构：钩子开场 → 痛点共鸣 → 价值承诺 → 核心内容 → 金句提炼 → 赋权结尾

---

## 阶段二：去除AI味

### 步骤

1. **加载指南**：读取 `references/humanizer.md`
2. **逐段扫描**：识别 24 种 AI 写作模式
3. **核心原则**：只改表达，不改逻辑和结构
4. **重写片段**：修正有 AI 痕迹的段落
5. **质量评分**：五维评分（直接性/节奏/信任度/真实性/精炼度，满分50）
6. **自动迭代**：若评分 ` 标签
- `` 样式会被剥离，必须用主 `` 容器承载全局样式
- 每个 `` 必须显式指定 `color`，否则被重置为黑色
- 禁止使用 flexbox、grid、position:absolute/fixed、animation
- 图片必须使用微信 CDN 域名

---

## 输出文件

每次完整执行产出两个文件：

| 文件 | 格式 | 用途 |
|------|------|------|
| `{标题}.md` | Markdown | 原始内容，可二次编辑 |
| `{标题}.html` | HTML | 排版成品，可直接粘贴到公众号编辑器 |

---

## 快捷用法

支持跳过某些阶段，直接执行特定任务：

| 用户说 | 执行阶段 |
|--------|----------|
| "写一篇关于XX的公众号文章" | 阶段一 → 二 → 三（完整流程） |
| "用 Dan Koe 风格写XX" | 阶段一（指定风格） → 二 → 三 |
| "去除这篇文章的AI味" | 仅阶段二 |
| "把这个 Markdown 排版成公众号格式" | 仅阶段三 |
| "用秋日暖光主题排版" | 仅阶段三（指定主题） |

---

## 风格扩展指南

### 添加新写作风格

1. 在 `writers/` 目录下创建 `{风格名}.md` 文件
2. 文件应包含以下部分：
   - 核心写作DNA（3-5条信念）
   - 文章结构模板（含每部分的写作指导）
   - 标题公式库（含示例）
   - 格式规范（段落/标记/标点）
   - 语气要求（要做到 vs 要避免）
3. 无需修改 SKILL.md，技能会自动扫描 `writers/` 目录

### 风格文件命名规范

- 使用小写英文 + 连字符：`paul-graham.md`、`naval.md`
- 文件开头注明风格名称和一句话描述

---

## 参考文件索引

| 文件 | 内容 | 加载时机 |
|------|------|----------|
| `writers/dan-koe.md` | Dan Koe 写作风格完整指南 | 阶段一：选择该风格时 |
| `references/humanizer.md` | 24种AI模式识别与修正指南 | 阶段二：去AI味时 |
| `references/html-guide.md` | 微信公众号HTML技术规范 | 阶段三：排版时 |
| `references/themes.md` | 排版主题定义与样式模板 | 阶段三：选择主题时 |

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [laborany](https://github.com/laborany)
- **Source:** [laborany/laborany](https://github.com/laborany/laborany)
- **License:** MIT
- **Homepage:** https://laborany.github.io

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-laborany-laborany-wechat-writer
- Seller: https://agentstack.voostack.com/s/laborany
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
