wechat-mp-writer
Project-level workflow for turning GitHub repositories, URLs, local product materials, or markdown drafts into WeChat Official Account articles and draft-box submissions. Use when the user asks to wri
Files2
View on GitHubSKILL.mdarchives/user-installed-skills/wechat-mp-writer/a9387d9387f53103/wechat-mp-writer/SKILL.md
GitHubWeChat MP Writer
Use this skill as the project orchestrator. It adapts the Hermes workflow to Codex and this repository.
Local Resources
- Project workflow:
docs/github-to-wechat-codex-workflow.md - Content agent:
docs/content-agent/workflow.mdanddocs/content-agent/agent-prompt.md - Setup check:
tools/github-to-wechat/check-config.ps1 - GitHub intake:
tools/github-to-wechat/fetch-github-repo.ps1 - URL intake:
tools/github-to-wechat/url-to-markdown.ps1 - Publish wrapper:
tools/github-to-wechat/publish-markdown-to-wechat.ps1 - Project Skill configs:
.baoyu-skills/*/EXTEND.md - Visual direction:
wechat-visual-director
Workflow
- Run or mentally apply setup checks.
- If publishing is requested, run
tools/github-to-wechat/check-config.ps1. - If only writing is requested, do not block on the SSH key.
- Never print API keys or tokens.
- If publishing is requested, run
- Intake source material.
- For GitHub repositories, use
fetch-github-repo.ps1to save repo metadata, README, and a source ledger. - For generic pages, use
url-to-markdown.ps1. - For local files, list the provided files and cite paths.
- For GitHub repositories, use
- Establish evidence.
- Label claims as verified, reasonable inference, unverified, or do-not-publish.
- If evidence is insufficient, provide known facts, candidate hypotheses, verification paths, and temporary safe wording only.
- Draft the article.
- Follow the project content agent workflow.
- Use
wechat-title-strategistbefore locking the article title. - Keep the visible line: concrete pain -> product solution -> AI/technical judgment.
- Avoid traffic-first writing, generic AI-tool review tone, invented adoption claims, and unverified business impact.
- Plan visuals before generating.
- Use
wechat-visual-directorbefore any image-generation Skill. - Use
baoyu-cover-imageonly for the cover. - Use
baoyu-article-illustratorfor body visuals. - Prefer real screenshots for UI, CLI, repository evidence, and product states.
- Use Codex native image generation when available; do not route image work through another computer's Codex CLI.
- Save final prompts before generating images.
- Use
- Publish only when the user wants a real WeChat draft.
- Publish markdown, not pre-rendered HTML with base64 images.
- Use remote-api via project config.
- Personal subscription accounts can create drafts but require manual publish in WeChat backend.
Visual Direction
Do not make every image from the same cover template.
- Architecture or workflow: flowchart/framework.
- Business mechanism: editorial infographic/comparison.
- Release or project history: timeline.
- Product contrast: comparison matrix.
- Workplace pain: scene illustration.
- UI or repository proof: real screenshot.
Use mobile-readable body images, usually 3:4 or 4:3. Use 2.35:1 for covers.
Publishing Rules
- Use
.baoyu-skills/.envfor credentials and keep it ignored. - Use
baoyu-post-to-wechatthroughtools/github-to-wechat/publish-markdown-to-wechat.ps1. - Keep ordinary external links as bottom citations unless the user explicitly says otherwise.
- Do not use
--no-citeby default. - Do not claim publishing succeeded unless the command actually creates a draft and returns success.