PlugWiki

dbs-wechat-html Skill for Claude Code: WeChat HTML

Turns a Markdown article into inline-styled HTML that you can paste into the WeChat Official Account editor, in one of 15 built-in styles.

Installs
18.7K
on skills.sh
Stars
11K
on GitHub
Files
2
besides SKILL.md
Updated
Oct 2026
last repo commit

You give the agent a Markdown article, and it writes HTML files you open in a browser, select all, copy and paste into the WeChat Official Account editor. Every style is written as inline CSS on each element so the layout survives the paste. You can ask for one style, a recommended one, six recommended styles or all 15 with a preview page.

The skill and its prompts are written in Chinese. It does not rewrite or polish your text and does not publish to WeChat. It also drops the first top-level heading from the body by default, because the WeChat editor has its own title box.

Good for

  • Chinese-language writers who publish on WeChat Official Accounts
  • Content teams that want to compare several visual styles for one article
  • Developers who write in Markdown and need clean paste-ready HTML

Install dbs-wechat-html

Claude Code

  1. 1

    Copy this prompt.

    Install the dbs-wechat-html skill in Claude Code. Run this command:
    
    npx skills add https://github.com/dontbesilent2025/dbskill --skill dbs-wechat-html
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

From its listing on skills.sh. Source.

What's in the skill

When it loads

把 Markdown 转成可粘贴到微信公众号后台的 HTML,并提供 15 种内置风格。用户要求生成公众号 HTML、制作微信版本或排版公众号文章时使用。

Sections in SKILL.md

  1. 核心能力
  2. 微信粘贴兼容性
  3. 1. 可见样式必须写在具体元素上
  4. 2. 禁止依赖复制时会丢失的能力
  5. 3. 使用扁平结构
  6. 4. 使用稳定 CSS 子集
  7. 5. 粘贴稳定版骨架
  8. 6. 默认消除公众号双标题
  9. 选择模式
  10. 1. 用户没有指定风格或模式
  11. 2. 用户表达清楚时直接生成
  12. 3. 参数优先级
  13. 15 个内置风格
  14. 默认推荐 6 个
  15. 完整风格池
  16. 自然语言映射

Key facts

Installs on skills.sh
18,748 as of 2026-11-02
Last repo commit
2026-10-28

What it includes

  • Stops and asks when you give no style

    If you pass only a file, the agent asks you to choose between one recommended style, six recommended styles, all 15, or a style you name.

    Read · Ask which mode

  • Generate one named style

    Writes one HTML file for the style id you choose, then opens it. The file name includes the style name.

    Try: “Use dbs-wechat-html on article.md with --style medium.”

    Write · --style <id>

  • Pick the best-fitting style

    The agent chooses the style that fits the article, using a table that maps phrases such as tutorial, changelog or business analysis to style ids.

    Write · --recommend

  • Six recommended styles plus an overview page

    Generates minimal, medium, stripe, wired, ft and course, an overview page and a style catalog, then opens the overview.

    Write · --preview

  • All 15 styles plus an overview page

    Generates every style in the library with the overview page and catalog so you can compare them in the browser.

    Write · --all

  • How each element is converted

    Headings, paragraphs, quotes, lists, bold, code and rules become HTML elements. Tables turn into lists, images stay as text placeholders, and links stay as text.

    Write · Markdown to HTML rules

  • Static checks on the output

    Checks that the HTML has no style tags, classes, scripts or external URLs. It suggests running xmllint and a search with rg on the output.

    Runs code · Delivery checks

From the official docs

Permissions

Low risk

It writes new HTML files and opens them on your machine, and its rules edit some punctuation in your text. Read the output before you paste it into a live account.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It changes some punctuation

    The conversion rules remove the Chinese full stop at the end of each paragraph. Compare the output with your source before you publish.

  • Non-commercial license

    The repo README says CC BY-NC 4.0. Contact the author before using it for commercial work.

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only mode. The skill writes HTML files and opens them.
Scopes
  • Reads your Markdown file or pasted text

  • Writes an output folder named 公众号HTML输出 next to the source file, or in the current folder

  • Opens the generated HTML after writing it

  • May run xmllint and rg to check the output

Questions

What does dbs-wechat-html do?

It converts a Markdown article into HTML that you can paste into the WeChat Official Account editor. It applies one of 15 styles and writes every style as inline CSS so the layout holds after the paste.

How do I install it?

Use the install box at the top of this page. The repo README also gives a command that installs the whole dbskill set, which is more than you need for this one.

Does it work with English text?

The skill and its prompts are in Chinese, and it is built for WeChat Official Account articles. SKILL.md does not say anything about other languages, so try it on a short English file first.

Does it rewrite my article?

No, SKILL.md says it does not rewrite, diagnose or polish. It does remove the Chinese full stop at the end of each paragraph, and it drops the first top-level heading from the body unless you ask to keep it.

Can I use it for paid work?

Check with the author first. The repo README says CC BY-NC 4.0, which allows non-commercial use with credit and asks commercial users to contact the author. GitHub does not detect a standard license.

Is it safe?

It reads your Markdown and writes HTML files and opens them locally, and its rules tell it not to load outside fonts, CSS, images or scripts. Review the output before pasting it into your account.

Information

updated Nov 2, 2026

Folder
skills/dbs-wechat-html

dontbesilent2025/dbskillskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 5
  1. dbs-wechat-html SKILL.md · github.com
  2. dontbesilent2025/dbskill README · github.com
  3. dbs-wechat-html styles.md · github.com
  4. dbs-wechat-html on skills.sh · skills.sh
  5. dontbesilent2025/dbskill · github.com

Updated Nov 2, 2026.