/ ディレクトリ / プレイグラウンド / wechat-article-formatter-skill
● コミュニティ iamzifei ⚡ 即起動

wechat-article-formatter-skill

作者 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.

なぜ使うのか

主な機能

ライブデモ

実際の動作

wechat-article-formatter-skill.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/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
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.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 は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

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
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"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
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.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 はマップではなくサーバーオブジェクトの配列を使用。

~/.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"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

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

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: wechat-article-formatter-skill

Publish a technical article to 公众号 without formatting pain

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

使うタイミング: You wrote in Markdown and need to post to WeChat within 15 minutes.

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

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

注意点
  • 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

使うタイミング: You're about to post the 10th article and realize each one looks different.

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

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

組み合わせ: filesystem

組み合わせ

他のMCPと組み合わせて10倍の力を

wechat-article-formatter-skill + filesystem

Batch-format a drafts/ folder

格式化 drafts/ 里的每一篇文章,输出到 formatted/。✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
format_article markdown, theme name Every article 0
save_theme theme spec Once per brand 0
preview_html html string Before pasting 0

コストと制限

運用コスト

APIクォータ
None
呼び出しあたりのトークン
Modest — text in, HTML out
金額
Free
ヒント
Save theme once; don't re-specify every article.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: None
データ送信先: None from skill

トラブルシューティング

よくあるエラーと対処法

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

代替案

wechat-article-formatter-skill 他との比較

代替案代わりに使う場面トレードオフ
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

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る