wechat-publisher-one
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "wechat-publisher-one" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6e13f76ccd45834d6a81c54cc35217b5aecb8f8127412ca09f76434d72d95450. Verify the upstream source and version against https://skillhub.cn/skills/user_442551c3/wechat-publisher-one before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
wechat-publisher-one: An automatic layout and image-publishing tool for WeChat Official Accounts. It can publish Markdown/HTML/plain-text content to accounts with one click, includes 4 layout themes and 14 color schemes, automatically converts external links to footer references, supports image-and-text posting mode, offers both API and browser publishing channels, and supports multi-account management. Example triggers: "publish to official account", "account layout", "mass article", "WeChat post", "official account publish".
Introduction source: third_party · user_442551c3 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: wechat-publisher
description: >
微信公众号全自动排版配图发布专家。将 Markdown/HTML/纯文本内容一键发布到微信公众号,
内置 4 套排版主题 + 14 种配色方案,自动外链转底部引用,支持图文贴图模式,
提供 API 和浏览器双通道发布,支持多账号管理。当用户说"发布公众号""公众号排版"
"群发文章""微信推文""公众号发布"时触发。
author: Marvis
version: 1.0.0
tags: [微信公众号, 排版, 自动发布, 内容创作, Markdown转推文]
pricing: "付费(19.9元)"微信公众号全自动排版配图发布专家
核心目标
一站式解决"写完文章到公众号发布"之间的所有繁琐步骤。你只需要提供内容,我负责排版、配图、链接处理、发布全流程。
七大能力模块
一、内容解析引擎
支持三种输入格式,自动识别并规范化:
| 格式 | 说明 | 处理策略 |
|---|---|---|
| Markdown | 含标题/列表/代码块/表格/图片/引用 | 保留语义结构,映射到微信富文本 |
| HTML | 含内联样式/div 布局 | 清洗冗余标签,提取内容层级 |
| 纯文本 | 无格式纯文字 | 按段落自动分段,智能识别标题候选 |
解析流程:
- 自动识别输入格式
- 提取标题层级(H1-H6)
- 识别列表(有序/无序)、引用块、代码块
- 检测图片链接(本地路径 → 自动上传微信素材库)
- 检测表格 → 转为微信兼容的富文本表格
二、排版主题引擎(4 套预设 + 自定义)
| 主题 ID | 主题名称 | 风格描述 | 适用场景 |
|---|---|---|---|
minimal |
极简阅读 | 大段间距、无衬线字体、留白充足 | 深度长文、专栏、随笔 |
business |
商务正式 | 紧凑排版、强调层级、标题醒目 | 企业公告、行业分析、报告 |
magazine |
杂志图文 | 首字下沉、分割线装饰、图文穿插 | 生活方式、旅行、美食 |
tech |
科技极客 | 代码高亮、等宽字体、深色引用块 | 技术教程、产品文档 |
每套主题自动适配:
- 正文字号(14px-17px 可调)
- 行间距(1.5-2.0 可调)
- 段间距(0.5em-1.5em 可调)
- 标题样式(颜色/字号/加粗/下划线)
- 引用块样式(左侧边框颜色/背景色)
- 两端缩进(0-1em)
三、配色方案库(14 种预设)
| 编号 | 方案名称 | 主色 | 辅色 | 背景 | 气质 |
|---|---|---|---|---|---|
| C01 | 经典黑金 | #1A1A1A | #C9A96E | #FAFAFA | 高端奢华 |
| C02 | 深海蓝 | #1B3A5C | #4A90D9 | #F5F8FC | 专业沉稳 |
| C03 | 森林绿 | #2D5016 | #6B8E23 | #F8FBF6 | 清新自然 |
| C04 | 暖橙 | #D4722A | #F0A050 | #FEFAF5 | 温暖活力 |
| C05 | 樱花粉 | #C44D7A | #E8A0B4 | #FEF9FB | 温柔女性 |
| C06 | 石墨灰 | #333333 | #888888 | #F5F5F5 | 极简冷淡 |
| C07 | 暗夜紫 | #3D1E6E | #7B4FBF | #F9F6FE | 神秘创意 |
| C08 | 薄荷青 | #0D7377 | #14A3A8 | #F4FCFC | 清爽科技 |
| C09 | 落日红 | #C0392B | #E74C3C | #FEF9F8 | 热烈醒目 |
| C10 | 奶茶棕 | #8B6914 | #C4A45A | #FDFAF3 | 文艺复古 |
| C11 | 极光蓝绿 | #006064 | #00ACC1 | #F5FCFD | 未来感 |
| C12 | 珊瑚橘 | #E86850 | #F48C7A | #FFF8F6 | 元气活泼 |
| C13 | 雾霾蓝 | #5B7B9A | #8EACCD | #F7F9FB | 柔和内敛 |
| C14 | 象牙白 | #4A4A4A | #8C8C8C | #FFFDF7 | 纸质阅读感 |
每套配色自动应用到:标题色、链接色、引用块边框色、代码块背景色、分割线色、强调文字色。
四、外链处理模块
微信限制:正文中不得含有未备案域名的外链,且外链过多会影响阅读体验。
处理策略:
- 内链白名单:微信域名(mp.weixin.qq.com)直接保留
- 外链转引用:所有外部链接提取后移至文末「参考资料」区块
- 锚点替换:正文中原链接位置替换为
[^1][^2]上标序号 - 底部渲染:自动生成格式化的参考资料列表
示例:
正文:"点击查看[这篇文章](https://example.com/article)了解更多"
↓
正文:"点击查看这篇文章[1]了解更多"
底部:
---
参考资料
[1] https://example.com/article
五、图文贴图模式
适用场景:超长文章(5000+ 字)、含复杂排版的文章、需要防复制的内容。
流程:
- 按微信预览宽度(375px × 自动高度)渲染 HTML
- 自动分页(每张图片高度 ≤ 8000px,避免微信压缩)
- 图片上传微信素材库
- 以图片消息形式发布
优势:完美还原排版,不受微信编辑器限制;劣势:不可选中文字、加载略慢。
六、双通道发布引擎
通道 A:API 发布(推荐)
前置条件:
- 已认证的微信公众号(服务号或订阅号)
- 在微信公众平台后台获取 AppID + AppSecret
- 配置 IP 白名单
支持操作:
- 上传图片素材到微信服务器
- 创建草稿
- 预览推文(发送到指定微信号)
- 发布(群发或发布不通知)
- 查询发布状态
通道 B:浏览器发布(兜底)
适用场景:未认证公众号、API 调用受限、需要人工复核。
流程:
- 打开浏览器访问
https://mp.weixin.qq.com - 用户扫码登录(手动完成)
- 模拟点击进入「图文消息」编辑器
- 自动粘贴排版后的内容
- 上传封面图
- 填写摘要
- 用户确认后发布 / Agent 自动发布
七、多账号管理
- 支持保存多个公众号的 AppID/AppSecret(加密存储)
- 发布时切换目标账号
- 每个账号独立保存发布历史
- 支持账号别名(如"公司主号""个人号""客户A")
完整工作流程
用户输入文章 + 需求
│
▼
[1] 内容解析:识别格式,提取结构
│
▼
[2] 主题选择:用户指定 or 根据文章类型推荐
│
▼
[3] 配色选择:用户指定 or 根据主题自动匹配
│
▼
[4] 排版渲染:生成微信兼容的富文本 HTML
│
▼
[5] 外链处理:提取外链 → 底部引用
│
▼
[6] 图片处理:本地图片上传素材库
│
▼
[7] 发布预览:展示排版效果,用户确认
│
▼
┌─ API 通道 ─────────────┐
│ → 创建草稿 │
│ → 可选:发送预览到手机 │
│ → 发布 │
└────────────────────────┘
或
┌─ 浏览器通道 ────────────┐
│ → 打开 mp.weixin.qq.com│
│ → 用户扫码登录 │
│ → 自动填入编辑器 │
│ → 用户确认后发布 │
└────────────────────────┘
输入规则
- 内容:Markdown / HTML / 纯文本(至少 50 字)
- 可选:指定主题 ID(如
minimal) - 可选:指定配色编号(如
C01) - 可选:指定发布通道(
api/browser) - 可选:目标公众号别名
- 可选:图文贴图模式(
image) - 可选:封面图路径
输出格式
每次发布完成后输出:
✅ 发布成功
公众号:公司主号
文章标题:[标题]
发布方式:API
排版主题:极简阅读(minimal)
配色方案:经典黑金(C01)
处理外链:3 条 → 已转底部引用
素材图片:5 张已上传
质量检查清单
发布前自动校验:
- [ ] 标题长度 ≤ 64 字(微信限制)
- [ ] 正文无外链残留(已全部转底部引用)
- [ ] 图片已上传微信素材库(非本地路径)
- [ ] 封面图尺寸 ≥ 900×500px
- [ ] 摘要 ≤ 120 字
- [ ] 无敏感词(政治/色情/暴力等)
- [ ] 代码块可正常显示
- [ ] 表格宽度适配手机屏幕
约束与边界
- 不存储用户的 AppSecret 明文,仅内存中使用
- 不在未授权情况下操作用户公众号
- 发布前必须展示预览效果供用户确认
- 浏览器通道发布时,用户需自行扫码登录
- API 通道需要公众号已通过微信认证
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 一站式解决公众号内容从写作到发布的完整流程,显著提升内容创作者效率
- 支持 Markdown/HTML/纯文本多格式输入,内置 4 套排版主题与 14 种配色方案
- 独创外链转底部引用机制,完美规避微信外链限制
Highlights
- 触发词覆盖全面,包含"发布公众号""公众号排版""群发文章"等用户高频表达
- 边界清晰,不易与其他 Skill 产生误触
Highlights
- 文档结构完整,七大能力模块划分清晰,工作流程可视化
- 提供完整输入输出规范与质量检查清单,便于用户理解与执行
Areas to improve
-
description重复定义 Reported severity: Minor
顶层 frontmatter 与 skill_body 内部均定义了 description 字段
Recommendation: 建议仅在顶层 frontmatter 保留 description,删除 skill_body 内重复内容以避免冗余
Highlights
- 双通道发布设计(API+浏览器)保障不同场景下的可用性
- 发布前强制预览与确认机制,避免误操作
- 自动敏感词检测与格式校验提升发布成功率
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- example.com
- mp.weixin.qq.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.