skills/jimliu/baoyu-post-to-wechat/SKILL.md
Post content to WeChat Official Account (微信公众号). Supports both article posting (文章) and image-text posting (图文).
npx skillsauth add aiskillstore/marketplace baoyu-post-to-wechatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Post content to WeChat Official Account using Chrome CDP automation.
Important: All scripts are located in the scripts/ subdirectory of this skill.
Agent Execution Instructions:
SKILL_DIR${SKILL_DIR}/scripts/<script-name>.ts${SKILL_DIR} in this document with the actual pathScript Reference:
| Script | Purpose |
|--------|---------|
| scripts/wechat-browser.ts | Image-text posts (图文) |
| scripts/wechat-article.ts | Full article posting (文章) |
| scripts/md-to-wechat.ts | Markdown → WeChat HTML conversion |
| scripts/copy-to-clipboard.ts | Copy content to clipboard |
| scripts/paste-from-clipboard.ts | Send real paste keystroke |
# From markdown file and image directory
npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --markdown article.md --images ./images/
# With explicit parameters
npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --title "标题" --content "内容" --image img1.png --image img2.png --submit
# Post markdown article
npx -y bun ${SKILL_DIR}/scripts/wechat-article.ts --markdown article.md --theme grace
Note:
${SKILL_DIR}represents this skill's installation directory. Agent replaces with actual path at runtime.
references/image-text-posting.md for detailed image-text posting guidereferences/article-posting.md for detailed article posting guidebun runtime (via npx -y bun)| Feature | Image-Text | Article | |---------|------------|---------| | Multiple images | ✓ (up to 9) | ✓ (inline) | | Markdown support | Title/content extraction | Full formatting | | Auto title compression | ✓ (to 20 chars) | ✗ | | Content compression | ✓ (to 1000 chars) | ✗ | | Themes | ✗ | ✓ (default, grace, simple) |
WECHAT_BROWSER_CHROME_PATH environment variabledevelopment
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.