/ Verzeichnis / Playground / wechat-article-formatter-skill
● Community iamzifei ⚡ Sofort

wechat-article-formatter-skill

von iamzifei · iamzifei/wechat-article-formatter-skill

Format markdown articles for 微信公众号 publishing — turn a draft into properly-styled WeChat-ready HTML with one prompt.

WeChat公众号's editor is notoriously picky about HTML. This skill takes a Markdown article and produces the inline-styled HTML WeChat accepts — headings, quotes, code blocks, images all rendered in your chosen theme. Supports custom styling.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

wechat-article-formatter-skill.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "wechat-article-formatter-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/iamzifei/wechat-article-formatter-skill",
        "~/.claude/skills/wechat-article-formatter-skill"
      ],
      "_inferred": true
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "wechat-article-formatter-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/iamzifei/wechat-article-formatter-skill",
        "~/.claude/skills/wechat-article-formatter-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "wechat-article-formatter-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/iamzifei/wechat-article-formatter-skill",
        "~/.claude/skills/wechat-article-formatter-skill"
      ],
      "_inferred": true
    }
  }
}

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "wechat-article-formatter-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/iamzifei/wechat-article-formatter-skill",
        "~/.claude/skills/wechat-article-formatter-skill"
      ],
      "_inferred": true
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "wechat-article-formatter-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/iamzifei/wechat-article-formatter-skill",
        "~/.claude/skills/wechat-article-formatter-skill"
      ]
    }
  ]
}

Continue nutzt ein Array von Serverobjekten statt einer Map.

~/.config/zed/settings.json
{
  "context_servers": {
    "wechat-article-formatter-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/iamzifei/wechat-article-formatter-skill",
          "~/.claude/skills/wechat-article-formatter-skill"
        ]
      }
    }
  }
}

In context_servers hinzufügen. Zed lädt beim Speichern neu.

claude mcp add wechat-article-formatter-skill -- git clone https://github.com/iamzifei/wechat-article-formatter-skill ~/.claude/skills/wechat-article-formatter-skill

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: wechat-article-formatter-skill

Publish a technical article to 公众号 without formatting pain

👤 Chinese-speaking tech writers, 运营 ⏱ ~10 min beginner

Wann einsetzen: You wrote in Markdown and need to post to WeChat within 15 minutes.

Voraussetzungen
  • Skill installed — git clone https://github.com/iamzifei/wechat-article-formatter-skill ~/.claude/skills/wechat-article-formatter-skill
Ablauf
  1. Feed the draft
    使用 wechat-article-formatter-skill. 这是我的Markdown文章,帮我转成公众号可用的HTML:[paste draft]✓ Kopiert
    → Inline-styled HTML output with proper heading hierarchy
  2. Tweak the theme
    把主色从蓝色换成绿色,正文字号略小一点。✓ Kopiert
    → Updated HTML with theme diff
  3. Copy and paste
    给我最终版本,我要复制到公众号编辑器。✓ Kopiert
    → Clean HTML block ready for WeChat

Ergebnis: An article that looks good on WeChat without manual CSS fighting.

Fallstricke
  • Images break — WeChat requires re-uploaded images — Upload images in WeChat's media library first; skill leaves img placeholders

Build a reusable brand theme for every post

👤 公众号 teams wanting visual consistency ⏱ ~20 min intermediate

Wann einsetzen: You're about to post the 10th article and realize each one looks different.

Ablauf
  1. Define the theme
    用 wechat-article-formatter-skill 帮我定义品牌主题: 主色 #1A73E8,标题 PingFang,正文行距 1.8。✓ Kopiert
    → Saved theme file with all token defaults
  2. Apply across drafts
    对 drafts/ 里的所有文章应用这个主题。✓ Kopiert
    → Batch-formatted HTMLs

Ergebnis: Every post looks like it came from the same brand.

Kombinieren mit: filesystem

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

wechat-article-formatter-skill + filesystem

Batch-format a drafts/ folder

格式化 drafts/ 里的每一篇文章,输出到 formatted/。✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
format_article markdown, theme name Every article 0
save_theme theme spec Once per brand 0
preview_html html string Before pasting 0

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
None
Tokens pro Aufruf
Modest — text in, HTML out
Kosten in €
Free
Tipp
Save theme once; don't re-specify every article.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: None
Datenabfluss: None from skill

Fehlerbehebung

Häufige Fehler und Lösungen

Layout broken after paste into WeChat

WeChat stripped something; re-run with fallback inline styles

Images missing

Upload to WeChat media library and replace placeholders manually

Code blocks don't preserve language highlighting

WeChat doesn't support JS-based highlighters; skill bakes colors inline — verify the theme has them

Alternativen

wechat-article-formatter-skill vs. andere

AlternativeWann stattdessenKompromiss
md2wechat / wechat-format online toolsOne-off, no Claude integrationCan't batch; no customization via prompts
wechat-article-publisher-skillYou want to auto-publish, not just formatRequires WeChat API credentials

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen