wechat-formatter SKILL.md skillA

wechat-formatter from yishu5/claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yishu5/claude-skills/wechat-formatter@git:20260513.51731dc

Pins git:20260513.51731dc in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yishu5/claude-skills
Path
skills/wechat-formatter/SKILL.md
Versions recorded
1
Latest version
git:20260513.51731dc, committed May 13, 2026
Size
3,311 bytes
Repository stars
132
License
MIT

把 Markdown 文稿转换成微信公众号可用的内联样式 HTML。**触发场景**:用户说 "把 markdown 转成公众号能用的 HTML" / "排版一下这篇文章" / "套个主题" / "微信编辑器不识别我的样式" / 任何提到「公众号排版 / 微信 HTML / md 转 html / doocs 主题」的请求。微信编辑器不识别 `<style>` 标签,必须把所有 CSS 内联到每个 HTML 元素的 style 属性里——本 skill 用 doocs/md 主题完成这件事。本 skill 只负责格式转换;写作交给 wechat-writer,发布交给 wechat-publisher。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# wechat-formatter · Markdown → 微信 HTML

只解决一件事:**把 Markdown 转成微信编辑器粘贴后样式不丢的 HTML**。

## 核心问题

微信公众号编辑器**不识别** `<style>` 标签和 CSS class。所以普通的 `markdown → html` 转换器输出的 HTML 粘到微信里会变成裸文本,所有样式全丢。

唯一可靠方案:**所有 CSS 都内联到元素的 `style="..."` 属性里**。doocs/md 是这件事的开源标准,本 skill 直接调用它。

## 使用方法

```bash
python3 scripts/markdown_to_wechat_doocs.py \
  --input drafts/article.md \
  --output drafts/article.html \
  --theme <主题名>
```

输出的 HTML 可以直接复制粘贴到微信公众号编辑器,样式全部保留。

## 主题选择

8 个主题,按文章**内容氛围**选(不只看标题关键词):

| 文章基调 | 推荐主题 | 适用 |
| --- | --- | --- |
| 温暖、励志、有人情味 | `orange` | 个人成长 / 励志 / 鸡汤 / 故事 |
| 专业、理性、技术感 | `blue` | 技术评测 / 工具教程 / 商业分析 |
| 清新、自然、放松 | `green` | 健康养生 / 户外 / 环保 |
| 文艺、清爽、小清新 | `cyan` | 文艺随笔 / 旅行 / 生活美学 |
| 优雅、高端、品牌 | `purple` | 品牌故事 / 艺术文化 / 设计 |
| 简约、高级、极简 | `black` | 摄影 / 极简主题 / 严肃话题 |
| 热情、节日、醒目 | `red` | 节日 / 重要通知 / 活动 |
| 甜美、浪漫、少女 | `pink` | 情感 / 美妆 / 少女向 |

**选择原则**:读完 Markdown 后,问自己"这篇要给读者什么情绪",再选主题。**不要靠标题关键词匹配**(比如标题里没"励志"也可能是励志文)。

**如果用户已在 `.env` 设了 `MARKDOWN_THEME`**:除非用户明确说"换个主题",否则用 `.env` 里的。

## 输出验收

转出来的 HTML 必须:
- [ ] 不包含 `<style>` 标签(所有样式必须内联)
- [ ] 不包含 CSS class(微信不解析)
- [ ] 图片如果是本地路径 → **必须先用 wechat-publisher 的 upload_material.py 换成微信 URL**,否则发布后图片裂掉

## 不做的事
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yishu5/claude-skills/wechat-formatter@sha256:8be430c5e38812d7

The line at the top of this page pins the label git:20260513.51731dc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lrkgftkeuoifwykf.svg)](https://markdownregistry.com/a/art_lrkgftkeuoifwykf)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on May 13, 2026.

versioncommittedcommitsizeaudit
git:20260513.51731dc latest2026-05-13 51731dc 3,311 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3311 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yishu5/claude-skills · 132 stars · license MIT · pushed 2026-10-29 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_lrkgftkeuoifwykf
GET https://markdownregistry.com/api/v1/resolve?ref=yishu5/claude-skills/wechat-formatter
GET https://markdownregistry.com/api/v1/blob/8be430c5e38812d7d936202f52af995f31eea5dc838ba44e1b8cd94ad36ad992

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yishu5/claude-skills

HTMLHero.skill SKILL.md skill
yishu5/claude-skills · skills/HTMLHero.skill/SKILL.md · Build or extend a runnable, responsive Hero first screen for an HTML/React site or web presentation when the user…
git:20260920.a199105 · audit A · 132 stars
HTMLPPT.skill SKILL.md skill
yishu5/claude-skills · skills/HTMLPPT.skill/SKILL.md · Build or extend a runnable multi-slide HTML presentation from an existing Hero visual system or frontend project. Use…
git:20260920.a199105 · audit A · 132 stars
clawd-animation-lite SKILL.md skill
yishu5/claude-skills · skills/clawd-animation-lite/SKILL.md · Clawd 像素风动画生成器(轻量版)。根据用户的自然语言描述,生成1-3秒的简短clawd动画,当用户的需求的互动场景较为具体和单一,请采用轻量版本生成token消耗少、生成速度快的HTML像素风动画文件。主角是 Claude Code…
git:20260507.b7f0cc7 · audit B · 132 stars
clawd-animation SKILL.md skill
yishu5/claude-skills · skills/clawd-animation/SKILL.md · Clawd 像素风动画生成器。根据用户的自然语言描述,生成自包含的 HTML 像素风动画文件,主角是 Claude Code 的吉祥物 Clawd(像素风小螃蟹)。当用户提到 clawd、clawd 动画、像素动画、pixel…
git:20260507.b7f0cc7 · audit B · 132 stars
self-improving-agent SKILL.md skill
yishu5/claude-skills · skills/self-improving-agent/SKILL.md · Low-noise self-improvement skill. Captures learnings, errors, and corrections into a local `.learnings/` cache layer…
git:20260316.6f79809 · audit A · 132 stars
vibe-coding-prd SKILL.md skill
yishu5/claude-skills · skills/vibe-coding-prd/SKILL.md · 把需求、原始 PRD、竞品分析、零散笔记或模糊产品想法提炼成可直接发给 Claude Code、Codex 或其他编码 Agent 的精简中文 Markdown PRD。触发:用户说“帮我写一个用来vibe…
git:20260702.5be0cf2 · audit A · 132 stars
vibe-writing SKILL.md skill
yishu5/claude-skills · skills/vibe-writing/SKILL.md · Use when drafting, rewriting, reviewing, or planning Chinese long-form content for public accounts, blogs, newsletters…
git:20260715.7b52dd7 · audit A · 132 stars
wechat-coauthor SKILL.md skill
yishu5/claude-skills · skills/wechat-coauthor/SKILL.md · 协助意疏写「意疏的AI口袋」公众号文章。Claude 是协作者不是写手——voice 必须从意疏嘴里出来,AI 负责结构化、扩写、降 AI 味。触发:写公众号文章 / 帮我整理口述 / 有素材但想不清 / 这段 AI 味太重 /…
git:20260515.45d75b3 · audit A · 132 stars
wechat-publisher SKILL.md skill
yishu5/claude-skills · skills/wechat-publisher/SKILL.md · 微信公众号文章的发布管道——封面生成、本地图片上传素材库、创建草稿、发布草稿、以及从 mp.weixin URL 提取原文。**触发场景**:用户说 "发到公众号草稿箱" / "推送到公众号" / "做张公众号封面" /…
git:20260513.51731dc · audit A · 132 stars
会记成报 SKILL.md skill
yishu5/claude-skills · skills/会记成报.skill/SKILL.md · 将会议转写稿、会议笔记或聊天记录整理为可核对的会议纪要、用户本人的日报和周报素材卡,并可把本周多份已确认日报按事项合并去重生成周报。适用于:会议结束后需要沉淀纪要、待办(负责人、截止时间、完成状态);需要从会议中提取个人日报;周五需要把多份…
git:20260911.5fc2c27 · audit A · 132 stars
fangpian-brand-kit SKILL.md skill
yishu5/claude-skills · skills/方片/fangpian-brand-kit/SKILL.md · 方片新媒体(FANG PIAN / 方片,含方片母婴、方片时尚、方片家居等子品牌)官方品牌视觉规范与素材库。当需要为方片制作或修改任何视觉物料时使用——海报、小红书封面、PPT/幻灯片、公众号头图、数字人/短视频包装、头像、Banner、易…
git:20261016.5966704 · audit A · 132 stars
fangpian-course-deck SKILL.md skill
yishu5/claude-skills · skills/方片/fangpian-course-deck/SKILL.md · 方片新媒体(KOS 培训部 / 各业务线)对内培训课件的标准化模板与制作法,复刻《方片 AI 小白实战课》的"奶油底 + 方片黄 + 小老虎老师"品牌化课件风格。当需要为方片制作或改做任何教学/培训/内训/课程类幻灯片时使用——AI…
git:20261016.5966704 · audit A · 132 stars

Every file in yishu5/claude-skills

Other files named wechat-formatter

wechat-formatter SKILL.md skill
jianing1117/jianing-skills · wechat-formatter/SKILL.md · 把一篇 Markdown 格式的文章转成可直接粘贴到微信公众号编辑器的 HTML 推文 + 900x383px 封面图片,沿用「加宁慢慢来」品牌视觉规范。当用户说"排版公众号""帮我生成推文""把这篇文章转成公众号格式""做微信封面""We…
git:20261030.fc9bb03 · audit F · 329 stars

Browse by kind, by grade A, or by owner.