wx-md-article

# WeChat Article Generator Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wx-md-article" with this command: npx skills add yangchao228/wx-md-article

WeChat Article Generator Skill

自动生成微信公众号文章并上传到草稿箱。

设计规范

色彩规范

  • 小标题: 绿色 #07c160,带左边框
  • 正文: 黑色 #333
  • 重点词: 加粗 <strong>,不使用额外颜色
  • 禁用: emoji、花里胡哨的背景色、多种颜色混用

排版规范

  • 简洁专业,避免过度设计
  • 列表使用 · 或数字,不使用 emoji
  • 引用居中斜体,不使用彩色背景
  • 标签统一绿色圆角

使用方法

# 生成文章并上传
./wechat-article.sh <input.md> <title> [author] [thumb_media_id]

# 示例
./wechat-article.sh article.md "文章标题" "超哥" --upload

支持的 Markdown 语法

# 一级标题 → 绿色小标题带边框
## 二级标题 → 加粗小标题
### 三级标题 → 普通加粗

- 列表项 → · 列表项
* 列表项 → · 列表项
1. 列表项 → 1. 列表项

> 引用 → 居中斜体引用框

**强调** → <strong>强调</strong>(黑色加粗)
*斜体* → <em>斜体</em>

普通段落 → 黑色正文

配置

config.json 中配置:

{
  "appid": "your_appid",
  "appsecret": "your_appsecret",
  "default_author": "超哥",
  "style": {
    "primary_color": "#07c160",
    "text_color": "#333"
  },
  "formatting_rules": {
    "use_emoji": false,
    "max_colors": 2
  }
}

文件结构

skills/wechat-article/
├── SKILL.md              # 本文件
├── wechat-article.sh     # 主脚本
├── template.html         # 文章模板(简洁版)
├── config.json           # 配置文件
└── lib/
    └── wechat-api.sh     # 微信API封装

依赖

  • curl
  • jq
  • sed/awk

版本

v1.1.0 - 更新为简洁专业风格,移除emoji,统一色彩

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Allergy

Take control of Allergy with this health & wellness toolkit. Clean interface, local storage, zero configuration.

Registry SourceRecently Updated
General

wps_office_auto_skill

本地办公自动化,支持文档生成与润色,合同审查,表格清洗与分析,PPT制作,PDF转换与批量处理。

Registry SourceRecently Updated
General

Encrypt

Encrypt - command-line tool for everyday use

Registry SourceRecently Updated
General

Succession Plan

继任计划。关键岗位识别、人才评估、发展路径、过渡方案、知识转移、紧急继任。Succession planning. 继任、人才管理。

Registry SourceRecently Updated